Родитель
5cea0f0f57
Коммит
4774a474e3
|
@ -0,0 +1,136 @@
|
|||
{
|
||||
"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."
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,158 @@
|
|||
{
|
||||
"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."
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,158 @@
|
|||
{
|
||||
"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."
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,168 @@
|
|||
{
|
||||
"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."
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,174 @@
|
|||
{
|
||||
"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."
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,210 @@
|
|||
{
|
||||
"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."
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,334 @@
|
|||
{
|
||||
"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."
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1088,6 +1088,111 @@
|
|||
{
|
||||
"$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/2022-02-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"
|
||||
},
|
||||
|
|
|
@ -0,0 +1,334 @@
|
|||
{
|
||||
"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."
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,395 @@
|
|||
{
|
||||
"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."
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,395 @@
|
|||
{
|
||||
"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."
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,369 @@
|
|||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,509 @@
|
|||
{
|
||||
"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."
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,511 @@
|
|||
{
|
||||
"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."
|
||||
}
|
||||
}
|
||||
}
|
|
@ -692,6 +692,54 @@
|
|||
{
|
||||
"$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"
|
||||
}
|
||||
|
|
|
@ -769,6 +769,30 @@
|
|||
{
|
||||
"$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"
|
||||
},
|
||||
|
|
|
@ -0,0 +1,493 @@
|
|||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,647 @@
|
|||
{
|
||||
"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."
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,645 @@
|
|||
{
|
||||
"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."
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,612 @@
|
|||
{
|
||||
"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."
|
||||
}
|
||||
}
|
||||
}
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -1120,12 +1120,6 @@
|
|||
"type": "array",
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/servers_extendedAuditingSettings_childResource"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/servers_auditingSettings_childResource"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/servers_encryptionProtector_childResource"
|
||||
},
|
||||
|
@ -1171,6 +1165,12 @@
|
|||
{
|
||||
"$ref": "#/definitions/servers_databases_childResource"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/servers_extendedAuditingSettings_childResource"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/servers_auditingSettings_childResource"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/servers_elasticPools_childResource"
|
||||
}
|
||||
|
@ -1381,12 +1381,6 @@
|
|||
"type": "array",
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/servers_databases_extendedAuditingSettings_childResource"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/servers_databases_auditingSettings_childResource"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/servers_databases_securityAlertPolicies_childResource"
|
||||
},
|
||||
|
@ -1408,6 +1402,12 @@
|
|||
{
|
||||
"$ref": "#/definitions/servers_databases_backupShortTermRetentionPolicies_childResource"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/servers_databases_extendedAuditingSettings_childResource"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/servers_databases_auditingSettings_childResource"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/servers_databases_extensions_childResource"
|
||||
},
|
||||
|
|
|
@ -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."
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,364 @@
|
|||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,689 @@
|
|||
{
|
||||
"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."
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,364 @@
|
|||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -3599,21 +3599,6 @@
|
|||
"DatabaseIdentity": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"delegatedResources": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/Delegation"
|
||||
},
|
||||
"properties": {}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Resources delegated to the database - Internal Use Only"
|
||||
},
|
||||
"type": {
|
||||
"oneOf": [
|
||||
{
|
||||
|
@ -3786,18 +3771,6 @@
|
|||
],
|
||||
"description": "Minimal capacity that database will always have allocated, if not paused"
|
||||
},
|
||||
"primaryDelegatedIdentityClientId": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The Primary Delegated Identity Client id used for per database CMK - for internal use only"
|
||||
},
|
||||
"readScale": {
|
||||
"oneOf": [
|
||||
{
|
||||
|
@ -3985,16 +3958,6 @@
|
|||
],
|
||||
"description": "Properties of a database Vulnerability Assessment rule baseline."
|
||||
},
|
||||
"Delegation": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"resourceId": {
|
||||
"type": "string",
|
||||
"description": "The resource id of the source resource - Internal Use Only"
|
||||
}
|
||||
},
|
||||
"description": "Delegated Resource Properties - Internal Use Only"
|
||||
},
|
||||
"DistributedAvailabilityGroupProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
|
@ -3784,21 +3784,6 @@
|
|||
"DatabaseIdentity": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"delegatedResources": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/Delegation"
|
||||
},
|
||||
"properties": {}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Resources delegated to the database - Internal Use Only"
|
||||
},
|
||||
"type": {
|
||||
"oneOf": [
|
||||
{
|
||||
|
@ -3971,18 +3956,6 @@
|
|||
],
|
||||
"description": "Minimal capacity that database will always have allocated, if not paused"
|
||||
},
|
||||
"primaryDelegatedIdentityClientId": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The Primary Delegated Identity Client id used for per database CMK - for internal use only"
|
||||
},
|
||||
"readScale": {
|
||||
"oneOf": [
|
||||
{
|
||||
|
@ -4170,16 +4143,6 @@
|
|||
],
|
||||
"description": "Properties of a database Vulnerability Assessment rule baseline."
|
||||
},
|
||||
"Delegation": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"resourceId": {
|
||||
"type": "string",
|
||||
"description": "The resource id of the source resource - Internal Use Only"
|
||||
}
|
||||
},
|
||||
"description": "Delegated Resource Properties - Internal Use Only"
|
||||
},
|
||||
"DistributedAvailabilityGroupProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,364 @@
|
|||
{
|
||||
"id": "https://schema.management.azure.com/schemas/2022-02-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": [
|
||||
"2022-02-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": [
|
||||
"2022-02-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": [
|
||||
"2022-02-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": [
|
||||
"2022-02-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"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -12925,12 +12925,138 @@
|
|||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/2018-01-01-preview/Microsoft.Relay.json#/resourceDefinitions/namespaces_privateEndpointConnections"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Relay.json#/resourceDefinitions/namespaces"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Relay.json#/resourceDefinitions/namespaces_authorizationRules"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Relay.json#/resourceDefinitions/namespaces_hybridConnections"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Relay.json#/resourceDefinitions/namespaces_hybridConnections_authorizationRules"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Relay.json#/resourceDefinitions/namespaces_networkRuleSets"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Relay.json#/resourceDefinitions/namespaces_privateEndpointConnections"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Relay.json#/resourceDefinitions/namespaces_wcfRelays"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Relay.json#/resourceDefinitions/namespaces_wcfRelays_authorizationRules"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/2021-10-31-preview/Microsoft.ResourceConnector.json#/resourceDefinitions/appliances"
|
||||
},
|
||||
{
|
||||
"$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/2022-02-01/Microsoft.Resources.json#/resourceDefinitions/templateSpecs"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/2022-02-01/Microsoft.Resources.json#/resourceDefinitions/templateSpecs_versions"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/2014-08-01-preview/Microsoft.Scheduler.json#/resourceDefinitions/jobCollections"
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче