{
  "if": {
    "allOf": [
      {
        "field": "type",
        "equals": "Microsoft.Web/sites"
      },
      {
        "not": {
          "field": "Microsoft.Web/sites/httpsOnly",
          "equals": "true"
        }
      }
    ]
  },
  "then": {
    "effect": "deny"
  }
}