azure-resource-manager-schemas/schemas/2016-07-01/Microsoft.Resources.json

246 строки
7.1 KiB
JSON

{
"id": "https://schema.management.azure.com/schemas/2016-07-01/Microsoft.Resources.json#",
"title": "Microsoft.Resources",
"description": "Microsoft Resources Resource Types",
"$schema": "http://json-schema.org/draft-04/schema#",
"resourceDefinitions": {
"deployments": {
"description": "Microsoft.Resources/deployments",
"properties": {
"apiVersion": {
"enum": [
"2016-07-01"
],
"type": "string"
},
"name": {
"description": "The name of the deployment.",
"type": "string"
},
"properties": {
"description": "The deployment properties.",
"oneOf": [
{
"$ref": "#/definitions/DeploymentProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"Microsoft.Resources/deployments"
],
"type": "string"
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
}
},
"subscription_resourceDefinitions": {
"resourceGroups": {
"description": "Microsoft.Resources/resourceGroups",
"properties": {
"apiVersion": {
"enum": [
"2016-07-01"
],
"type": "string"
},
"location": {
"description": "The location of the resource group. It cannot be changed after the resource group has been created. Has to be one of the supported Azure Locations, such as West US, East US, West Europe, East Asia, etc.",
"type": "string"
},
"name": {
"description": "The name of the resource group to be created or updated.",
"oneOf": [
{
"maxLength": 90,
"minLength": 1,
"pattern": "^[-\\w\\._\\(\\)]+$",
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"properties": {
"description": "The resource group properties.",
"oneOf": [
{
"$ref": "#/definitions/ResourceGroupProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"tags": {
"description": "The tags attached to the resource group.",
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"Microsoft.Resources/resourceGroups"
],
"type": "string"
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
}
},
"definitions": {
"DebugSetting": {
"properties": {
"detailLevel": {
"description": "The debug detail level.",
"type": "string"
}
},
"type": "object"
},
"DeploymentProperties": {
"description": "Deployment properties.",
"properties": {
"debugSetting": {
"description": "The debug setting of the deployment.",
"oneOf": [
{
"$ref": "#/definitions/DebugSetting"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"mode": {
"description": "The deployment mode.",
"oneOf": [
{
"enum": [
"Incremental",
"Complete"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"parameters": {
"description": "Deployment parameters. It can be a JObject or a well formed JSON string. Use only one of Parameters or ParametersLink.",
"oneOf": [
{
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"parametersLink": {
"description": "The parameters URI. Use only one of Parameters or ParametersLink.",
"oneOf": [
{
"$ref": "#/definitions/ParametersLink"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"template": {
"description": "The template content. It can be a JObject or a well formed JSON string. Use only one of Template or TemplateLink.",
"oneOf": [
{
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"templateLink": {
"description": "The template URI. Use only one of Template or TemplateLink.",
"oneOf": [
{
"$ref": "#/definitions/TemplateLink"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"required": [
"mode"
],
"type": "object"
},
"ParametersLink": {
"description": "Entity representing the reference to the deployment parameters.",
"properties": {
"contentVersion": {
"description": "If included it must match the ContentVersion in the template.",
"type": "string"
},
"uri": {
"description": "URI referencing the template.",
"type": "string"
}
},
"required": [
"uri"
],
"type": "object"
},
"ResourceGroupProperties": {
"description": "The resource group properties.",
"properties": {},
"type": "object"
},
"TemplateLink": {
"description": "Entity representing the reference to the template.",
"properties": {
"contentVersion": {
"description": "If included it must match the ContentVersion in the template.",
"type": "string"
},
"uri": {
"description": "URI referencing the template.",
"type": "string"
}
},
"required": [
"uri"
],
"type": "object"
}
}
}