Azure / azure-resource-manager-schemas

Schemas used to author and validate Resource Manager Templates. These schemas power the intellisense and syntax completion in our ARM Tools VSCode extension, as well as the Export Template API
MIT License
609 stars 516 forks source link

Latest schema for Microsoft.Sql/servers is missing #3019

Open gb-intive opened 6 months ago

gb-intive commented 6 months ago

ARM template

{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "resources": [
        {
            "name": "sqlServer1",
            "type": "Microsoft.Sql/servers",
            "apiVersion": "2023-05-01-preview",
            "location": "[resourceGroup().location]"

        }
    ]
}

Schema error: For full schema validation, consider updating the value to one of the following: "2014-04-01", "2015-05-01-preview", "2019-06-01-preview", "2020-02-02-preview", "2020-08-01-preview", "2020-11-01-preview", "2021-02-01-preview", "2021-05-01-preview", "2021-08-01-preview", "2021-11-01", "2021-11-01-preview", "2022-02-01-preview", "2022-05-01-preview", "2022-08-01-preview", "2022-11-01-preview". It is possible that the current resource version is valid but that a schema has not been generated. For more information see https://aka.ms/arm-tools-apiversion.