WindowsConditionTemplate.json

{
    "if": {
    "anyOf": [
      {
        "field": "Microsoft.Compute/imagePublisher",
        "in": [
          "esri",
          "incredibuild",
          "MicrosoftDynamicsAX",
          "MicrosoftSharepoint",
          "MicrosoftVisualStudio",
          "MicrosoftWindowsDesktop",
          "MicrosoftWindowsServerHPCPack"
        ]
      },
      {
        "allOf": [
          {
            "field": "Microsoft.Compute/imagePublisher",
            "equals": "MicrosoftWindowsServer"
          },
          {
            "field": "Microsoft.Compute/imageSKU",
            "notLike": "2008*"
          }
        ]
      },
      {
        "allOf": [
          {
            "field": "Microsoft.Compute/imagePublisher",
            "equals": "MicrosoftSQLServer"
          },
          {
            "field": "Microsoft.Compute/imageSKU",
            "notEquals": "SQL2008R2SP3-WS2008R2SP1"
          }
        ]
      },
      {
        "allOf": [
          {
            "field": "Microsoft.Compute/imagePublisher",
            "equals": "microsoft-dsvm"
          },
          {
            "field": "Microsoft.Compute/imageOffer",
            "equals": "dsvm-windows"
          }
        ]
      },
      {
        "allOf": [
          {
            "field": "Microsoft.Compute/imagePublisher",
            "equals": "microsoft-ads"
          },
          {
            "field": "Microsoft.Compute/imageOffer",
            "in": [
              "standard-data-science-vm",
              "windows-data-science-vm"
            ]
          }
        ]
      },
      {
        "allOf": [
          {
            "field": "Microsoft.Compute/imagePublisher",
            "equals": "batch"
          },
          {
            "field": "Microsoft.Compute/imageOffer",
            "equals": "rendering-windows2016"
          }
        ]
      },
      {
        "allOf": [
          {
            "field": "Microsoft.Compute/imagePublisher",
            "equals": "center-for-internet-security-inc"
          },
          {
            "field": "Microsoft.Compute/imageOffer",
            "like": "cis-windows-server-201*"
          }
        ]
      },
      {
        "allOf": [
          {
            "field": "Microsoft.Compute/imagePublisher",
            "equals": "pivotal"
          },
          {
            "field": "Microsoft.Compute/imageOffer",
            "like": "bosh-windows-server*"
          }
        ]
      },
      {
        "allOf": [
          {
            "field": "Microsoft.Compute/imagePublisher",
            "equals": "cloud-infrastructure-services"
          },
          {
            "field": "Microsoft.Compute/imageOffer",
            "like": "ad*"
          }
        ]
      }
    ]
  }
}