diff --git a/schemas/2018-05-01/subscriptionDeploymentTemplate.json b/schemas/2018-05-01/subscriptionDeploymentTemplate.json index 48f2fe2fe6..beb002309f 100644 --- a/schemas/2018-05-01/subscriptionDeploymentTemplate.json +++ b/schemas/2018-05-01/subscriptionDeploymentTemplate.json @@ -375,6 +375,15 @@ { "$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/2015-06-01-preview/Microsoft.Security.json#/subscription_resourceDefinitions/locations_applicationWhitelistings" }, diff --git a/schemas/2019-08-01/managementGroupDeploymentTemplate.json b/schemas/2019-08-01/managementGroupDeploymentTemplate.json index c522b8b520..f6a7138fa2 100644 --- a/schemas/2019-08-01/managementGroupDeploymentTemplate.json +++ b/schemas/2019-08-01/managementGroupDeploymentTemplate.json @@ -174,6 +174,12 @@ { "$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/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 7cb34f7628..9dbb17ed24 100644 --- a/schemas/2019-08-01/tenantDeploymentTemplate.json +++ b/schemas/2019-08-01/tenantDeploymentTemplate.json @@ -266,6 +266,9 @@ { "$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/2017-11-01-preview/Microsoft.Subscription.json#/tenant_resourceDefinitions/subscriptionDefinitions" }, diff --git a/schemas/2020-06-01/Microsoft.Resources.json b/schemas/2020-06-01/Microsoft.Resources.json index 0e050e7961..7d4c2f93c7 100644 --- a/schemas/2020-06-01/Microsoft.Resources.json +++ b/schemas/2020-06-01/Microsoft.Resources.json @@ -18,17 +18,9 @@ "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" - } - ], + "type": "string", + "minLength": 1, + "maxLength": 64, "description": "The name of the deployment." }, "properties": { @@ -98,17 +90,9 @@ "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" - } - ], + "type": "string", + "minLength": 1, + "maxLength": 64, "description": "The name of the deployment." }, "properties": { @@ -229,17 +213,9 @@ "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" - } - ], + "type": "string", + "minLength": 1, + "maxLength": 64, "description": "The name of the deployment." }, "properties": { @@ -304,17 +280,9 @@ "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" - } - ], + "type": "string", + "minLength": 1, + "maxLength": 64, "description": "The name of the deployment." }, "properties": { @@ -379,17 +347,9 @@ "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" - } - ], + "type": "string", + "minLength": 1, + "maxLength": 64, "description": "The name of the deployment." }, "properties": { diff --git a/schemas/2020-08-01/Microsoft.Resources.json b/schemas/2020-08-01/Microsoft.Resources.json index 10a550151c..71a8303c03 100644 --- a/schemas/2020-08-01/Microsoft.Resources.json +++ b/schemas/2020-08-01/Microsoft.Resources.json @@ -18,17 +18,9 @@ "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" - } - ], + "type": "string", + "minLength": 1, + "maxLength": 64, "description": "The name of the deployment." }, "properties": { @@ -98,17 +90,9 @@ "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" - } - ], + "type": "string", + "minLength": 1, + "maxLength": 64, "description": "The name of the deployment." }, "properties": { @@ -229,17 +213,9 @@ "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" - } - ], + "type": "string", + "minLength": 1, + "maxLength": 64, "description": "The name of the deployment." }, "properties": { @@ -304,17 +280,9 @@ "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" - } - ], + "type": "string", + "minLength": 1, + "maxLength": 64, "description": "The name of the deployment." }, "properties": { @@ -379,17 +347,9 @@ "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" - } - ], + "type": "string", + "minLength": 1, + "maxLength": 64, "description": "The name of the deployment." }, "properties": { diff --git a/schemas/2020-10-01/Microsoft.Resources.json b/schemas/2020-10-01/Microsoft.Resources.json index a19eeee89d..258a44e9c2 100644 --- a/schemas/2020-10-01/Microsoft.Resources.json +++ b/schemas/2020-10-01/Microsoft.Resources.json @@ -18,17 +18,9 @@ "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" - } - ], + "type": "string", + "minLength": 1, + "maxLength": 64, "description": "The name of the deployment." }, "properties": { @@ -166,17 +158,9 @@ "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" - } - ], + "type": "string", + "minLength": 1, + "maxLength": 64, "description": "The name of the deployment." }, "properties": { @@ -297,17 +281,9 @@ "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" - } - ], + "type": "string", + "minLength": 1, + "maxLength": 64, "description": "The name of the deployment." }, "properties": { @@ -372,17 +348,9 @@ "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" - } - ], + "type": "string", + "minLength": 1, + "maxLength": 64, "description": "The name of the deployment." }, "properties": { @@ -447,17 +415,9 @@ "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" - } - ], + "type": "string", + "minLength": 1, + "maxLength": 64, "description": "The name of the deployment." }, "properties": { diff --git a/schemas/2021-01-01/Microsoft.Resources.json b/schemas/2021-01-01/Microsoft.Resources.json new file mode 100644 index 0000000000..10ba7de6f7 --- /dev/null +++ b/schemas/2021-01-01/Microsoft.Resources.json @@ -0,0 +1,689 @@ +{ + "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/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index c4e8c52beb..cd43c2f2f8 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6493,6 +6493,12 @@ { "$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/2014-08-01-preview/Microsoft.Scheduler.json#/resourceDefinitions/jobCollections" },