diff --git a/schemas/2015-11-01/Microsoft.Resources.json b/schemas/2015-11-01/Microsoft.Resources.json deleted file mode 100644 index 406b159134..0000000000 --- a/schemas/2015-11-01/Microsoft.Resources.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2015-11-01/Microsoft.Resources.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-11-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "definitions": { - "DeploymentProperties": { - "type": "object", - "properties": { - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Incremental", - "Complete" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the deployment mode." - }, - "parameters": { - "type": "object", - "properties": {}, - "description": "Deployment parameters. Use only one of Parameters or ParametersLink." - }, - "parametersLink": { - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "template": { - "type": "object", - "properties": {}, - "description": "Gets or sets the template content. Use only one of Template or TemplateLink." - }, - "templateLink": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the template." - } - }, - "description": "Deployment properties." - }, - "ParametersLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included it must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "URI referencing the template." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "TemplateLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included it must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "URI referencing the template." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the template." - } - } -} \ No newline at end of file diff --git a/schemas/2016-02-01/Microsoft.Resources.json b/schemas/2016-02-01/Microsoft.Resources.json deleted file mode 100644 index 1a2419f011..0000000000 --- a/schemas/2016-02-01/Microsoft.Resources.json +++ /dev/null @@ -1,158 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2016-02-01/Microsoft.Resources.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-02-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "definitions": { - "DebugSetting": { - "type": "object", - "properties": { - "detailLevel": { - "type": "string", - "description": "The debug detail level." - } - } - }, - "DeploymentProperties": { - "type": "object", - "properties": { - "debugSetting": { - "oneOf": [ - { - "$ref": "#/definitions/DebugSetting" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Incremental", - "Complete" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The deployment mode." - }, - "parameters": { - "type": "object", - "properties": {}, - "description": "Deployment parameters. It can be a JObject or a well formed JSON string. Use only one of Parameters or ParametersLink." - }, - "parametersLink": { - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "template": { - "type": "object", - "properties": {}, - "description": "The template content. It can be a JObject or a well formed JSON string. Use only one of Template or TemplateLink." - }, - "templateLink": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the template." - } - }, - "required": [ - "mode" - ], - "description": "Deployment properties." - }, - "ParametersLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included it must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "URI referencing the template." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "TemplateLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included it must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "URI referencing the template." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the template." - } - } -} \ No newline at end of file diff --git a/schemas/2016-07-01/Microsoft.Resources.json b/schemas/2016-07-01/Microsoft.Resources.json deleted file mode 100644 index 17b4f23270..0000000000 --- a/schemas/2016-07-01/Microsoft.Resources.json +++ /dev/null @@ -1,158 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2016-07-01/Microsoft.Resources.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-07-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "definitions": { - "DebugSetting": { - "type": "object", - "properties": { - "detailLevel": { - "type": "string", - "description": "The debug detail level." - } - } - }, - "DeploymentProperties": { - "type": "object", - "properties": { - "debugSetting": { - "oneOf": [ - { - "$ref": "#/definitions/DebugSetting" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Incremental", - "Complete" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The deployment mode." - }, - "parameters": { - "type": "object", - "properties": {}, - "description": "Deployment parameters. It can be a JObject or a well formed JSON string. Use only one of Parameters or ParametersLink." - }, - "parametersLink": { - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "template": { - "type": "object", - "properties": {}, - "description": "The template content. It can be a JObject or a well formed JSON string. Use only one of Template or TemplateLink." - }, - "templateLink": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the template." - } - }, - "required": [ - "mode" - ], - "description": "Deployment properties." - }, - "ParametersLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included it must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "URI referencing the template." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "TemplateLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included it must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "URI referencing the template." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the template." - } - } -} \ No newline at end of file diff --git a/schemas/2016-09-01/Microsoft.Resources.json b/schemas/2016-09-01/Microsoft.Resources.json deleted file mode 100644 index 31de15cc8d..0000000000 --- a/schemas/2016-09-01/Microsoft.Resources.json +++ /dev/null @@ -1,168 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2016-09-01/Microsoft.Resources.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-09-01" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "definitions": { - "DebugSetting": { - "type": "object", - "properties": { - "detailLevel": { - "type": "string", - "description": "Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations." - } - } - }, - "DeploymentProperties": { - "type": "object", - "properties": { - "debugSetting": { - "oneOf": [ - { - "$ref": "#/definitions/DebugSetting" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Incremental", - "Complete" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources." - }, - "parameters": { - "type": "object", - "properties": {}, - "description": "Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string." - }, - "parametersLink": { - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "template": { - "type": "object", - "properties": {}, - "description": "The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both." - }, - "templateLink": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the template." - } - }, - "required": [ - "mode" - ], - "description": "Deployment properties." - }, - "ParametersLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "The URI of the parameters file." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "TemplateLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "The URI of the template to deploy." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the template." - } - } -} \ No newline at end of file diff --git a/schemas/2017-05-10/Microsoft.Resources.json b/schemas/2017-05-10/Microsoft.Resources.json deleted file mode 100644 index 3ae4dfe7f8..0000000000 --- a/schemas/2017-05-10/Microsoft.Resources.json +++ /dev/null @@ -1,174 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2017-05-10/Microsoft.Resources.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-05-10" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "definitions": { - "DebugSetting": { - "type": "object", - "properties": { - "detailLevel": { - "type": "string", - "description": "Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations." - } - } - }, - "DeploymentProperties": { - "type": "object", - "properties": { - "debugSetting": { - "oneOf": [ - { - "$ref": "#/definitions/DebugSetting" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Incremental", - "Complete" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources." - }, - "parameters": { - "type": "object", - "properties": {}, - "description": "Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string." - }, - "parametersLink": { - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "template": { - "type": "object", - "properties": {}, - "description": "The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both." - }, - "templateLink": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the template." - } - }, - "required": [ - "mode" - ], - "description": "Deployment properties." - }, - "ParametersLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "The URI of the parameters file." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "TemplateLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "The URI of the template to deploy." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the template." - } - } -} \ No newline at end of file diff --git a/schemas/2018-02-01/Microsoft.Resources.json b/schemas/2018-02-01/Microsoft.Resources.json deleted file mode 100644 index 7ba72fdd5a..0000000000 --- a/schemas/2018-02-01/Microsoft.Resources.json +++ /dev/null @@ -1,210 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-02-01/Microsoft.Resources.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-02-01" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "definitions": { - "DebugSetting": { - "type": "object", - "properties": { - "detailLevel": { - "type": "string", - "description": "Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations." - } - } - }, - "DeploymentProperties": { - "type": "object", - "properties": { - "debugSetting": { - "oneOf": [ - { - "$ref": "#/definitions/DebugSetting" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Incremental", - "Complete" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources." - }, - "onErrorDeployment": { - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment on error behavior." - }, - "parameters": { - "type": "object", - "properties": {}, - "description": "Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string." - }, - "parametersLink": { - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "template": { - "type": "object", - "properties": {}, - "description": "The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both." - }, - "templateLink": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the template." - } - }, - "required": [ - "mode" - ], - "description": "Deployment properties." - }, - "OnErrorDeployment": { - "type": "object", - "properties": { - "deploymentName": { - "type": "string", - "description": "The deployment to be used on error case." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment." - } - }, - "description": "Deployment on error behavior." - }, - "ParametersLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "The URI of the parameters file." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "TemplateLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "The URI of the template to deploy." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the template." - } - } -} \ No newline at end of file diff --git a/schemas/2018-05-01/Microsoft.Resources.json b/schemas/2018-05-01/Microsoft.Resources.json deleted file mode 100644 index 128c265d07..0000000000 --- a/schemas/2018-05-01/Microsoft.Resources.json +++ /dev/null @@ -1,334 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Resources.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-05-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "subscription_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-05-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - }, - "resourceGroups": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90, - "description": "the resource group name" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/resourceGroups" - ] - }, - "apiVersion": { - "type": "string", - "enum": [ - "2018-05-01" - ] - }, - "location": { - "type": "string", - "description": "the resource group location" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource group tags." - } - }, - "required": [ - "name", - "type", - "apiVersion", - "location" - ], - "description": "Microsoft.Resources/resourceGroups" - } - }, - "definitions": { - "DebugSetting": { - "type": "object", - "properties": { - "detailLevel": { - "type": "string", - "description": "Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations." - } - } - }, - "DeploymentProperties": { - "type": "object", - "properties": { - "debugSetting": { - "oneOf": [ - { - "$ref": "#/definitions/DebugSetting" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Incremental", - "Complete" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources." - }, - "onErrorDeployment": { - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment on error behavior." - }, - "parameters": { - "type": "object", - "properties": {}, - "description": "Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string." - }, - "parametersLink": { - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "template": { - "type": "object", - "properties": {}, - "description": "The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both." - }, - "templateLink": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the template." - } - }, - "required": [ - "mode" - ], - "description": "Deployment properties." - }, - "OnErrorDeployment": { - "type": "object", - "properties": { - "deploymentName": { - "type": "string", - "description": "The deployment to be used on error case." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment." - } - }, - "description": "Deployment on error behavior." - }, - "ParametersLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "The URI of the parameters file." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "TemplateLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "The URI of the template to deploy." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the template." - } - } -} \ No newline at end of file diff --git a/schemas/2018-05-01/subscriptionDeploymentTemplate.json b/schemas/2018-05-01/subscriptionDeploymentTemplate.json index c78e27d3d8..bedea005f6 100644 --- a/schemas/2018-05-01/subscriptionDeploymentTemplate.json +++ b/schemas/2018-05-01/subscriptionDeploymentTemplate.json @@ -1133,108 +1133,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.ProviderHub.json#/subscription_resourceDefinitions/providerRegistrations_resourcetypeRegistrations_skus" }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Resources.json#/subscription_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Resources.json#/subscription_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-05-01/Microsoft.Resources.json#/subscription_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-05-01/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-05-10/Microsoft.Resources.json#/subscription_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-05-10/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-06-01-preview/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Resources.json#/subscription_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.Resources.json#/subscription_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Resources.json#/subscription_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Resources.json#/subscription_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-01/Microsoft.Resources.json#/subscription_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-01/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.Resources.json#/subscription_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Resources.json#/subscription_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Resources.json#/subscription_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-01/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, { "$ref": "https://schema.management.azure.com/schemas/2015-06-01-preview/Microsoft.Security.json#/subscription_resourceDefinitions/locations_applicationWhitelistings" }, diff --git a/schemas/2019-03-01/Microsoft.Resources.json b/schemas/2019-03-01/Microsoft.Resources.json deleted file mode 100644 index 1b58f7648c..0000000000 --- a/schemas/2019-03-01/Microsoft.Resources.json +++ /dev/null @@ -1,334 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Resources.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "subscription_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - }, - "resourceGroups": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90, - "description": "the resource group name" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/resourceGroups" - ] - }, - "apiVersion": { - "type": "string", - "enum": [ - "2019-03-01" - ] - }, - "location": { - "type": "string", - "description": "the resource group location" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource group tags." - } - }, - "required": [ - "name", - "type", - "apiVersion", - "location" - ], - "description": "Microsoft.Resources/resourceGroups" - } - }, - "definitions": { - "DebugSetting": { - "type": "object", - "properties": { - "detailLevel": { - "type": "string", - "description": "Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations." - } - } - }, - "DeploymentProperties": { - "type": "object", - "properties": { - "debugSetting": { - "oneOf": [ - { - "$ref": "#/definitions/DebugSetting" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Incremental", - "Complete" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources." - }, - "onErrorDeployment": { - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment on error behavior." - }, - "parameters": { - "type": "object", - "properties": {}, - "description": "Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string." - }, - "parametersLink": { - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "template": { - "type": "object", - "properties": {}, - "description": "The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both." - }, - "templateLink": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the template." - } - }, - "required": [ - "mode" - ], - "description": "Deployment properties." - }, - "OnErrorDeployment": { - "type": "object", - "properties": { - "deploymentName": { - "type": "string", - "description": "The deployment to be used on error case." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment." - } - }, - "description": "Deployment on error behavior." - }, - "ParametersLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "The URI of the parameters file." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "TemplateLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "The URI of the template to deploy." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the template." - } - } -} \ No newline at end of file diff --git a/schemas/2019-05-01/Microsoft.Resources.json b/schemas/2019-05-01/Microsoft.Resources.json deleted file mode 100644 index 274e122a63..0000000000 --- a/schemas/2019-05-01/Microsoft.Resources.json +++ /dev/null @@ -1,395 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-05-01/Microsoft.Resources.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-05-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "subscription_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-05-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - }, - "resourceGroups": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90, - "description": "the resource group name" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/resourceGroups" - ] - }, - "apiVersion": { - "type": "string", - "enum": [ - "2019-05-01" - ] - }, - "location": { - "type": "string", - "description": "the resource group location" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource group tags." - } - }, - "required": [ - "name", - "type", - "apiVersion", - "location" - ], - "description": "Microsoft.Resources/resourceGroups" - } - }, - "managementGroup_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-05-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "definitions": { - "DebugSetting": { - "type": "object", - "properties": { - "detailLevel": { - "type": "string", - "description": "Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations." - } - }, - "description": "The debug setting." - }, - "DeploymentProperties": { - "type": "object", - "properties": { - "debugSetting": { - "oneOf": [ - { - "$ref": "#/definitions/DebugSetting" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The debug setting." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Incremental", - "Complete" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources." - }, - "onErrorDeployment": { - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment on error behavior." - }, - "parameters": { - "type": "object", - "properties": {}, - "description": "Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string." - }, - "parametersLink": { - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "template": { - "type": "object", - "properties": {}, - "description": "The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both." - }, - "templateLink": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the template." - } - }, - "required": [ - "mode" - ], - "description": "Deployment properties." - }, - "OnErrorDeployment": { - "type": "object", - "properties": { - "deploymentName": { - "type": "string", - "description": "The deployment to be used on error case." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment." - } - }, - "description": "Deployment on error behavior." - }, - "ParametersLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "The URI of the parameters file." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "TemplateLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "The URI of the template to deploy." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the template." - } - } -} \ No newline at end of file diff --git a/schemas/2019-05-10/Microsoft.Resources.json b/schemas/2019-05-10/Microsoft.Resources.json deleted file mode 100644 index 2a40e6ae10..0000000000 --- a/schemas/2019-05-10/Microsoft.Resources.json +++ /dev/null @@ -1,395 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-05-10/Microsoft.Resources.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-05-10" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "subscription_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-05-10" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - }, - "resourceGroups": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90, - "description": "the resource group name" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/resourceGroups" - ] - }, - "apiVersion": { - "type": "string", - "enum": [ - "2019-05-10" - ] - }, - "location": { - "type": "string", - "description": "the resource group location" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource group tags." - } - }, - "required": [ - "name", - "type", - "apiVersion", - "location" - ], - "description": "Microsoft.Resources/resourceGroups" - } - }, - "managementGroup_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-05-10" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "definitions": { - "DebugSetting": { - "type": "object", - "properties": { - "detailLevel": { - "type": "string", - "description": "Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations." - } - }, - "description": "The debug setting." - }, - "DeploymentProperties": { - "type": "object", - "properties": { - "debugSetting": { - "oneOf": [ - { - "$ref": "#/definitions/DebugSetting" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The debug setting." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Incremental", - "Complete" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources." - }, - "onErrorDeployment": { - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment on error behavior." - }, - "parameters": { - "type": "object", - "properties": {}, - "description": "Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string." - }, - "parametersLink": { - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "template": { - "type": "object", - "properties": {}, - "description": "The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both." - }, - "templateLink": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the template." - } - }, - "required": [ - "mode" - ], - "description": "Deployment properties." - }, - "OnErrorDeployment": { - "type": "object", - "properties": { - "deploymentName": { - "type": "string", - "description": "The deployment to be used on error case." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment." - } - }, - "description": "Deployment on error behavior." - }, - "ParametersLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "The URI of the parameters file." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "TemplateLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "The URI of the template to deploy." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the template." - } - } -} \ No newline at end of file diff --git a/schemas/2019-06-01-preview/Microsoft.Resources.json b/schemas/2019-06-01-preview/Microsoft.Resources.json deleted file mode 100644 index 6ff3304078..0000000000 --- a/schemas/2019-06-01-preview/Microsoft.Resources.json +++ /dev/null @@ -1,369 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-06-01-preview/Microsoft.Resources.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "resourceDefinitions": { - "templateSpecs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-06-01-preview" - ] - }, - "location": { - "type": "string", - "description": "The location of the Template Spec. It cannot be changed after Template Spec creation. It must be one of the supported Azure locations." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Name of the Template Spec." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateSpecProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Template Spec properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/templateSpecs_versions_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/templateSpecs" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/templateSpecs" - }, - "templateSpecs_versions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-06-01-preview" - ] - }, - "location": { - "type": "string", - "description": "The location of the Template Spec Version. It must match the location of the parent Template Spec." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The version of the Template Spec." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateSpecVersionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Template Spec Version properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/templateSpecs/versions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/templateSpecs/versions" - } - }, - "definitions": { - "TemplateSpecArtifact": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/TemplateSpecTemplateArtifact" - } - ], - "properties": { - "path": { - "type": "string", - "description": "A filesystem safe relative path of the artifact." - } - }, - "required": [ - "path" - ], - "description": "Represents a Template Spec artifact." - }, - "TemplateSpecProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "maxLength": 4096, - "description": "Template Spec description." - }, - "displayName": { - "type": "string", - "maxLength": 64, - "description": "Template Spec display name." - } - }, - "description": "Template Spec properties." - }, - "templateSpecs_versions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-06-01-preview" - ] - }, - "location": { - "type": "string", - "description": "The location of the Template Spec Version. It must match the location of the parent Template Spec." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The version of the Template Spec." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateSpecVersionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Template Spec Version properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "versions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/templateSpecs/versions" - }, - "TemplateSpecTemplateArtifact": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "template" - ] - }, - "template": { - "type": "object", - "properties": {}, - "description": "The Azure Resource Manager template." - } - }, - "required": [ - "kind", - "template" - ], - "description": "Represents a Template Spec artifact containing an embedded Azure Resource Manager template." - }, - "TemplateSpecVersionProperties": { - "type": "object", - "properties": { - "artifacts": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/TemplateSpecArtifact" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array of Template Spec artifacts." - }, - "description": { - "type": "string", - "maxLength": 4096, - "description": "Template Spec version description." - }, - "template": { - "type": "object", - "properties": {}, - "description": "The Azure Resource Manager template content." - } - }, - "description": "Template Spec Version properties." - } - }, - "subscription_resourceDefinitions": { - "resourceGroups": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90, - "description": "the resource group name" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/resourceGroups" - ] - }, - "apiVersion": { - "type": "string", - "enum": [ - "2019-06-01-preview" - ] - }, - "location": { - "type": "string", - "description": "the resource group location" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource group tags." - } - }, - "required": [ - "name", - "type", - "apiVersion", - "location" - ], - "description": "Microsoft.Resources/resourceGroups" - } - } -} \ No newline at end of file diff --git a/schemas/2019-07-01/Microsoft.Resources.json b/schemas/2019-07-01/Microsoft.Resources.json deleted file mode 100644 index 09e3eaef86..0000000000 --- a/schemas/2019-07-01/Microsoft.Resources.json +++ /dev/null @@ -1,509 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Resources.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-07-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "subscription_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-07-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - }, - "resourceGroups": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90, - "description": "the resource group name" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/resourceGroups" - ] - }, - "apiVersion": { - "type": "string", - "enum": [ - "2019-07-01" - ] - }, - "location": { - "type": "string", - "description": "the resource group location" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource group tags." - } - }, - "required": [ - "name", - "type", - "apiVersion", - "location" - ], - "description": "Microsoft.Resources/resourceGroups" - } - }, - "managementGroup_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-07-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "tenant_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-07-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "unknown_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-07-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "definitions": { - "DebugSetting": { - "type": "object", - "properties": { - "detailLevel": { - "type": "string", - "description": "Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations." - } - }, - "description": "The debug setting." - }, - "DeploymentProperties": { - "type": "object", - "properties": { - "debugSetting": { - "oneOf": [ - { - "$ref": "#/definitions/DebugSetting" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The debug setting." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Incremental", - "Complete" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources." - }, - "onErrorDeployment": { - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment on error behavior." - }, - "parameters": { - "type": "object", - "properties": {}, - "description": "Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string." - }, - "parametersLink": { - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "template": { - "type": "object", - "properties": {}, - "description": "The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both." - }, - "templateLink": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the template." - } - }, - "required": [ - "mode" - ], - "description": "Deployment properties." - }, - "OnErrorDeployment": { - "type": "object", - "properties": { - "deploymentName": { - "type": "string", - "description": "The deployment to be used on error case." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment." - } - }, - "description": "Deployment on error behavior." - }, - "ParametersLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "The URI of the parameters file." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "TemplateLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "The URI of the template to deploy." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the template." - } - } -} \ No newline at end of file diff --git a/schemas/2019-08-01/Microsoft.Resources.json b/schemas/2019-08-01/Microsoft.Resources.json deleted file mode 100644 index 52066bc23a..0000000000 --- a/schemas/2019-08-01/Microsoft.Resources.json +++ /dev/null @@ -1,511 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.Resources.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "subscription_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - }, - "resourceGroups": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90, - "description": "the resource group name" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/resourceGroups" - ] - }, - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "the resource group location" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource group tags." - } - }, - "required": [ - "name", - "type", - "apiVersion", - "location" - ], - "description": "Microsoft.Resources/resourceGroups" - } - }, - "managementGroup_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "tenant_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "unknown_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "definitions": { - "DebugSetting": { - "type": "object", - "properties": { - "detailLevel": { - "type": "string", - "description": "Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations." - } - }, - "description": "The debug setting." - }, - "DeploymentProperties": { - "type": "object", - "properties": { - "debugSetting": { - "oneOf": [ - { - "$ref": "#/definitions/DebugSetting" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The debug setting." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Incremental", - "Complete" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources." - }, - "onErrorDeployment": { - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment on error behavior." - }, - "parameters": { - "type": "object", - "properties": {}, - "description": "Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string." - }, - "parametersLink": { - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "template": { - "type": "object", - "properties": {}, - "description": "The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both." - }, - "templateLink": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the template." - } - }, - "required": [ - "mode" - ], - "description": "Deployment properties." - }, - "OnErrorDeployment": { - "type": "object", - "properties": { - "deploymentName": { - "type": "string", - "description": "The deployment to be used on error case." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment." - } - }, - "description": "Deployment on error behavior." - }, - "ParametersLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "The URI of the parameters file." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "TemplateLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "The URI of the template to deploy." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the template." - } - } -} \ No newline at end of file diff --git a/schemas/2019-08-01/managementGroupDeploymentTemplate.json b/schemas/2019-08-01/managementGroupDeploymentTemplate.json index ddc3b5b37f..e312f355fa 100644 --- a/schemas/2019-08-01/managementGroupDeploymentTemplate.json +++ b/schemas/2019-08-01/managementGroupDeploymentTemplate.json @@ -734,54 +734,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.PolicyInsights.json#/unknown_resourceDefinitions/remediations" }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-05-01/Microsoft.Resources.json#/managementGroup_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-05-10/Microsoft.Resources.json#/managementGroup_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Resources.json#/managementGroup_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.Resources.json#/managementGroup_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Resources.json#/managementGroup_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Resources.json#/managementGroup_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-01/Microsoft.Resources.json#/managementGroup_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.Resources.json#/managementGroup_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Resources.json#/managementGroup_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Resources.json#/managementGroup_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags" - }, { "$ref": "https://schema.management.azure.com/schemas/2017-08-01-preview/Microsoft.Security.json#/unknown_resourceDefinitions/informationProtectionPolicies" } diff --git a/schemas/2019-08-01/tenantDeploymentTemplate.json b/schemas/2019-08-01/tenantDeploymentTemplate.json index 8aef504f29..9331eebdd6 100644 --- a/schemas/2019-08-01/tenantDeploymentTemplate.json +++ b/schemas/2019-08-01/tenantDeploymentTemplate.json @@ -787,30 +787,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-09-01-preview/Microsoft.Portal.json#/tenant_resourceDefinitions/tenantConfigurations" }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Resources.json#/tenant_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.Resources.json#/tenant_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Resources.json#/tenant_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Resources.json#/tenant_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-01/Microsoft.Resources.json#/tenant_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.Resources.json#/tenant_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Resources.json#/tenant_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Resources.json#/tenant_resourceDefinitions/deployments" - }, { "$ref": "https://schema.management.azure.com/schemas/2017-11-01-preview/Microsoft.Subscription.json#/tenant_resourceDefinitions/subscriptionDefinitions" }, diff --git a/schemas/2019-10-01-preview/Microsoft.Resources.json b/schemas/2019-10-01-preview/Microsoft.Resources.json deleted file mode 100644 index 5f929a6470..0000000000 --- a/schemas/2019-10-01-preview/Microsoft.Resources.json +++ /dev/null @@ -1,493 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Resources.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "resourceDefinitions": { - "deploymentScripts": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/AzurePowerShellScript" - }, - { - "$ref": "#/definitions/AzureCliScript" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Managed identity generic object." - }, - "location": { - "type": "string", - "description": "The location of the ACI and the storage account for the deployment script." - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 90, - "description": "Name of the deployment script." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deploymentScripts" - ] - } - }, - "required": [ - "apiVersion", - "identity", - "location", - "name", - "type" - ], - "description": "Microsoft.Resources/deploymentScripts" - } - }, - "definitions": { - "AzureCliScript": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "AzureCLI" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzureCliScriptProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the Azure CLI script object." - } - }, - "required": [ - "kind", - "properties" - ], - "description": "Object model for the Azure CLI script." - }, - "AzureCliScriptProperties": { - "type": "object", - "properties": { - "arguments": { - "type": "string", - "description": "Command line arguments to pass to the script. Arguments are separated by spaces. ex: -Name blue* -Location 'West US 2' " - }, - "azCliVersion": { - "type": "string", - "description": "Azure CLI module version to be used." - }, - "cleanupPreference": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Always", - "OnSuccess", - "OnExpiration" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The clean up preference when the script execution gets in a terminal state. Default setting is 'Always'." - }, - "containerSettings": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Settings to customize ACI container instance." - }, - "environmentVariables": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/EnvironmentVariable" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The environment variables to pass over to the script." - }, - "forceUpdateTag": { - "type": "string", - "description": "Gets or sets how the deployment script should be forced to execute even if the script resource has not changed. Can be current time stamp or a GUID." - }, - "primaryScriptUri": { - "type": "string", - "description": "Uri for the script. This is the entry point for the external script." - }, - "retentionInterval": { - "type": "string", - "format": "duration", - "description": "Interval for which the service retains the script resource after it reaches a terminal state. Resource will be deleted when this duration expires. Duration is based on ISO 8601 pattern (for example P1D means one day)." - }, - "scriptContent": { - "type": "string", - "maxLength": 32000, - "description": "Script body." - }, - "storageAccountSettings": { - "oneOf": [ - { - "$ref": "#/definitions/StorageAccountConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Settings to use an existing storage account. Valid storage account kinds are: Storage, StorageV2 and FileStorage" - }, - "supportingScriptUris": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Supporting files for the external script." - }, - "timeout": { - "type": "string", - "default": "P1D", - "format": "duration", - "description": "Maximum allowed script execution time specified in ISO 8601 format. Default value is P1D" - } - }, - "required": [ - "azCliVersion", - "retentionInterval" - ], - "description": "Properties of the Azure CLI script object." - }, - "AzurePowerShellScript": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "AzurePowerShell" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzurePowerShellScriptProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the Azure PowerShell script object." - } - }, - "required": [ - "kind", - "properties" - ], - "description": "Object model for the Azure PowerShell script." - }, - "AzurePowerShellScriptProperties": { - "type": "object", - "properties": { - "arguments": { - "type": "string", - "description": "Command line arguments to pass to the script. Arguments are separated by spaces. ex: -Name blue* -Location 'West US 2' " - }, - "azPowerShellVersion": { - "type": "string", - "description": "Azure PowerShell module version to be used." - }, - "cleanupPreference": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Always", - "OnSuccess", - "OnExpiration" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The clean up preference when the script execution gets in a terminal state. Default setting is 'Always'." - }, - "containerSettings": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Settings to customize ACI container instance." - }, - "environmentVariables": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/EnvironmentVariable" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The environment variables to pass over to the script." - }, - "forceUpdateTag": { - "type": "string", - "description": "Gets or sets how the deployment script should be forced to execute even if the script resource has not changed. Can be current time stamp or a GUID." - }, - "primaryScriptUri": { - "type": "string", - "description": "Uri for the script. This is the entry point for the external script." - }, - "retentionInterval": { - "type": "string", - "format": "duration", - "description": "Interval for which the service retains the script resource after it reaches a terminal state. Resource will be deleted when this duration expires. Duration is based on ISO 8601 pattern (for example P1D means one day)." - }, - "scriptContent": { - "type": "string", - "maxLength": 32000, - "description": "Script body." - }, - "storageAccountSettings": { - "oneOf": [ - { - "$ref": "#/definitions/StorageAccountConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Settings to use an existing storage account. Valid storage account kinds are: Storage, StorageV2 and FileStorage" - }, - "supportingScriptUris": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Supporting files for the external script." - }, - "timeout": { - "type": "string", - "default": "P1D", - "format": "duration", - "description": "Maximum allowed script execution time specified in ISO 8601 format. Default value is P1D" - } - }, - "required": [ - "azPowerShellVersion", - "retentionInterval" - ], - "description": "Properties of the Azure PowerShell script object." - }, - "ContainerConfiguration": { - "type": "object", - "properties": { - "containerGroupName": { - "type": "string", - "minLength": 1, - "maxLength": 63, - "description": "Container group name, if not specified then the name will get auto-generated. Not specifying a 'containerGroupName' indicates the system to generate a unique name which might end up flagging an Azure Policy as non-compliant. Use 'containerGroupName' when you have an Azure Policy that expects a specific naming convention or when you want to fully control the name. 'containerGroupName' property must be between 1 and 63 characters long, must contain only lowercase letters, numbers, and dashes and it cannot start or end with a dash and consecutive dashes are not allowed. To specify a 'containerGroupName', add the following object to properties: { \"containerSettings\": { \"containerGroupName\": \"contoso-container\" } }. If you do not want to specify a 'containerGroupName' then do not add 'containerSettings' property." - } - }, - "description": "Settings to customize ACI container instance." - }, - "EnvironmentVariable": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the environment variable." - }, - "secureValue": { - "type": "string", - "description": "The value of the secure environment variable." - }, - "value": { - "type": "string", - "description": "The value of the environment variable." - } - }, - "required": [ - "name" - ], - "description": "The environment variable to pass to the script in the container instance." - }, - "ManagedServiceIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Type of the managed identity." - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentity" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity." - } - }, - "description": "Managed identity generic object." - }, - "StorageAccountConfiguration": { - "type": "object", - "properties": { - "storageAccountKey": { - "type": "string", - "description": "The storage account access key." - }, - "storageAccountName": { - "type": "string", - "description": "The storage account name." - } - }, - "description": "Settings to use an existing storage account. Valid storage account kinds are: Storage, StorageV2 and FileStorage" - }, - "UserAssignedIdentity": { - "type": "object", - "properties": {}, - "description": "User-assigned managed identity." - } - }, - "subscription_resourceDefinitions": { - "resourceGroups": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90, - "description": "the resource group name" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/resourceGroups" - ] - }, - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "location": { - "type": "string", - "description": "the resource group location" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource group tags." - } - }, - "required": [ - "name", - "type", - "apiVersion", - "location" - ], - "description": "Microsoft.Resources/resourceGroups" - } - } -} \ No newline at end of file diff --git a/schemas/2019-10-01/Microsoft.Resources.json b/schemas/2019-10-01/Microsoft.Resources.json deleted file mode 100644 index 4828bdda88..0000000000 --- a/schemas/2019-10-01/Microsoft.Resources.json +++ /dev/null @@ -1,647 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Resources.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "subscription_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - }, - "resourceGroups": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90, - "description": "the resource group name" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/resourceGroups" - ] - }, - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "location": { - "type": "string", - "description": "the resource group location" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource group tags." - } - }, - "required": [ - "name", - "type", - "apiVersion", - "location" - ], - "description": "Microsoft.Resources/resourceGroups" - } - }, - "managementGroup_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "tenant_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "unknown_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - }, - "tags": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/Tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A dictionary of name and value pairs." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/tags" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/tags" - } - }, - "definitions": { - "DebugSetting": { - "type": "object", - "properties": { - "detailLevel": { - "type": "string", - "description": "Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations." - } - }, - "description": "The debug setting." - }, - "DeploymentProperties": { - "type": "object", - "properties": { - "debugSetting": { - "oneOf": [ - { - "$ref": "#/definitions/DebugSetting" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The debug setting." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Incremental", - "Complete" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources." - }, - "onErrorDeployment": { - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment on error behavior." - }, - "parameters": { - "type": "object", - "properties": {}, - "description": "Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string." - }, - "parametersLink": { - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "template": { - "type": "object", - "properties": {}, - "description": "The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both." - }, - "templateLink": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the template." - } - }, - "required": [ - "mode" - ], - "description": "Deployment properties." - }, - "OnErrorDeployment": { - "type": "object", - "properties": { - "deploymentName": { - "type": "string", - "description": "The deployment to be used on error case." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment." - } - }, - "description": "Deployment on error behavior." - }, - "ParametersLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "The URI of the parameters file." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "Tags": { - "type": "object", - "properties": { - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "A dictionary of name and value pairs." - }, - "TemplateLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "The URI of the template to deploy." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the template." - } - } -} \ No newline at end of file diff --git a/schemas/2020-06-01/Microsoft.Resources.json b/schemas/2020-06-01/Microsoft.Resources.json deleted file mode 100644 index 7d4c2f93c7..0000000000 --- a/schemas/2020-06-01/Microsoft.Resources.json +++ /dev/null @@ -1,645 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Resources.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64, - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "subscription_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64, - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - }, - "resourceGroups": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90, - "description": "the resource group name" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/resourceGroups" - ] - }, - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01" - ] - }, - "location": { - "type": "string", - "description": "the resource group location" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource group tags." - } - }, - "required": [ - "name", - "type", - "apiVersion", - "location" - ], - "description": "Microsoft.Resources/resourceGroups" - } - }, - "managementGroup_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64, - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "tenant_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64, - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "unknown_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64, - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - }, - "tags": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/Tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A dictionary of name and value pairs." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/tags" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/tags" - } - }, - "definitions": { - "DebugSetting": { - "type": "object", - "properties": { - "detailLevel": { - "type": "string", - "description": "Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations." - } - }, - "description": "The debug setting." - }, - "DeploymentProperties": { - "type": "object", - "properties": { - "debugSetting": { - "oneOf": [ - { - "$ref": "#/definitions/DebugSetting" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The debug setting." - }, - "expressionEvaluationOptions": { - "oneOf": [ - { - "$ref": "#/definitions/ExpressionEvaluationOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Incremental", - "Complete" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources." - }, - "onErrorDeployment": { - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment on error behavior." - }, - "parameters": { - "type": "object", - "properties": {}, - "description": "Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string." - }, - "parametersLink": { - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "template": { - "type": "object", - "properties": {}, - "description": "The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both." - }, - "templateLink": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the template." - } - }, - "required": [ - "mode" - ], - "description": "Deployment properties." - }, - "ExpressionEvaluationOptions": { - "type": "object", - "properties": { - "scope": { - "oneOf": [ - { - "type": "string", - "enum": [ - "NotSpecified", - "Outer", - "Inner" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The scope to be used for evaluation of parameters, variables and functions in a nested template." - } - }, - "description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template." - }, - "OnErrorDeployment": { - "type": "object", - "properties": { - "deploymentName": { - "type": "string", - "description": "The deployment to be used on error case." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment." - } - }, - "description": "Deployment on error behavior." - }, - "ParametersLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "The URI of the parameters file." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "Tags": { - "type": "object", - "properties": { - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "A dictionary of name and value pairs." - }, - "TemplateLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "id": { - "type": "string", - "description": "The resource id of a Template Spec. Use either the id or uri property, but not both." - }, - "relativePath": { - "type": "string", - "description": "Applicable only if this template link references a Template Spec. This relativePath property can optionally be used to reference a Template Spec artifact by path." - }, - "uri": { - "type": "string", - "description": "The URI of the template to deploy. Use either the uri or id property, but not both." - } - }, - "description": "Entity representing the reference to the template." - } - } -} \ No newline at end of file diff --git a/schemas/2020-08-01/Microsoft.Resources.json b/schemas/2020-08-01/Microsoft.Resources.json deleted file mode 100644 index 71a8303c03..0000000000 --- a/schemas/2020-08-01/Microsoft.Resources.json +++ /dev/null @@ -1,612 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-08-01/Microsoft.Resources.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64, - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "subscription_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64, - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - }, - "resourceGroups": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90, - "description": "the resource group name" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/resourceGroups" - ] - }, - "apiVersion": { - "type": "string", - "enum": [ - "2020-08-01" - ] - }, - "location": { - "type": "string", - "description": "the resource group location" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource group tags." - } - }, - "required": [ - "name", - "type", - "apiVersion", - "location" - ], - "description": "Microsoft.Resources/resourceGroups" - } - }, - "managementGroup_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64, - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "tenant_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64, - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "unknown_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64, - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - }, - "tags": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-08-01" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/Tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A dictionary of name and value pairs." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/tags" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/tags" - } - }, - "definitions": { - "DebugSetting": { - "type": "object", - "properties": { - "detailLevel": { - "type": "string", - "description": "Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations." - } - }, - "description": "The debug setting." - }, - "DeploymentProperties": { - "type": "object", - "properties": { - "debugSetting": { - "oneOf": [ - { - "$ref": "#/definitions/DebugSetting" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The debug setting." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Incremental", - "Complete" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources." - }, - "onErrorDeployment": { - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment on error behavior." - }, - "parameters": { - "type": "object", - "properties": {}, - "description": "Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string." - }, - "parametersLink": { - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "template": { - "type": "object", - "properties": {}, - "description": "The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both." - }, - "templateLink": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the template." - } - }, - "required": [ - "mode" - ], - "description": "Deployment properties." - }, - "OnErrorDeployment": { - "type": "object", - "properties": { - "deploymentName": { - "type": "string", - "description": "The deployment to be used on error case." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment." - } - }, - "description": "Deployment on error behavior." - }, - "ParametersLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "The URI of the parameters file." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "Tags": { - "type": "object", - "properties": { - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "A dictionary of name and value pairs." - }, - "TemplateLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "id": { - "type": "string", - "description": "The resource id of a Template Spec. Use either the id or uri property, but not both." - }, - "relativePath": { - "type": "string", - "description": "Applicable only if this template link references a Template Spec. This relativePath property can optionally be used to reference a Template Spec artifact by path." - }, - "uri": { - "type": "string", - "description": "The URI of the template to deploy. Use either the uri or id property, but not both." - } - }, - "description": "Entity representing the reference to the template." - } - } -} \ No newline at end of file diff --git a/schemas/2020-10-01/Microsoft.Resources.json b/schemas/2020-10-01/Microsoft.Resources.json deleted file mode 100644 index f0df172404..0000000000 --- a/schemas/2020-10-01/Microsoft.Resources.json +++ /dev/null @@ -1,1072 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.Resources.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-10-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64, - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - }, - "deploymentScripts": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/AzurePowerShellScript" - }, - { - "$ref": "#/definitions/AzureCliScript" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-10-01" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Managed identity generic object." - }, - "location": { - "type": "string", - "description": "The location of the ACI and the storage account for the deployment script." - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 90, - "description": "Name of the deployment script." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deploymentScripts" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "type" - ], - "description": "Microsoft.Resources/deploymentScripts" - } - }, - "subscription_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-10-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64, - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - }, - "resourceGroups": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90, - "description": "the resource group name" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/resourceGroups" - ] - }, - "apiVersion": { - "type": "string", - "enum": [ - "2020-10-01" - ] - }, - "location": { - "type": "string", - "description": "the resource group location" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource group tags." - } - }, - "required": [ - "name", - "type", - "apiVersion", - "location" - ], - "description": "Microsoft.Resources/resourceGroups" - } - }, - "managementGroup_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-10-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64, - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "tenant_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-10-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64, - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "unknown_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-10-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64, - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - }, - "tags": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-10-01" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/Tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A dictionary of name and value pairs." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/tags" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/tags" - } - }, - "definitions": { - "AzureCliScript": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "AzureCLI" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzureCliScriptProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the Azure CLI script object." - } - }, - "required": [ - "kind", - "properties" - ], - "description": "Object model for the Azure CLI script." - }, - "AzureCliScriptProperties": { - "type": "object", - "properties": { - "arguments": { - "type": "string", - "description": "Command line arguments to pass to the script. Arguments are separated by spaces. ex: -Name blue* -Location 'West US 2' " - }, - "azCliVersion": { - "type": "string", - "description": "Azure CLI module version to be used." - }, - "cleanupPreference": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Always", - "OnSuccess", - "OnExpiration" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The clean up preference when the script execution gets in a terminal state. Default setting is 'Always'." - }, - "containerSettings": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Settings to customize ACI container instance." - }, - "environmentVariables": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/EnvironmentVariable" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The environment variables to pass over to the script." - }, - "forceUpdateTag": { - "type": "string", - "description": "Gets or sets how the deployment script should be forced to execute even if the script resource has not changed. Can be current time stamp or a GUID." - }, - "primaryScriptUri": { - "type": "string", - "description": "Uri for the script. This is the entry point for the external script." - }, - "retentionInterval": { - "type": "string", - "format": "duration", - "description": "Interval for which the service retains the script resource after it reaches a terminal state. Resource will be deleted when this duration expires. Duration is based on ISO 8601 pattern (for example P1D means one day)." - }, - "scriptContent": { - "type": "string", - "description": "Script body." - }, - "storageAccountSettings": { - "oneOf": [ - { - "$ref": "#/definitions/StorageAccountConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Settings to use an existing storage account. Valid storage account kinds are: Storage, StorageV2 and FileStorage" - }, - "supportingScriptUris": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Supporting files for the external script." - }, - "timeout": { - "type": "string", - "default": "P1D", - "format": "duration", - "description": "Maximum allowed script execution time specified in ISO 8601 format. Default value is P1D" - } - }, - "required": [ - "azCliVersion", - "retentionInterval" - ], - "description": "Properties of the Azure CLI script object." - }, - "AzurePowerShellScript": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "AzurePowerShell" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzurePowerShellScriptProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the Azure PowerShell script object." - } - }, - "required": [ - "kind", - "properties" - ], - "description": "Object model for the Azure PowerShell script." - }, - "AzurePowerShellScriptProperties": { - "type": "object", - "properties": { - "arguments": { - "type": "string", - "description": "Command line arguments to pass to the script. Arguments are separated by spaces. ex: -Name blue* -Location 'West US 2' " - }, - "azPowerShellVersion": { - "type": "string", - "description": "Azure PowerShell module version to be used." - }, - "cleanupPreference": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Always", - "OnSuccess", - "OnExpiration" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The clean up preference when the script execution gets in a terminal state. Default setting is 'Always'." - }, - "containerSettings": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Settings to customize ACI container instance." - }, - "environmentVariables": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/EnvironmentVariable" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The environment variables to pass over to the script." - }, - "forceUpdateTag": { - "type": "string", - "description": "Gets or sets how the deployment script should be forced to execute even if the script resource has not changed. Can be current time stamp or a GUID." - }, - "primaryScriptUri": { - "type": "string", - "description": "Uri for the script. This is the entry point for the external script." - }, - "retentionInterval": { - "type": "string", - "format": "duration", - "description": "Interval for which the service retains the script resource after it reaches a terminal state. Resource will be deleted when this duration expires. Duration is based on ISO 8601 pattern (for example P1D means one day)." - }, - "scriptContent": { - "type": "string", - "description": "Script body." - }, - "storageAccountSettings": { - "oneOf": [ - { - "$ref": "#/definitions/StorageAccountConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Settings to use an existing storage account. Valid storage account kinds are: Storage, StorageV2 and FileStorage" - }, - "supportingScriptUris": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Supporting files for the external script." - }, - "timeout": { - "type": "string", - "default": "P1D", - "format": "duration", - "description": "Maximum allowed script execution time specified in ISO 8601 format. Default value is P1D" - } - }, - "required": [ - "azPowerShellVersion", - "retentionInterval" - ], - "description": "Properties of the Azure PowerShell script object." - }, - "ContainerConfiguration": { - "type": "object", - "properties": { - "containerGroupName": { - "type": "string", - "minLength": 1, - "maxLength": 63, - "description": "Container group name, if not specified then the name will get auto-generated. Not specifying a 'containerGroupName' indicates the system to generate a unique name which might end up flagging an Azure Policy as non-compliant. Use 'containerGroupName' when you have an Azure Policy that expects a specific naming convention or when you want to fully control the name. 'containerGroupName' property must be between 1 and 63 characters long, must contain only lowercase letters, numbers, and dashes and it cannot start or end with a dash and consecutive dashes are not allowed. To specify a 'containerGroupName', add the following object to properties: { \"containerSettings\": { \"containerGroupName\": \"contoso-container\" } }. If you do not want to specify a 'containerGroupName' then do not add 'containerSettings' property." - } - }, - "description": "Settings to customize ACI container instance." - }, - "DebugSetting": { - "type": "object", - "properties": { - "detailLevel": { - "type": "string", - "description": "Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations." - } - }, - "description": "The debug setting." - }, - "DeploymentProperties": { - "type": "object", - "properties": { - "debugSetting": { - "oneOf": [ - { - "$ref": "#/definitions/DebugSetting" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The debug setting." - }, - "expressionEvaluationOptions": { - "oneOf": [ - { - "$ref": "#/definitions/ExpressionEvaluationOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Incremental", - "Complete" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources." - }, - "onErrorDeployment": { - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment on error behavior." - }, - "parameters": { - "type": "object", - "properties": {}, - "description": "Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string." - }, - "parametersLink": { - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "template": { - "type": "object", - "properties": {}, - "description": "The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both." - }, - "templateLink": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the template." - } - }, - "required": [ - "mode" - ], - "description": "Deployment properties." - }, - "EnvironmentVariable": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the environment variable." - }, - "secureValue": { - "type": "string", - "description": "The value of the secure environment variable." - }, - "value": { - "type": "string", - "description": "The value of the environment variable." - } - }, - "required": [ - "name" - ], - "description": "The environment variable to pass to the script in the container instance." - }, - "ExpressionEvaluationOptions": { - "type": "object", - "properties": { - "scope": { - "oneOf": [ - { - "type": "string", - "enum": [ - "NotSpecified", - "Outer", - "Inner" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The scope to be used for evaluation of parameters, variables and functions in a nested template." - } - }, - "description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template." - }, - "ManagedServiceIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Type of the managed identity." - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentity" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity." - } - }, - "description": "Managed identity generic object." - }, - "OnErrorDeployment": { - "type": "object", - "properties": { - "deploymentName": { - "type": "string", - "description": "The deployment to be used on error case." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment." - } - }, - "description": "Deployment on error behavior." - }, - "ParametersLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "The URI of the parameters file." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "StorageAccountConfiguration": { - "type": "object", - "properties": { - "storageAccountKey": { - "type": "string", - "description": "The storage account access key." - }, - "storageAccountName": { - "type": "string", - "description": "The storage account name." - } - }, - "description": "Settings to use an existing storage account. Valid storage account kinds are: Storage, StorageV2 and FileStorage" - }, - "Tags": { - "type": "object", - "properties": { - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "A dictionary of name and value pairs." - }, - "TemplateLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "id": { - "type": "string", - "description": "The resource id of a Template Spec. Use either the id or uri property, but not both." - }, - "queryString": { - "type": "string", - "description": "The query string (for example, a SAS token) to be used with the templateLink URI." - }, - "relativePath": { - "type": "string", - "description": "The relativePath property can be used to deploy a linked template at a location relative to the parent. If the parent template was linked with a TemplateSpec, this will reference an artifact in the TemplateSpec. If the parent was linked with a URI, the child deployment will be a combination of the parent and relativePath URIs" - }, - "uri": { - "type": "string", - "description": "The URI of the template to deploy. Use either the uri or id property, but not both." - } - }, - "description": "Entity representing the reference to the template." - }, - "UserAssignedIdentity": { - "type": "object", - "properties": {}, - "description": "User-assigned managed identity." - } - } -} \ No newline at end of file diff --git a/schemas/2021-01-01/Microsoft.Resources.json b/schemas/2021-01-01/Microsoft.Resources.json deleted file mode 100644 index 10ba7de6f7..0000000000 --- a/schemas/2021-01-01/Microsoft.Resources.json +++ /dev/null @@ -1,689 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Resources.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "subscription_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - }, - "resourceGroups": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90, - "description": "the resource group name" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/resourceGroups" - ] - }, - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "location": { - "type": "string", - "description": "the resource group location" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource group tags." - } - }, - "required": [ - "name", - "type", - "apiVersion", - "location" - ], - "description": "Microsoft.Resources/resourceGroups" - } - }, - "managementGroup_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "tenant_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "unknown_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - }, - "tags": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-01" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/Tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A dictionary of name and value pairs." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/tags" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/tags" - } - }, - "definitions": { - "DebugSetting": { - "type": "object", - "properties": { - "detailLevel": { - "type": "string", - "description": "Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations." - } - }, - "description": "The debug setting." - }, - "DeploymentProperties": { - "type": "object", - "properties": { - "debugSetting": { - "oneOf": [ - { - "$ref": "#/definitions/DebugSetting" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The debug setting." - }, - "expressionEvaluationOptions": { - "oneOf": [ - { - "$ref": "#/definitions/ExpressionEvaluationOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Incremental", - "Complete" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources." - }, - "onErrorDeployment": { - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment on error behavior." - }, - "parameters": { - "type": "object", - "properties": {}, - "description": "Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string." - }, - "parametersLink": { - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "template": { - "type": "object", - "properties": {}, - "description": "The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both." - }, - "templateLink": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the template." - } - }, - "required": [ - "mode" - ], - "description": "Deployment properties." - }, - "ExpressionEvaluationOptions": { - "type": "object", - "properties": { - "scope": { - "oneOf": [ - { - "type": "string", - "enum": [ - "NotSpecified", - "Outer", - "Inner" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The scope to be used for evaluation of parameters, variables and functions in a nested template." - } - }, - "description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template." - }, - "OnErrorDeployment": { - "type": "object", - "properties": { - "deploymentName": { - "type": "string", - "description": "The deployment to be used on error case." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment." - } - }, - "description": "Deployment on error behavior." - }, - "ParametersLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "The URI of the parameters file." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "Tags": { - "type": "object", - "properties": { - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "A dictionary of name and value pairs." - }, - "TemplateLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "id": { - "type": "string", - "description": "The resource id of a Template Spec. Use either the id or uri property, but not both." - }, - "queryString": { - "type": "string", - "description": "The query string (for example, a SAS token) to be used with the templateLink URI." - }, - "relativePath": { - "type": "string", - "description": "The relativePath property can be used to deploy a linked template at a location relative to the parent. If the parent template was linked with a TemplateSpec, this will reference an artifact in the TemplateSpec. If the parent was linked with a URI, the child deployment will be a combination of the parent and relativePath URIs" - }, - "uri": { - "type": "string", - "description": "The URI of the template to deploy. Use either the uri or id property, but not both." - } - }, - "description": "Entity representing the reference to the template." - } - } -} \ No newline at end of file diff --git a/schemas/2021-03-01-preview/Microsoft.Resources.json b/schemas/2021-03-01-preview/Microsoft.Resources.json deleted file mode 100644 index 2051c2cb33..0000000000 --- a/schemas/2021-03-01-preview/Microsoft.Resources.json +++ /dev/null @@ -1,364 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.Resources.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "resourceDefinitions": { - "templateSpecs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "location": { - "type": "string", - "description": "The location of the Template Spec. It cannot be changed after Template Spec creation. It must be one of the supported Azure locations." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Name of the Template Spec." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateSpecProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Template Spec properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/templateSpecs_versions_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/templateSpecs" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/templateSpecs" - }, - "templateSpecs_versions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "location": { - "type": "string", - "description": "The location of the Template Spec Version. It must match the location of the parent Template Spec." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The version of the Template Spec." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateSpecVersionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Template Spec Version properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/templateSpecs/versions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/templateSpecs/versions" - } - }, - "definitions": { - "LinkedTemplateArtifact": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "A filesystem safe relative path of the artifact." - }, - "template": { - "type": "object", - "properties": {}, - "description": "The Azure Resource Manager template." - } - }, - "required": [ - "path", - "template" - ], - "description": "Represents a Template Spec artifact containing an embedded Azure Resource Manager template for use as a linked template." - }, - "TemplateSpecProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "maxLength": 4096, - "description": "Template Spec description." - }, - "displayName": { - "type": "string", - "maxLength": 64, - "description": "Template Spec display name." - }, - "metadata": { - "type": "object", - "properties": {}, - "description": "The Template Spec metadata. Metadata is an open-ended object and is typically a collection of key-value pairs." - } - }, - "description": "Template Spec properties." - }, - "templateSpecs_versions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "location": { - "type": "string", - "description": "The location of the Template Spec Version. It must match the location of the parent Template Spec." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The version of the Template Spec." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateSpecVersionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Template Spec Version properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "versions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/templateSpecs/versions" - }, - "TemplateSpecVersionProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "maxLength": 4096, - "description": "Template Spec version description." - }, - "linkedTemplates": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LinkedTemplateArtifact" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array of linked template artifacts." - }, - "mainTemplate": { - "type": "object", - "properties": {}, - "description": "The main Azure Resource Manager template content." - }, - "metadata": { - "type": "object", - "properties": {}, - "description": "The version metadata. Metadata is an open-ended object and is typically a collection of key-value pairs." - }, - "uiFormDefinition": { - "type": "object", - "properties": {}, - "description": "The Azure Resource Manager template UI definition content." - } - }, - "description": "Template Spec Version properties." - } - }, - "subscription_resourceDefinitions": { - "resourceGroups": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90, - "description": "the resource group name" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/resourceGroups" - ] - }, - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "location": { - "type": "string", - "description": "the resource group location" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource group tags." - } - }, - "required": [ - "name", - "type", - "apiVersion", - "location" - ], - "description": "Microsoft.Resources/resourceGroups" - } - } -} \ No newline at end of file diff --git a/schemas/2021-04-01/Microsoft.Resources.json b/schemas/2021-04-01/Microsoft.Resources.json deleted file mode 100644 index d2e2af479b..0000000000 --- a/schemas/2021-04-01/Microsoft.Resources.json +++ /dev/null @@ -1,689 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Resources.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "subscription_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - }, - "resourceGroups": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90, - "description": "the resource group name" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/resourceGroups" - ] - }, - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01" - ] - }, - "location": { - "type": "string", - "description": "the resource group location" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource group tags." - } - }, - "required": [ - "name", - "type", - "apiVersion", - "location" - ], - "description": "Microsoft.Resources/resourceGroups" - } - }, - "managementGroup_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "tenant_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - } - }, - "unknown_resourceDefinitions": { - "deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location to store the deployment data." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the deployment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/deployments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/deployments" - }, - "tags": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/Tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A dictionary of name and value pairs." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/tags" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/tags" - } - }, - "definitions": { - "DebugSetting": { - "type": "object", - "properties": { - "detailLevel": { - "type": "string", - "description": "Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations." - } - }, - "description": "The debug setting." - }, - "DeploymentProperties": { - "type": "object", - "properties": { - "debugSetting": { - "oneOf": [ - { - "$ref": "#/definitions/DebugSetting" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The debug setting." - }, - "expressionEvaluationOptions": { - "oneOf": [ - { - "$ref": "#/definitions/ExpressionEvaluationOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Incremental", - "Complete" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources." - }, - "onErrorDeployment": { - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment on error behavior." - }, - "parameters": { - "type": "object", - "properties": {}, - "description": "Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string." - }, - "parametersLink": { - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "template": { - "type": "object", - "properties": {}, - "description": "The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both." - }, - "templateLink": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Entity representing the reference to the template." - } - }, - "required": [ - "mode" - ], - "description": "Deployment properties." - }, - "ExpressionEvaluationOptions": { - "type": "object", - "properties": { - "scope": { - "oneOf": [ - { - "type": "string", - "enum": [ - "NotSpecified", - "Outer", - "Inner" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The scope to be used for evaluation of parameters, variables and functions in a nested template." - } - }, - "description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template." - }, - "OnErrorDeployment": { - "type": "object", - "properties": { - "deploymentName": { - "type": "string", - "description": "The deployment to be used on error case." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment." - } - }, - "description": "Deployment on error behavior." - }, - "ParametersLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "uri": { - "type": "string", - "description": "The URI of the parameters file." - } - }, - "required": [ - "uri" - ], - "description": "Entity representing the reference to the deployment parameters." - }, - "Tags": { - "type": "object", - "properties": { - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "A dictionary of name and value pairs." - }, - "TemplateLink": { - "type": "object", - "properties": { - "contentVersion": { - "type": "string", - "description": "If included, must match the ContentVersion in the template." - }, - "id": { - "type": "string", - "description": "The resource id of a Template Spec. Use either the id or uri property, but not both." - }, - "queryString": { - "type": "string", - "description": "The query string (for example, a SAS token) to be used with the templateLink URI." - }, - "relativePath": { - "type": "string", - "description": "The relativePath property can be used to deploy a linked template at a location relative to the parent. If the parent template was linked with a TemplateSpec, this will reference an artifact in the TemplateSpec. If the parent was linked with a URI, the child deployment will be a combination of the parent and relativePath URIs" - }, - "uri": { - "type": "string", - "description": "The URI of the template to deploy. Use either the uri or id property, but not both." - } - }, - "description": "Entity representing the reference to the template." - } - } -} \ No newline at end of file diff --git a/schemas/2021-05-01/Microsoft.Resources.json b/schemas/2021-05-01/Microsoft.Resources.json deleted file mode 100644 index 302911eb73..0000000000 --- a/schemas/2021-05-01/Microsoft.Resources.json +++ /dev/null @@ -1,364 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-05-01/Microsoft.Resources.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "resourceDefinitions": { - "templateSpecs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the Template Spec. It cannot be changed after Template Spec creation. It must be one of the supported Azure locations." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Name of the Template Spec." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateSpecProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Template Spec properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/templateSpecs_versions_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/templateSpecs" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/templateSpecs" - }, - "templateSpecs_versions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the Template Spec Version. It must match the location of the parent Template Spec." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The version of the Template Spec." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateSpecVersionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Template Spec Version properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/templateSpecs/versions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/templateSpecs/versions" - } - }, - "definitions": { - "LinkedTemplateArtifact": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "A filesystem safe relative path of the artifact." - }, - "template": { - "type": "object", - "properties": {}, - "description": "The Azure Resource Manager template." - } - }, - "required": [ - "path", - "template" - ], - "description": "Represents a Template Spec artifact containing an embedded Azure Resource Manager template for use as a linked template." - }, - "TemplateSpecProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "maxLength": 4096, - "description": "Template Spec description." - }, - "displayName": { - "type": "string", - "maxLength": 64, - "description": "Template Spec display name." - }, - "metadata": { - "type": "object", - "properties": {}, - "description": "The Template Spec metadata. Metadata is an open-ended object and is typically a collection of key-value pairs." - } - }, - "description": "Template Spec properties." - }, - "templateSpecs_versions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the Template Spec Version. It must match the location of the parent Template Spec." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The version of the Template Spec." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateSpecVersionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Template Spec Version properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "versions" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Resources/templateSpecs/versions" - }, - "TemplateSpecVersionProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "maxLength": 4096, - "description": "Template Spec version description." - }, - "linkedTemplates": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LinkedTemplateArtifact" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array of linked template artifacts." - }, - "mainTemplate": { - "type": "object", - "properties": {}, - "description": "The main Azure Resource Manager template content." - }, - "metadata": { - "type": "object", - "properties": {}, - "description": "The version metadata. Metadata is an open-ended object and is typically a collection of key-value pairs." - }, - "uiFormDefinition": { - "type": "object", - "properties": {}, - "description": "The Azure Resource Manager template UI definition content." - } - }, - "description": "Template Spec Version properties." - } - }, - "subscription_resourceDefinitions": { - "resourceGroups": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90, - "description": "the resource group name" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/resourceGroups" - ] - }, - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-01" - ] - }, - "location": { - "type": "string", - "description": "the resource group location" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource group tags." - } - }, - "required": [ - "name", - "type", - "apiVersion", - "location" - ], - "description": "Microsoft.Resources/resourceGroups" - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index b99518f62e..e6e480166b 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -12475,102 +12475,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.ResourceGraph.json#/resourceDefinitions/queries" }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-11-01/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-02-01/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-07-01/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-09-01/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-05-10/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-02-01/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-05-01/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-05-10/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-06-01-preview/Microsoft.Resources.json#/resourceDefinitions/templateSpecs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-06-01-preview/Microsoft.Resources.json#/resourceDefinitions/templateSpecs_versions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Resources.json#/resourceDefinitions/deploymentScripts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-01/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.Resources.json#/resourceDefinitions/deploymentScripts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.Resources.json#/resourceDefinitions/templateSpecs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.Resources.json#/resourceDefinitions/templateSpecs_versions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-01/Microsoft.Resources.json#/resourceDefinitions/templateSpecs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-01/Microsoft.Resources.json#/resourceDefinitions/templateSpecs_versions" - }, { "$ref": "https://schema.management.azure.com/schemas/2014-08-01-preview/Microsoft.Scheduler.json#/resourceDefinitions/jobCollections" },