{
    "properties": {
       "displayName": "Audit SQL DB without Hybrid Licensing",
       "description": "Generate audit record if SQL DB is not configured for hybrid license",
       "parameters": {},
       "policyRule": {
        "if": {
            "allOf": [
              {
                "field": "type",
                "equals": "Microsoft.SQL/servers/databases"
              },
              {
                "field": "kind",
                "contains": "vcore"
              },
              {
                "field": "Microsoft.Sql/servers/databases/licenseType",
                "notEquals": "BasePrice"
              }
            ]
          },
          "then": {
            "effect": "audit"
          }
       }
    }
 }