{
   "properties": {
     "displayName": "SQL databases should be zone redundant",     
     "description": "Audit if SQL databases are not configured to be zone redundant",
     "mode": "All",
     "metadata": {
       "category": "SQL"      
     },
     "parameters": {            
     },
     "policyRule": {
       "if": {
        "allOf": [
          {
            "field": "type",
            "equals": "Microsoft.SQL/servers/databases"
          },
          {
            "field": "name",
            "notEquals": "master"
          },
          {
            "field": "Microsoft.Sql/servers/databases/zoneRedundant",
            "notEquals": "true"
          }
        ]
       },
       "then": {
         "effect": "Audit"
       }
     }   
  }
}