diff --git a/schemas/2015-01-01/Microsoft.Authorization.Resources.json b/schemas/2015-01-01/Microsoft.Authorization.Resources.json deleted file mode 100644 index 3875cebe3d..0000000000 --- a/schemas/2015-01-01/Microsoft.Authorization.Resources.json +++ /dev/null @@ -1,157 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2015-01-01/Microsoft.Authorization.Resources.json#", - "title": "Microsoft.Authorization", - "description": "Microsoft Authorization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "locks": { - "description": "Microsoft.Authorization/locks", - "properties": { - "apiVersion": { - "enum": [ - "2015-01-01" - ], - "type": "string" - }, - "name": { - "description": "The lock name.", - "type": "string" - }, - "properties": { - "description": "The properties of the lock.", - "oneOf": [ - { - "$ref": "#/definitions/ManagementLockProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/locks" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "subscription_resourceDefinitions": { - "locks": { - "description": "Microsoft.Authorization/locks", - "properties": { - "apiVersion": { - "enum": [ - "2015-01-01" - ], - "type": "string" - }, - "name": { - "description": "The lock name.", - "type": "string" - }, - "properties": { - "description": "The properties of the lock.", - "oneOf": [ - { - "$ref": "#/definitions/ManagementLockProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/locks" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "extension_resourceDefinitions": { - "locks": { - "description": "Microsoft.Authorization/locks", - "properties": { - "apiVersion": { - "enum": [ - "2015-01-01" - ], - "type": "string" - }, - "name": { - "description": "The lock name.", - "type": "string" - }, - "properties": { - "description": "The properties of the lock.", - "oneOf": [ - { - "$ref": "#/definitions/ManagementLockProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/locks" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ManagementLockProperties": { - "description": "The management lock properties.", - "properties": { - "level": { - "description": "The lock level of the management lock.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "CanNotDelete", - "ReadOnly" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "notes": { - "description": "The notes of the management lock.", - "type": "string" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2015-10-01-preview/Microsoft.Authorization.Resources.json b/schemas/2015-10-01-preview/Microsoft.Authorization.Resources.json deleted file mode 100644 index e72ea34169..0000000000 --- a/schemas/2015-10-01-preview/Microsoft.Authorization.Resources.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2015-10-01-preview/Microsoft.Authorization.Resources.json#", - "title": "Microsoft.Authorization", - "description": "Microsoft Authorization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "subscription_resourceDefinitions": { - "policydefinitions": { - "description": "Microsoft.Authorization/policydefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2015-10-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policydefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "unknown_resourceDefinitions": { - "policyassignments": { - "description": "Microsoft.Authorization/policyassignments", - "properties": { - "apiVersion": { - "enum": [ - "2015-10-01-preview" - ], - "type": "string" - }, - "id": { - "description": "The ID of the policy assignment.", - "type": "string" - }, - "name": { - "description": "The name of the policy assignment.", - "type": "string" - }, - "properties": { - "description": "Properties for the policy assignment.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyAssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyassignments" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "PolicyAssignmentProperties": { - "description": "The policy assignment properties.", - "properties": { - "displayName": { - "description": "The display name of the policy assignment.", - "type": "string" - }, - "policyDefinitionId": { - "description": "The ID of the policy definition.", - "type": "string" - }, - "scope": { - "description": "The scope for the policy assignment.", - "type": "string" - } - }, - "type": "object" - }, - "PolicyDefinitionProperties": { - "description": "The policy definition properties.", - "properties": { - "description": { - "description": "The policy definition description.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy definition.", - "type": "string" - }, - "policyRule": { - "description": "The policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyType": { - "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "BuiltIn", - "Custom" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2015-11-01/Microsoft.Authorization.Resources.json b/schemas/2015-11-01/Microsoft.Authorization.Resources.json deleted file mode 100644 index 3fd1d8fdb3..0000000000 --- a/schemas/2015-11-01/Microsoft.Authorization.Resources.json +++ /dev/null @@ -1,133 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2015-11-01/Microsoft.Authorization.Resources.json#", - "title": "Microsoft.Authorization", - "description": "Microsoft Authorization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "subscription_resourceDefinitions": { - "policydefinitions": { - "description": "Microsoft.Authorization/policydefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2015-11-01" - ], - "type": "string" - }, - "name": { - "description": "The policy definition name.", - "type": "string" - }, - "properties": { - "description": "Gets or sets the policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policydefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "unknown_resourceDefinitions": { - "policyAssignments": { - "description": "Microsoft.Authorization/policyAssignments", - "properties": { - "apiVersion": { - "enum": [ - "2015-11-01" - ], - "type": "string" - }, - "name": { - "description": "Policy assignment name.", - "type": "string" - }, - "properties": { - "description": "Gets or sets the policy assignment properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyAssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyAssignments" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "PolicyAssignmentProperties": { - "description": "Policy Assignment properties.", - "properties": { - "displayName": { - "description": "Gets or sets the policy assignment display name.", - "type": "string" - }, - "policyDefinitionId": { - "description": "Gets or sets the policy definition Id.", - "type": "string" - }, - "scope": { - "description": "Gets or sets the policy assignment scope.", - "type": "string" - } - }, - "type": "object" - }, - "PolicyDefinitionProperties": { - "description": "Policy definition properties.", - "properties": { - "description": { - "description": "Gets or sets the policy definition description.", - "type": "string" - }, - "displayName": { - "description": "Gets or sets the policy definition display name.", - "type": "string" - }, - "policyRule": { - "description": "The policy rule json.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2015-11-01/Microsoft.Resources.json b/schemas/2015-11-01/Microsoft.Resources.json deleted file mode 100644 index 2ba5f87a17..0000000000 --- a/schemas/2015-11-01/Microsoft.Resources.json +++ /dev/null @@ -1,223 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2015-11-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": [ - "2015-11-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the deployment.", - "type": "string" - }, - "properties": { - "description": "Gets or sets 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": [ - "2015-11-01" - ], - "type": "string" - }, - "location": { - "description": "Gets or sets 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": "Gets or sets 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": { - "DeploymentProperties": { - "description": "Deployment properties.", - "properties": { - "mode": { - "description": "Gets or sets 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. Use only one of Parameters or ParametersLink.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parametersLink": { - "description": "Gets or sets the URI referencing the parameters. 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": "Gets or sets the template content. Use only one of Template or TemplateLink.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "templateLink": { - "description": "Gets or sets the URI referencing the template. Use only one of Template or TemplateLink.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "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" - } - } -} \ No newline at end of file diff --git a/schemas/2016-02-01/Microsoft.Resources.json b/schemas/2016-02-01/Microsoft.Resources.json deleted file mode 100644 index 58f163614b..0000000000 --- a/schemas/2016-02-01/Microsoft.Resources.json +++ /dev/null @@ -1,246 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2016-02-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-02-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-02-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" - } - } -} \ No newline at end of file diff --git a/schemas/2016-04-01/Microsoft.Authorization.Resources.json b/schemas/2016-04-01/Microsoft.Authorization.Resources.json deleted file mode 100644 index 9d64252750..0000000000 --- a/schemas/2016-04-01/Microsoft.Authorization.Resources.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2016-04-01/Microsoft.Authorization.Resources.json#", - "title": "Microsoft.Authorization", - "description": "Microsoft Authorization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "subscription_resourceDefinitions": { - "policydefinitions": { - "description": "Microsoft.Authorization/policydefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2016-04-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policydefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "unknown_resourceDefinitions": { - "policyassignments": { - "description": "Microsoft.Authorization/policyassignments", - "properties": { - "apiVersion": { - "enum": [ - "2016-04-01" - ], - "type": "string" - }, - "id": { - "description": "The ID of the policy assignment.", - "type": "string" - }, - "name": { - "description": "The name of the policy assignment.", - "type": "string" - }, - "properties": { - "description": "Properties for the policy assignment.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyAssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyassignments" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "PolicyAssignmentProperties": { - "description": "The policy assignment properties.", - "properties": { - "displayName": { - "description": "The display name of the policy assignment.", - "type": "string" - }, - "policyDefinitionId": { - "description": "The ID of the policy definition.", - "type": "string" - }, - "scope": { - "description": "The scope for the policy assignment.", - "type": "string" - } - }, - "type": "object" - }, - "PolicyDefinitionProperties": { - "description": "The policy definition properties.", - "properties": { - "description": { - "description": "The policy definition description.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy definition.", - "type": "string" - }, - "policyRule": { - "description": "The policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyType": { - "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "BuiltIn", - "Custom" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2016-07-01/Microsoft.Resources.json b/schemas/2016-07-01/Microsoft.Resources.json deleted file mode 100644 index 5b73ebebd5..0000000000 --- a/schemas/2016-07-01/Microsoft.Resources.json +++ /dev/null @@ -1,246 +0,0 @@ -{ - "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" - } - } -} \ No newline at end of file diff --git a/schemas/2016-09-01-preview/Microsoft.Solutions.resourcesolutions.json b/schemas/2016-09-01-preview/Microsoft.Solutions.resourcesolutions.json deleted file mode 100644 index c79d3cf77b..0000000000 --- a/schemas/2016-09-01-preview/Microsoft.Solutions.resourcesolutions.json +++ /dev/null @@ -1,443 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2016-09-01-preview/Microsoft.Solutions.resourcesolutions.json#", - "title": "Microsoft.Solutions", - "description": "Microsoft Solutions Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "applianceDefinitions": { - "description": "Microsoft.Solutions/applianceDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2016-09-01-preview" - ], - "type": "string" - }, - "identity": { - "description": "The identity of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Resource location", - "type": "string" - }, - "managedBy": { - "description": "ID of the resource that manages this resource.", - "type": "string" - }, - "name": { - "description": "The name of the appliance definition.", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "The appliance definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/ApplianceDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Solutions/applianceDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "appliances": { - "description": "Microsoft.Solutions/appliances", - "properties": { - "apiVersion": { - "enum": [ - "2016-09-01-preview" - ], - "type": "string" - }, - "identity": { - "description": "The identity of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "The kind of the appliance. Allowed values are MarketPlace and ServiceCatalog.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Resource location", - "type": "string" - }, - "managedBy": { - "description": "ID of the resource that manages this resource.", - "type": "string" - }, - "name": { - "description": "The name of the appliance.", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "description": "The plan information.", - "oneOf": [ - { - "$ref": "#/definitions/Plan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The appliance properties.", - "oneOf": [ - { - "$ref": "#/definitions/ApplianceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Solutions/appliances" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ApplianceArtifact": { - "description": "Appliance artifact.", - "properties": { - "name": { - "description": "The appliance artifact name.", - "type": "string" - }, - "type": { - "description": "The appliance artifact type.", - "oneOf": [ - { - "enum": [ - "Template", - "Custom" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "uri": { - "description": "The appliance artifact blob uri.", - "type": "string" - } - }, - "type": "object" - }, - "ApplianceDefinitionProperties": { - "description": "The appliance definition properties.", - "properties": { - "artifacts": { - "description": "The collection of appliance artifacts. The portal will use the files specified as artifacts to construct the user experience of creating an appliance from an appliance definition.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ApplianceArtifact" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "authorizations": { - "description": "The appliance provider authorizations.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ApplianceProviderAuthorization" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "The appliance definition description.", - "type": "string" - }, - "displayName": { - "description": "The appliance definition display name.", - "type": "string" - }, - "lockLevel": { - "description": "The appliance lock level.", - "oneOf": [ - { - "enum": [ - "CanNotDelete", - "ReadOnly", - "None" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFileUri": { - "description": "The appliance definition package file Uri.", - "type": "string" - } - }, - "required": [ - "lockLevel", - "authorizations", - "packageFileUri" - ], - "type": "object" - }, - "ApplianceProperties": { - "description": "The appliance properties.", - "properties": { - "applianceDefinitionId": { - "description": "The fully qualified path of appliance definition Id.", - "type": "string" - }, - "managedResourceGroupId": { - "description": "The managed resource group Id.", - "type": "string" - }, - "parameters": { - "description": "Name and value pairs that define the appliance parameters. It can be a JObject or a well formed JSON string.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "uiDefinitionUri": { - "description": "The blob URI where the UI definition file is located.", - "type": "string" - } - }, - "required": [ - "managedResourceGroupId" - ], - "type": "object" - }, - "ApplianceProviderAuthorization": { - "description": "The appliance provider authorization.", - "properties": { - "principalId": { - "description": "The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the appliance resources.", - "type": "string" - }, - "roleDefinitionId": { - "description": "The provider's role definition identifier. This role will define all the permissions that the provider must have on the appliance's container resource group. This role definition cannot have permission to delete the resource group.", - "type": "string" - } - }, - "required": [ - "principalId", - "roleDefinitionId" - ], - "type": "object" - }, - "Identity": { - "description": "Identity for the resource.", - "properties": { - "type": { - "description": "The identity type.", - "oneOf": [ - { - "enum": [ - "SystemAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "Plan": { - "description": "Plan for the appliance.", - "properties": { - "name": { - "description": "The plan name.", - "type": "string" - }, - "product": { - "description": "The product code.", - "type": "string" - }, - "promotionCode": { - "description": "The promotion code.", - "type": "string" - }, - "publisher": { - "description": "The publisher ID.", - "type": "string" - }, - "version": { - "description": "The plan's version.", - "type": "string" - } - }, - "required": [ - "name", - "publisher", - "product", - "version" - ], - "type": "object" - }, - "Sku": { - "description": "SKU for the resource.", - "properties": { - "capacity": { - "description": "The SKU capacity.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "The SKU family.", - "type": "string" - }, - "model": { - "description": "The SKU model.", - "type": "string" - }, - "name": { - "description": "The SKU name.", - "type": "string" - }, - "size": { - "description": "The SKU size.", - "type": "string" - }, - "tier": { - "description": "The SKU tier.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2016-09-01/Microsoft.Authorization.Resources.json b/schemas/2016-09-01/Microsoft.Authorization.Resources.json deleted file mode 100644 index ad915b6798..0000000000 --- a/schemas/2016-09-01/Microsoft.Authorization.Resources.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2016-09-01/Microsoft.Authorization.Resources.json#", - "title": "Microsoft.Authorization", - "description": "Microsoft Authorization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "unknown_resourceDefinitions": { - "locks": { - "description": "Microsoft.Authorization/locks", - "properties": { - "apiVersion": { - "enum": [ - "2016-09-01" - ], - "type": "string" - }, - "name": { - "description": "The lock name. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, \\, ?, /, or any control characters.", - "type": "string" - }, - "properties": { - "description": "The properties of the lock.", - "oneOf": [ - { - "$ref": "#/definitions/ManagementLockProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/locks" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ManagementLockOwner": { - "description": "Lock owner properties.", - "properties": { - "applicationId": { - "description": "The application ID of the lock owner.", - "type": "string" - } - }, - "type": "object" - }, - "ManagementLockProperties": { - "description": "The lock properties.", - "properties": { - "level": { - "description": "The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "CanNotDelete", - "ReadOnly" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "notes": { - "description": "Notes about the lock. Maximum of 512 characters.", - "type": "string" - }, - "owners": { - "description": "The owners of the lock.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ManagementLockOwner" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "level" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2016-09-01/Microsoft.Resources.json b/schemas/2016-09-01/Microsoft.Resources.json deleted file mode 100644 index 1be7b0e716..0000000000 --- a/schemas/2016-09-01/Microsoft.Resources.json +++ /dev/null @@ -1,260 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2016-09-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-09-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the deployment.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "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-09-01" - ], - "type": "string" - }, - "location": { - "description": "The location of the resource group. It cannot be changed after the resource group has been created. It must be one of the supported Azure locations.", - "type": "string" - }, - "managedBy": { - "description": "The ID of the resource that manages this resource group.", - "type": "string" - }, - "name": { - "description": "The name of the resource group to create or update.", - "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": "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.", - "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 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.", - "oneOf": [ - { - "enum": [ - "Incremental", - "Complete" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parametersLink": { - "description": "The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "template": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "templateLink": { - "description": "The URI of the template. Use either the templateLink property or the template property, but not both.", - "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, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the parameters file.", - "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, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the template to deploy.", - "type": "string" - } - }, - "required": [ - "uri" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2016-12-01/Microsoft.Authorization.Resources.json b/schemas/2016-12-01/Microsoft.Authorization.Resources.json deleted file mode 100644 index 560a685088..0000000000 --- a/schemas/2016-12-01/Microsoft.Authorization.Resources.json +++ /dev/null @@ -1,284 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2016-12-01/Microsoft.Authorization.Resources.json#", - "title": "Microsoft.Authorization", - "description": "Microsoft Authorization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "subscription_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2016-12-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "managementGroup_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2016-12-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "tenant_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2016-12-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "unknown_resourceDefinitions": { - "policyAssignments": { - "description": "Microsoft.Authorization/policyAssignments", - "properties": { - "apiVersion": { - "enum": [ - "2016-12-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy assignment.", - "type": "string" - }, - "properties": { - "description": "Properties for the policy assignment.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyAssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyAssignments" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "PolicyAssignmentProperties": { - "description": "The policy assignment properties.", - "properties": { - "description": { - "description": "This message will be part of response in case of policy violation.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy assignment.", - "type": "string" - }, - "parameters": { - "description": "Required if a parameter is used in policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyDefinitionId": { - "description": "The ID of the policy definition.", - "type": "string" - }, - "scope": { - "description": "The scope for the policy assignment.", - "type": "string" - } - }, - "type": "object" - }, - "PolicyDefinitionProperties": { - "description": "The policy definition properties.", - "properties": { - "description": { - "description": "The policy definition description.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy definition.", - "type": "string" - }, - "metadata": { - "description": "The policy definition metadata.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mode": { - "description": "The policy definition mode. Possible values are NotSpecified, Indexed, and All.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "Indexed", - "All" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "Required if a parameter is used in policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyRule": { - "description": "The policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyType": { - "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "BuiltIn", - "Custom" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2017-04-01/Microsoft.Authorization.Resources.json b/schemas/2017-04-01/Microsoft.Authorization.Resources.json deleted file mode 100644 index 92ccd1b423..0000000000 --- a/schemas/2017-04-01/Microsoft.Authorization.Resources.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2017-04-01/Microsoft.Authorization.Resources.json#", - "title": "Microsoft.Authorization", - "description": "Microsoft Authorization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "unknown_resourceDefinitions": { - "locks": { - "description": "Microsoft.Authorization/locks", - "properties": { - "apiVersion": { - "enum": [ - "2017-04-01" - ], - "type": "string" - }, - "name": { - "description": "The lock name. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, \\, ?, /, or any control characters.", - "type": "string" - }, - "properties": { - "description": "The properties of the lock.", - "oneOf": [ - { - "$ref": "#/definitions/ManagementLockProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/locks" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ManagementLockOwner": { - "description": "Lock owner properties.", - "properties": { - "applicationId": { - "description": "The application ID of the lock owner.", - "type": "string" - } - }, - "type": "object" - }, - "ManagementLockProperties": { - "description": "The lock properties.", - "properties": { - "level": { - "description": "The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "CanNotDelete", - "ReadOnly" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "notes": { - "description": "Notes about the lock. Maximum of 512 characters.", - "type": "string" - }, - "owners": { - "description": "The owners of the lock.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ManagementLockOwner" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "level" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2017-05-10/Microsoft.Resources.json b/schemas/2017-05-10/Microsoft.Resources.json deleted file mode 100644 index 2feb539741..0000000000 --- a/schemas/2017-05-10/Microsoft.Resources.json +++ /dev/null @@ -1,266 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2017-05-10/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": [ - "2017-05-10" - ], - "type": "string" - }, - "name": { - "description": "The name of the deployment.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "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" - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "subscription_resourceDefinitions": { - "resourceGroups": { - "description": "Microsoft.Resources/resourceGroups", - "properties": { - "apiVersion": { - "enum": [ - "2017-05-10" - ], - "type": "string" - }, - "location": { - "description": "The location of the resource group. It cannot be changed after the resource group has been created. It must be one of the supported Azure locations.", - "type": "string" - }, - "managedBy": { - "description": "The ID of the resource that manages this resource group.", - "type": "string" - }, - "name": { - "description": "The name of the resource group to create or update.", - "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": "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.", - "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 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.", - "oneOf": [ - { - "enum": [ - "Incremental", - "Complete" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parametersLink": { - "description": "The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "template": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "templateLink": { - "description": "The URI of the template. Use either the templateLink property or the template property, but not both.", - "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, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the parameters file.", - "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, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the template to deploy.", - "type": "string" - } - }, - "required": [ - "uri" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2017-06-01-preview/Microsoft.Authorization.Resources.json b/schemas/2017-06-01-preview/Microsoft.Authorization.Resources.json deleted file mode 100644 index 404b007368..0000000000 --- a/schemas/2017-06-01-preview/Microsoft.Authorization.Resources.json +++ /dev/null @@ -1,348 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2017-06-01-preview/Microsoft.Authorization.Resources.json#", - "title": "Microsoft.Authorization", - "description": "Microsoft Authorization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "subscription_resourceDefinitions": { - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2017-06-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "managementGroup_resourceDefinitions": { - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2017-06-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "tenant_resourceDefinitions": { - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2017-06-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "unknown_resourceDefinitions": { - "policyAssignments": { - "description": "Microsoft.Authorization/policyAssignments", - "properties": { - "apiVersion": { - "enum": [ - "2017-06-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy assignment.", - "type": "string" - }, - "properties": { - "description": "Properties for the policy assignment.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyAssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The policy sku.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyAssignments" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "PolicyAssignmentProperties": { - "description": "The policy assignment properties.", - "properties": { - "description": { - "description": "This message will be part of response in case of policy violation.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy assignment.", - "type": "string" - }, - "metadata": { - "description": "The policy assignment metadata.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "notScopes": { - "description": "The policy's excluded scopes.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "Required if a parameter is used in policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyDefinitionId": { - "description": "The ID of the policy definition.", - "type": "string" - }, - "scope": { - "description": "The scope for the policy assignment.", - "type": "string" - } - }, - "type": "object" - }, - "PolicyDefinitionReference": { - "description": "The policy definition reference.", - "properties": { - "parameters": { - "description": "Required if a parameter is used in policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyDefinitionId": { - "description": "The ID of the policy definition or policy set definition.", - "type": "string" - } - }, - "type": "object" - }, - "PolicySetDefinitionProperties": { - "description": "The policy set definition properties.", - "properties": { - "description": { - "description": "The policy set definition description.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy set definition.", - "type": "string" - }, - "metadata": { - "description": "The policy set definition metadata.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "The policy set definition parameters that can be used in policy definition references.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyDefinitions": { - "description": "An array of policy definition references.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/PolicyDefinitionReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyType": { - "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "BuiltIn", - "Custom" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "policyDefinitions" - ], - "type": "object" - }, - "PolicySku": { - "description": "The policy sku.", - "properties": { - "name": { - "description": "The name of the policy sku. Possible values are A0 and A1.", - "type": "string" - }, - "tier": { - "description": "The policy sku tier. Possible values are Free and Standard.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2017-09-01/Microsoft.Solutions.resourcesolutions.json b/schemas/2017-09-01/Microsoft.Solutions.resourcesolutions.json deleted file mode 100644 index 8ab4244f3f..0000000000 --- a/schemas/2017-09-01/Microsoft.Solutions.resourcesolutions.json +++ /dev/null @@ -1,468 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2017-09-01/Microsoft.Solutions.resourcesolutions.json#", - "title": "Microsoft.Solutions", - "description": "Microsoft Solutions Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "applicationDefinitions": { - "description": "Microsoft.Solutions/applicationDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2017-09-01" - ], - "type": "string" - }, - "identity": { - "description": "The identity of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Resource location", - "type": "string" - }, - "managedBy": { - "description": "ID of the resource that manages this resource.", - "type": "string" - }, - "name": { - "description": "The name of the managed application definition.", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "The managed application definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Solutions/applicationDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applications": { - "description": "Microsoft.Solutions/applications", - "properties": { - "apiVersion": { - "enum": [ - "2017-09-01" - ], - "type": "string" - }, - "identity": { - "description": "The identity of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Resource location", - "type": "string" - }, - "managedBy": { - "description": "ID of the resource that manages this resource.", - "type": "string" - }, - "name": { - "description": "The name of the managed application.", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "description": "The plan information.", - "oneOf": [ - { - "$ref": "#/definitions/Plan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The managed application properties.", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Solutions/applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ApplicationArtifact": { - "description": "Managed application artifact.", - "properties": { - "name": { - "description": "The managed application artifact name.", - "type": "string" - }, - "type": { - "description": "The managed application artifact type.", - "oneOf": [ - { - "enum": [ - "Template", - "Custom" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "uri": { - "description": "The managed application artifact blob uri.", - "type": "string" - } - }, - "type": "object" - }, - "ApplicationDefinitionProperties": { - "description": "The managed application definition properties.", - "properties": { - "artifacts": { - "description": "The collection of managed application artifacts. The portal will use the files specified as artifacts to construct the user experience of creating a managed application from a managed application definition.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ApplicationArtifact" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "authorizations": { - "description": "The managed application provider authorizations.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ApplicationProviderAuthorization" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "createUiDefinition": { - "description": "The createUiDefinition json for the backing template with Microsoft.Solutions/applications resource. It can be a JObject or well-formed JSON string.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "The managed application definition description.", - "type": "string" - }, - "displayName": { - "description": "The managed application definition display name.", - "type": "string" - }, - "isEnabled": { - "description": "A value indicating whether the package is enabled or not.", - "type": "string" - }, - "lockLevel": { - "description": "The managed application lock level.", - "oneOf": [ - { - "enum": [ - "CanNotDelete", - "ReadOnly", - "None" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mainTemplate": { - "description": "The inline main template json which has resources to be provisioned. It can be a JObject or well-formed JSON string.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFileUri": { - "description": "The managed application definition package file Uri. Use this element", - "type": "string" - } - }, - "required": [ - "lockLevel", - "authorizations" - ], - "type": "object" - }, - "ApplicationProperties": { - "description": "The managed application properties.", - "properties": { - "applicationDefinitionId": { - "description": "The fully qualified path of managed application definition Id.", - "type": "string" - }, - "managedResourceGroupId": { - "description": "The managed resource group Id.", - "type": "string" - }, - "parameters": { - "description": "Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "uiDefinitionUri": { - "description": "The blob URI where the UI definition file is located.", - "type": "string" - } - }, - "required": [ - "managedResourceGroupId" - ], - "type": "object" - }, - "ApplicationProviderAuthorization": { - "description": "The managed application provider authorization.", - "properties": { - "principalId": { - "description": "The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the managed application resources.", - "type": "string" - }, - "roleDefinitionId": { - "description": "The provider's role definition identifier. This role will define all the permissions that the provider must have on the managed application's container resource group. This role definition cannot have permission to delete the resource group.", - "type": "string" - } - }, - "required": [ - "principalId", - "roleDefinitionId" - ], - "type": "object" - }, - "Identity": { - "description": "Identity for the resource.", - "properties": { - "type": { - "description": "The identity type.", - "oneOf": [ - { - "enum": [ - "SystemAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "Plan": { - "description": "Plan for the managed application.", - "properties": { - "name": { - "description": "The plan name.", - "type": "string" - }, - "product": { - "description": "The product code.", - "type": "string" - }, - "promotionCode": { - "description": "The promotion code.", - "type": "string" - }, - "publisher": { - "description": "The publisher ID.", - "type": "string" - }, - "version": { - "description": "The plan's version.", - "type": "string" - } - }, - "required": [ - "name", - "publisher", - "product", - "version" - ], - "type": "object" - }, - "Sku": { - "description": "SKU for the resource.", - "properties": { - "capacity": { - "description": "The SKU capacity.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "The SKU family.", - "type": "string" - }, - "model": { - "description": "The SKU model.", - "type": "string" - }, - "name": { - "description": "The SKU name.", - "type": "string" - }, - "size": { - "description": "The SKU size.", - "type": "string" - }, - "tier": { - "description": "The SKU tier.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2018-02-01/Microsoft.Resources.json b/schemas/2018-02-01/Microsoft.Resources.json deleted file mode 100644 index 191258d43e..0000000000 --- a/schemas/2018-02-01/Microsoft.Resources.json +++ /dev/null @@ -1,302 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-02-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": [ - "2018-02-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the deployment.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "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" - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "subscription_resourceDefinitions": { - "resourceGroups": { - "description": "Microsoft.Resources/resourceGroups", - "properties": { - "apiVersion": { - "enum": [ - "2018-02-01" - ], - "type": "string" - }, - "location": { - "description": "The location of the resource group. It cannot be changed after the resource group has been created. It must be one of the supported Azure locations.", - "type": "string" - }, - "managedBy": { - "description": "The ID of the resource that manages this resource group.", - "type": "string" - }, - "name": { - "description": "The name of the resource group to create or update.", - "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": "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.", - "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 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.", - "oneOf": [ - { - "enum": [ - "Incremental", - "Complete" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "onErrorDeployment": { - "description": "The deployment on error behavior.", - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parametersLink": { - "description": "The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "template": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "templateLink": { - "description": "The URI of the template. Use either the templateLink property or the template property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "mode" - ], - "type": "object" - }, - "OnErrorDeployment": { - "description": "Deployment on error behavior.", - "properties": { - "deploymentName": { - "description": "The deployment to be used on error case.", - "type": "string" - }, - "type": { - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.", - "oneOf": [ - { - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ParametersLink": { - "description": "Entity representing the reference to the deployment parameters.", - "properties": { - "contentVersion": { - "description": "If included, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the parameters file.", - "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, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the template to deploy.", - "type": "string" - } - }, - "required": [ - "uri" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2018-03-01/Microsoft.Authorization.Resources.json b/schemas/2018-03-01/Microsoft.Authorization.Resources.json deleted file mode 100644 index e2e3611dea..0000000000 --- a/schemas/2018-03-01/Microsoft.Authorization.Resources.json +++ /dev/null @@ -1,544 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.Resources.json#", - "title": "Microsoft.Authorization", - "description": "Microsoft Authorization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "subscription_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2018-03-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2018-03-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "managementGroup_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2018-03-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2018-03-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "tenant_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2018-03-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2018-03-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "unknown_resourceDefinitions": { - "policyAssignments": { - "description": "Microsoft.Authorization/policyAssignments", - "properties": { - "apiVersion": { - "enum": [ - "2018-03-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy assignment.", - "type": "string" - }, - "properties": { - "description": "Properties for the policy assignment.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyAssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The policy sku. This property is optional, obsolete, and will be ignored.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyAssignments" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "PolicyAssignmentProperties": { - "description": "The policy assignment properties.", - "properties": { - "description": { - "description": "This message will be part of response in case of policy violation.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy assignment.", - "type": "string" - }, - "metadata": { - "description": "The policy assignment metadata.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "notScopes": { - "description": "The policy's excluded scopes.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "Required if a parameter is used in policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyDefinitionId": { - "description": "The ID of the policy definition or policy set definition being assigned.", - "type": "string" - }, - "scope": { - "description": "The scope for the policy assignment.", - "type": "string" - } - }, - "type": "object" - }, - "PolicyDefinitionProperties": { - "description": "The policy definition properties.", - "properties": { - "description": { - "description": "The policy definition description.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy definition.", - "type": "string" - }, - "metadata": { - "description": "The policy definition metadata.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mode": { - "description": "The policy definition mode. Possible values are NotSpecified, Indexed, and All.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "Indexed", - "All" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "Required if a parameter is used in policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyRule": { - "description": "The policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyType": { - "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "BuiltIn", - "Custom" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "PolicyDefinitionReference": { - "description": "The policy definition reference.", - "properties": { - "parameters": { - "description": "Required if a parameter is used in policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyDefinitionId": { - "description": "The ID of the policy definition or policy set definition.", - "type": "string" - } - }, - "type": "object" - }, - "PolicySetDefinitionProperties": { - "description": "The policy set definition properties.", - "properties": { - "description": { - "description": "The policy set definition description.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy set definition.", - "type": "string" - }, - "metadata": { - "description": "The policy set definition metadata.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "The policy set definition parameters that can be used in policy definition references.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyDefinitions": { - "description": "An array of policy definition references.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/PolicyDefinitionReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyType": { - "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "BuiltIn", - "Custom" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "policyDefinitions" - ], - "type": "object" - }, - "PolicySku": { - "description": "The policy sku. This property is optional, obsolete, and will be ignored.", - "properties": { - "name": { - "description": "The name of the policy sku. Possible values are A0 and A1.", - "type": "string" - }, - "tier": { - "description": "The policy sku tier. Possible values are Free and Standard.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2018-05-01/Microsoft.Authorization.Resources.json b/schemas/2018-05-01/Microsoft.Authorization.Resources.json deleted file mode 100644 index 45fe8fe9a7..0000000000 --- a/schemas/2018-05-01/Microsoft.Authorization.Resources.json +++ /dev/null @@ -1,580 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.Resources.json#", - "title": "Microsoft.Authorization", - "description": "Microsoft Authorization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "subscription_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2018-05-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2018-05-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "managementGroup_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2018-05-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2018-05-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "tenant_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2018-05-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2018-05-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "unknown_resourceDefinitions": { - "policyAssignments": { - "description": "Microsoft.Authorization/policyAssignments", - "properties": { - "apiVersion": { - "enum": [ - "2018-05-01" - ], - "type": "string" - }, - "identity": { - "description": "The managed identity associated with the policy assignment.", - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The location of the policy assignment. Only required when utilizing managed identity.", - "type": "string" - }, - "name": { - "description": "The name of the policy assignment.", - "type": "string" - }, - "properties": { - "description": "Properties for the policy assignment.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyAssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The policy sku. This property is optional, obsolete, and will be ignored.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyAssignments" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "Identity": { - "description": "Identity for the resource.", - "properties": { - "type": { - "description": "The identity type.", - "oneOf": [ - { - "enum": [ - "SystemAssigned", - "None" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "PolicyAssignmentProperties": { - "description": "The policy assignment properties.", - "properties": { - "description": { - "description": "This message will be part of response in case of policy violation.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy assignment.", - "type": "string" - }, - "metadata": { - "description": "The policy assignment metadata.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "notScopes": { - "description": "The policy's excluded scopes.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "Required if a parameter is used in policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyDefinitionId": { - "description": "The ID of the policy definition or policy set definition being assigned.", - "type": "string" - }, - "scope": { - "description": "The scope for the policy assignment.", - "type": "string" - } - }, - "type": "object" - }, - "PolicyDefinitionProperties": { - "description": "The policy definition properties.", - "properties": { - "description": { - "description": "The policy definition description.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy definition.", - "type": "string" - }, - "metadata": { - "description": "The policy definition metadata.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mode": { - "description": "The policy definition mode. Possible values are NotSpecified, Indexed, and All.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "Indexed", - "All" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "Required if a parameter is used in policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyRule": { - "description": "The policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyType": { - "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "BuiltIn", - "Custom" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "PolicyDefinitionReference": { - "description": "The policy definition reference.", - "properties": { - "parameters": { - "description": "Required if a parameter is used in policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyDefinitionId": { - "description": "The ID of the policy definition or policy set definition.", - "type": "string" - } - }, - "type": "object" - }, - "PolicySetDefinitionProperties": { - "description": "The policy set definition properties.", - "properties": { - "description": { - "description": "The policy set definition description.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy set definition.", - "type": "string" - }, - "metadata": { - "description": "The policy set definition metadata.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "The policy set definition parameters that can be used in policy definition references.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyDefinitions": { - "description": "An array of policy definition references.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/PolicyDefinitionReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyType": { - "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "BuiltIn", - "Custom" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "policyDefinitions" - ], - "type": "object" - }, - "PolicySku": { - "description": "The policy sku. This property is optional, obsolete, and will be ignored.", - "properties": { - "name": { - "description": "The name of the policy sku. Possible values are A0 and A1.", - "type": "string" - }, - "tier": { - "description": "The policy sku tier. Possible values are Free and Standard.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2018-05-01/Microsoft.Resources.json b/schemas/2018-05-01/Microsoft.Resources.json deleted file mode 100644 index 882a47a36d..0000000000 --- a/schemas/2018-05-01/Microsoft.Resources.json +++ /dev/null @@ -1,352 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-05-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": [ - "2018-05-01" - ], - "type": "string" - }, - "location": { - "description": "The location to store the deployment data.", - "type": "string" - }, - "name": { - "description": "The name of the deployment.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "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" - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "subscription_resourceDefinitions": { - "deployments": { - "description": "Microsoft.Resources/deployments", - "properties": { - "apiVersion": { - "enum": [ - "2018-05-01" - ], - "type": "string" - }, - "location": { - "description": "The location to store the deployment data.", - "type": "string" - }, - "name": { - "description": "The name of the deployment.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "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" - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "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": { - "properties": { - "detailLevel": { - "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.", - "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 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.", - "oneOf": [ - { - "enum": [ - "Incremental", - "Complete" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "onErrorDeployment": { - "description": "The deployment on error behavior.", - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parametersLink": { - "description": "The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "template": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "templateLink": { - "description": "The URI of the template. Use either the templateLink property or the template property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "mode" - ], - "type": "object" - }, - "OnErrorDeployment": { - "description": "Deployment on error behavior.", - "properties": { - "deploymentName": { - "description": "The deployment to be used on error case.", - "type": "string" - }, - "type": { - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.", - "oneOf": [ - { - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ParametersLink": { - "description": "Entity representing the reference to the deployment parameters.", - "properties": { - "contentVersion": { - "description": "If included, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the parameters file.", - "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, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the template to deploy.", - "type": "string" - } - }, - "required": [ - "uri" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2018-05-01/subscriptionDeploymentTemplate.json b/schemas/2018-05-01/subscriptionDeploymentTemplate.json index 0ec7b8e350..8c258ecd5f 100644 --- a/schemas/2018-05-01/subscriptionDeploymentTemplate.json +++ b/schemas/2018-05-01/subscriptionDeploymentTemplate.json @@ -647,153 +647,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Authorization.Authz.json#/unknown_resourceDefinitions/roleDefinitions" }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-01-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/locks" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-10-01-preview/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policydefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-10-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyassignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-11-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policydefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-11-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-04-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policydefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-04-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyassignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-09-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/locks" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-12-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-12-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-04-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/locks" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-06-01-preview/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-06-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/locks" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyExemptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-06-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-07-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyExemptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-08-01-preview/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/variables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-08-01-preview/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/variables_values" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policyDefinitions_versions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policySetDefinitions_versions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-04-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, { "$ref": "https://schema.management.azure.com/schemas/2018-11-01-preview/Microsoft.Billing.json#/subscription_resourceDefinitions/billingAccounts_lineOfCredit" }, @@ -1121,9 +974,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2024-06-01-preview/Microsoft.EventGrid.json#/unknown_resourceDefinitions/eventSubscriptions" }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Features.json#/subscription_resourceDefinitions/featureProviders_subscriptionFeatureRegistrations" - }, { "$ref": "https://schema.management.azure.com/schemas/2020-01-01-preview/Microsoft.HybridNetwork.json#/subscription_resourceDefinitions/locations_vendors_networkFunctions" }, @@ -1472,180 +1322,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.ProviderHub.json#/subscription_resourceDefinitions/providerRegistrations_resourcetypeRegistrations_skus" }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-11-01/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-02-01/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-07-01/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-09-01/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-05-10/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-02-01/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$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/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Resources.json#/unknown_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-08-01/Microsoft.Resources.json#/unknown_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/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#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$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/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#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-01/Microsoft.Resources.json#/unknown_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#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.Resources.json#/unknown_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#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Resources.json#/unknown_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#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$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/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#/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/2022-03-01-preview/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-05-01/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-08-01-preview/Microsoft.Resources.json#/subscription_resourceDefinitions/deploymentStacks" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-08-01-preview/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-09-01/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-09-01/Microsoft.Resources.json#/unknown_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-09-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-11-01-preview/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-03-01-preview/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Resources.json#/unknown_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-07-01-preview/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-08-01/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-03-01/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-03-01/Microsoft.Resources.json#/unknown_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-03-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags" - }, { "$ref": "https://schema.management.azure.com/schemas/2019-05-01-preview/Microsoft.Support.json#/subscription_resourceDefinitions/supportTickets" }, diff --git a/schemas/2018-06-01/Microsoft.Solutions.resourcesolutions.json b/schemas/2018-06-01/Microsoft.Solutions.resourcesolutions.json deleted file mode 100644 index 55225689a7..0000000000 --- a/schemas/2018-06-01/Microsoft.Solutions.resourcesolutions.json +++ /dev/null @@ -1,464 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Solutions.resourcesolutions.json#", - "title": "Microsoft.Solutions", - "description": "Microsoft Solutions Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "applicationDefinitions": { - "description": "Microsoft.Solutions/applicationDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2018-06-01" - ], - "type": "string" - }, - "identity": { - "description": "The identity of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Resource location", - "type": "string" - }, - "managedBy": { - "description": "ID of the resource that manages this resource.", - "type": "string" - }, - "name": { - "description": "The name of the managed application definition.", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "The managed application definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Solutions/applicationDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applications": { - "description": "Microsoft.Solutions/applications", - "properties": { - "apiVersion": { - "enum": [ - "2018-06-01" - ], - "type": "string" - }, - "identity": { - "description": "The identity of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Resource location", - "type": "string" - }, - "managedBy": { - "description": "ID of the resource that manages this resource.", - "type": "string" - }, - "name": { - "description": "The name of the managed application.", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "description": "The plan information.", - "oneOf": [ - { - "$ref": "#/definitions/Plan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The managed application properties.", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Solutions/applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ApplicationArtifact": { - "description": "Managed application artifact.", - "properties": { - "name": { - "description": "The managed application artifact name.", - "type": "string" - }, - "type": { - "description": "The managed application artifact type.", - "oneOf": [ - { - "enum": [ - "Template", - "Custom" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "uri": { - "description": "The managed application artifact blob uri.", - "type": "string" - } - }, - "type": "object" - }, - "ApplicationDefinitionProperties": { - "description": "The managed application definition properties.", - "properties": { - "artifacts": { - "description": "The collection of managed application artifacts. The portal will use the files specified as artifacts to construct the user experience of creating a managed application from a managed application definition.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ApplicationArtifact" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "authorizations": { - "description": "The managed application provider authorizations.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ApplicationProviderAuthorization" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "createUiDefinition": { - "description": "The createUiDefinition json for the backing template with Microsoft.Solutions/applications resource. It can be a JObject or well-formed JSON string.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "The managed application definition description.", - "type": "string" - }, - "displayName": { - "description": "The managed application definition display name.", - "type": "string" - }, - "isEnabled": { - "description": "A value indicating whether the package is enabled or not.", - "type": "string" - }, - "lockLevel": { - "description": "The managed application lock level.", - "oneOf": [ - { - "enum": [ - "CanNotDelete", - "ReadOnly", - "None" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mainTemplate": { - "description": "The inline main template json which has resources to be provisioned. It can be a JObject or well-formed JSON string.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFileUri": { - "description": "The managed application definition package file Uri. Use this element", - "type": "string" - } - }, - "required": [ - "lockLevel", - "authorizations" - ], - "type": "object" - }, - "ApplicationProperties": { - "description": "The managed application properties.", - "properties": { - "applicationDefinitionId": { - "description": "The fully qualified path of managed application definition Id.", - "type": "string" - }, - "managedResourceGroupId": { - "description": "The managed resource group Id.", - "type": "string" - }, - "parameters": { - "description": "Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "managedResourceGroupId" - ], - "type": "object" - }, - "ApplicationProviderAuthorization": { - "description": "The managed application provider authorization.", - "properties": { - "principalId": { - "description": "The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the managed application resources.", - "type": "string" - }, - "roleDefinitionId": { - "description": "The provider's role definition identifier. This role will define all the permissions that the provider must have on the managed application's container resource group. This role definition cannot have permission to delete the resource group.", - "type": "string" - } - }, - "required": [ - "principalId", - "roleDefinitionId" - ], - "type": "object" - }, - "Identity": { - "description": "Identity for the resource.", - "properties": { - "type": { - "description": "The identity type.", - "oneOf": [ - { - "enum": [ - "SystemAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "Plan": { - "description": "Plan for the managed application.", - "properties": { - "name": { - "description": "The plan name.", - "type": "string" - }, - "product": { - "description": "The product code.", - "type": "string" - }, - "promotionCode": { - "description": "The promotion code.", - "type": "string" - }, - "publisher": { - "description": "The publisher ID.", - "type": "string" - }, - "version": { - "description": "The plan's version.", - "type": "string" - } - }, - "required": [ - "name", - "publisher", - "product", - "version" - ], - "type": "object" - }, - "Sku": { - "description": "SKU for the resource.", - "properties": { - "capacity": { - "description": "The SKU capacity.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "The SKU family.", - "type": "string" - }, - "model": { - "description": "The SKU model.", - "type": "string" - }, - "name": { - "description": "The SKU name.", - "type": "string" - }, - "size": { - "description": "The SKU size.", - "type": "string" - }, - "tier": { - "description": "The SKU tier.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2019-01-01/Microsoft.Authorization.Resources.json b/schemas/2019-01-01/Microsoft.Authorization.Resources.json deleted file mode 100644 index 78caae2974..0000000000 --- a/schemas/2019-01-01/Microsoft.Authorization.Resources.json +++ /dev/null @@ -1,568 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.Resources.json#", - "title": "Microsoft.Authorization", - "description": "Microsoft Authorization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "subscription_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2019-01-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2019-01-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "managementGroup_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2019-01-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2019-01-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "tenant_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2019-01-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2019-01-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "unknown_resourceDefinitions": { - "policyAssignments": { - "description": "Microsoft.Authorization/policyAssignments", - "properties": { - "apiVersion": { - "enum": [ - "2019-01-01" - ], - "type": "string" - }, - "identity": { - "description": "The managed identity associated with the policy assignment.", - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The location of the policy assignment. Only required when utilizing managed identity.", - "type": "string" - }, - "name": { - "description": "The name of the policy assignment.", - "type": "string" - }, - "properties": { - "description": "Properties for the policy assignment.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyAssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The policy sku. This property is optional, obsolete, and will be ignored.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyAssignments" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "Identity": { - "description": "Identity for the resource.", - "properties": { - "type": { - "description": "The identity type.", - "oneOf": [ - { - "enum": [ - "SystemAssigned", - "None" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "PolicyAssignmentProperties": { - "description": "The policy assignment properties.", - "properties": { - "description": { - "description": "This message will be part of response in case of policy violation.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy assignment.", - "type": "string" - }, - "metadata": { - "description": "The policy assignment metadata.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "notScopes": { - "description": "The policy's excluded scopes.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "Required if a parameter is used in policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyDefinitionId": { - "description": "The ID of the policy definition or policy set definition being assigned.", - "type": "string" - }, - "scope": { - "description": "The scope for the policy assignment.", - "type": "string" - } - }, - "type": "object" - }, - "PolicyDefinitionProperties": { - "description": "The policy definition properties.", - "properties": { - "description": { - "description": "The policy definition description.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy definition.", - "type": "string" - }, - "metadata": { - "description": "The policy definition metadata.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mode": { - "description": "The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data.", - "type": "string" - }, - "parameters": { - "description": "Required if a parameter is used in policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyRule": { - "description": "The policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyType": { - "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "BuiltIn", - "Custom" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "PolicyDefinitionReference": { - "description": "The policy definition reference.", - "properties": { - "parameters": { - "description": "Required if a parameter is used in policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyDefinitionId": { - "description": "The ID of the policy definition or policy set definition.", - "type": "string" - } - }, - "type": "object" - }, - "PolicySetDefinitionProperties": { - "description": "The policy set definition properties.", - "properties": { - "description": { - "description": "The policy set definition description.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy set definition.", - "type": "string" - }, - "metadata": { - "description": "The policy set definition metadata.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "The policy set definition parameters that can be used in policy definition references.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyDefinitions": { - "description": "An array of policy definition references.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/PolicyDefinitionReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyType": { - "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "BuiltIn", - "Custom" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "policyDefinitions" - ], - "type": "object" - }, - "PolicySku": { - "description": "The policy sku. This property is optional, obsolete, and will be ignored.", - "properties": { - "name": { - "description": "The name of the policy sku. Possible values are A0 and A1.", - "type": "string" - }, - "tier": { - "description": "The policy sku tier. Possible values are Free and Standard.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2019-03-01/Microsoft.Resources.json b/schemas/2019-03-01/Microsoft.Resources.json deleted file mode 100644 index 1eef685acd..0000000000 --- a/schemas/2019-03-01/Microsoft.Resources.json +++ /dev/null @@ -1,352 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-03-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": [ - "2019-03-01" - ], - "type": "string" - }, - "location": { - "description": "The location to store the deployment data.", - "type": "string" - }, - "name": { - "description": "The name of the deployment.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "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" - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "subscription_resourceDefinitions": { - "deployments": { - "description": "Microsoft.Resources/deployments", - "properties": { - "apiVersion": { - "enum": [ - "2019-03-01" - ], - "type": "string" - }, - "location": { - "description": "The location to store the deployment data.", - "type": "string" - }, - "name": { - "description": "The name of the deployment.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "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" - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "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": { - "properties": { - "detailLevel": { - "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.", - "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 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.", - "oneOf": [ - { - "enum": [ - "Incremental", - "Complete" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "onErrorDeployment": { - "description": "The deployment on error behavior.", - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parametersLink": { - "description": "The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "template": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "templateLink": { - "description": "The URI of the template. Use either the templateLink property or the template property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "mode" - ], - "type": "object" - }, - "OnErrorDeployment": { - "description": "Deployment on error behavior.", - "properties": { - "deploymentName": { - "description": "The deployment to be used on error case.", - "type": "string" - }, - "type": { - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.", - "oneOf": [ - { - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ParametersLink": { - "description": "Entity representing the reference to the deployment parameters.", - "properties": { - "contentVersion": { - "description": "If included, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the parameters file.", - "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, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the template to deploy.", - "type": "string" - } - }, - "required": [ - "uri" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2019-05-01/Microsoft.Resources.json b/schemas/2019-05-01/Microsoft.Resources.json deleted file mode 100644 index 43087d86b9..0000000000 --- a/schemas/2019-05-01/Microsoft.Resources.json +++ /dev/null @@ -1,412 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-05-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": [ - "2019-05-01" - ], - "type": "string" - }, - "location": { - "description": "The location to store the deployment data.", - "type": "string" - }, - "name": { - "description": "The name of the deployment.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "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" - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "subscription_resourceDefinitions": { - "deployments": { - "description": "Microsoft.Resources/deployments", - "properties": { - "apiVersion": { - "enum": [ - "2019-05-01" - ], - "type": "string" - }, - "location": { - "description": "The location to store the deployment data.", - "type": "string" - }, - "name": { - "description": "The name of the deployment.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "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" - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "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": { - "description": "Microsoft.Resources/deployments", - "properties": { - "apiVersion": { - "enum": [ - "2019-05-01" - ], - "type": "string" - }, - "location": { - "description": "The location to store the deployment data.", - "type": "string" - }, - "name": { - "description": "The name of the deployment.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "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" - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "DebugSetting": { - "description": "The debug setting.", - "properties": { - "detailLevel": { - "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.", - "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 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.", - "oneOf": [ - { - "enum": [ - "Incremental", - "Complete" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "onErrorDeployment": { - "description": "The deployment on error behavior.", - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parametersLink": { - "description": "The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "template": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "templateLink": { - "description": "The URI of the template. Use either the templateLink property or the template property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "mode" - ], - "type": "object" - }, - "OnErrorDeployment": { - "description": "Deployment on error behavior.", - "properties": { - "deploymentName": { - "description": "The deployment to be used on error case.", - "type": "string" - }, - "type": { - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.", - "oneOf": [ - { - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ParametersLink": { - "description": "Entity representing the reference to the deployment parameters.", - "properties": { - "contentVersion": { - "description": "If included, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the parameters file.", - "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, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the template to deploy.", - "type": "string" - } - }, - "required": [ - "uri" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2019-05-10/Microsoft.Resources.json b/schemas/2019-05-10/Microsoft.Resources.json deleted file mode 100644 index ccb64b071a..0000000000 --- a/schemas/2019-05-10/Microsoft.Resources.json +++ /dev/null @@ -1,412 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-05-10/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": [ - "2019-05-10" - ], - "type": "string" - }, - "location": { - "description": "The location to store the deployment data.", - "type": "string" - }, - "name": { - "description": "The name of the deployment.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "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" - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "subscription_resourceDefinitions": { - "deployments": { - "description": "Microsoft.Resources/deployments", - "properties": { - "apiVersion": { - "enum": [ - "2019-05-10" - ], - "type": "string" - }, - "location": { - "description": "The location to store the deployment data.", - "type": "string" - }, - "name": { - "description": "The name of the deployment.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "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" - }, - "resourceGroup": { - "type": "string", - "description": "The resource group to deploy to", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90 - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "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": { - "description": "Microsoft.Resources/deployments", - "properties": { - "apiVersion": { - "enum": [ - "2019-05-10" - ], - "type": "string" - }, - "location": { - "description": "The location to store the deployment data.", - "type": "string" - }, - "name": { - "description": "The name of the deployment.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "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" - }, - "subscriptionId": { - "type": "string", - "description": "The subscription to deploy to" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "DebugSetting": { - "description": "The debug setting.", - "properties": { - "detailLevel": { - "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.", - "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 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.", - "oneOf": [ - { - "enum": [ - "Incremental", - "Complete" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "onErrorDeployment": { - "description": "The deployment on error behavior.", - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parametersLink": { - "description": "The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "template": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "templateLink": { - "description": "The URI of the template. Use either the templateLink property or the template property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "mode" - ], - "type": "object" - }, - "OnErrorDeployment": { - "description": "Deployment on error behavior.", - "properties": { - "deploymentName": { - "description": "The deployment to be used on error case.", - "type": "string" - }, - "type": { - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.", - "oneOf": [ - { - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ParametersLink": { - "description": "Entity representing the reference to the deployment parameters.", - "properties": { - "contentVersion": { - "description": "If included, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the parameters file.", - "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, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the template to deploy.", - "type": "string" - } - }, - "required": [ - "uri" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2019-06-01-preview/Microsoft.Resources.json b/schemas/2019-06-01-preview/Microsoft.Resources.json deleted file mode 100644 index f3e823a9a0..0000000000 --- a/schemas/2019-06-01-preview/Microsoft.Resources.json +++ /dev/null @@ -1,375 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-06-01-preview/Microsoft.Resources.json#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "templateSpecs": { - "description": "Microsoft.Resources/templateSpecs", - "properties": { - "apiVersion": { - "enum": [ - "2019-06-01-preview" - ], - "type": "string" - }, - "location": { - "description": "The location of the Template Spec. It cannot be changed after Template Spec creation. It must be one of the supported Azure locations.", - "type": "string" - }, - "name": { - "description": "Name of the Template Spec.", - "oneOf": [ - { - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Template Spec properties.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateSpecProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/templateSpecs_versions_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Resources/templateSpecs" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "templateSpecs_versions": { - "description": "Microsoft.Resources/templateSpecs/versions", - "properties": { - "apiVersion": { - "enum": [ - "2019-06-01-preview" - ], - "type": "string" - }, - "location": { - "description": "The location of the Template Spec Version. It must match the location of the parent Template Spec.", - "type": "string" - }, - "name": { - "description": "The version of the Template Spec.", - "oneOf": [ - { - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Template Spec Version properties.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateSpecVersionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Resources/templateSpecs/versions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "TemplateSpecArtifact": { - "description": "Represents a Template Spec artifact.", - "oneOf": [ - { - "description": "Represents a Template Spec artifact containing an embedded Azure Resource Manager template.", - "properties": { - "kind": { - "enum": [ - "template" - ], - "type": "string" - }, - "template": { - "description": "The Azure Resource Manager template.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "template", - "kind" - ], - "type": "object" - } - ], - "properties": { - "path": { - "description": "A filesystem safe relative path of the artifact.", - "type": "string" - } - }, - "required": [ - "path" - ], - "type": "object" - }, - "TemplateSpecProperties": { - "description": "Template Spec properties.", - "properties": { - "description": { - "description": "Template Spec description.", - "maxLength": 4096, - "type": "string" - }, - "displayName": { - "description": "Template Spec display name.", - "maxLength": 64, - "type": "string" - } - }, - "type": "object" - }, - "TemplateSpecVersionProperties": { - "description": "Template Spec Version properties.", - "properties": { - "artifacts": { - "description": "An array of Template Spec artifacts.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/TemplateSpecArtifact" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Template Spec version description.", - "maxLength": 4096, - "type": "string" - }, - "template": { - "description": "The Azure Resource Manager template content.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "templateSpecs_versions_childResource": { - "description": "Microsoft.Resources/templateSpecs/versions", - "properties": { - "apiVersion": { - "enum": [ - "2019-06-01-preview" - ], - "type": "string" - }, - "location": { - "description": "The location of the Template Spec Version. It must match the location of the parent Template Spec.", - "type": "string" - }, - "name": { - "description": "The version of the Template Spec.", - "oneOf": [ - { - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Template Spec Version properties.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateSpecVersionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "versions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "subscription_resourceDefinitions": { - "resourceGroups": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90, - "description": "the resource group name" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/resourceGroups" - ] - }, - "apiVersion": { - "type": "string", - "enum": [ - "2019-06-01-preview" - ] - }, - "location": { - "type": "string", - "description": "the resource group location" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource group tags." - } - }, - "required": [ - "name", - "type", - "apiVersion", - "location" - ], - "description": "Microsoft.Resources/resourceGroups" - } - } -} \ No newline at end of file diff --git a/schemas/2019-06-01/Microsoft.Authorization.Resources.json b/schemas/2019-06-01/Microsoft.Authorization.Resources.json deleted file mode 100644 index ef14699775..0000000000 --- a/schemas/2019-06-01/Microsoft.Authorization.Resources.json +++ /dev/null @@ -1,583 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.Resources.json#", - "title": "Microsoft.Authorization", - "description": "Microsoft Authorization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "subscription_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2019-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2019-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "managementGroup_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2019-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2019-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "tenant_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2019-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2019-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "unknown_resourceDefinitions": { - "policyAssignments": { - "description": "Microsoft.Authorization/policyAssignments", - "properties": { - "apiVersion": { - "enum": [ - "2019-06-01" - ], - "type": "string" - }, - "identity": { - "description": "The managed identity associated with the policy assignment.", - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The location of the policy assignment. Only required when utilizing managed identity.", - "type": "string" - }, - "name": { - "description": "The name of the policy assignment.", - "type": "string" - }, - "properties": { - "description": "Properties for the policy assignment.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyAssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The policy sku. This property is optional, obsolete, and will be ignored.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyAssignments" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "Identity": { - "description": "Identity for the resource.", - "properties": { - "type": { - "description": "The identity type.", - "oneOf": [ - { - "enum": [ - "SystemAssigned", - "None" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "PolicyAssignmentProperties": { - "description": "The policy assignment properties.", - "properties": { - "description": { - "description": "This message will be part of response in case of policy violation.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy assignment.", - "type": "string" - }, - "enforcementMode": { - "description": "The policy assignment enforcement mode. Possible values are Default and DoNotEnforce.", - "oneOf": [ - { - "enum": [ - "Default", - "DoNotEnforce" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "metadata": { - "description": "The policy assignment metadata.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "notScopes": { - "description": "The policy's excluded scopes.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "Required if a parameter is used in policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyDefinitionId": { - "description": "The ID of the policy definition or policy set definition being assigned.", - "type": "string" - }, - "scope": { - "description": "The scope for the policy assignment.", - "type": "string" - } - }, - "type": "object" - }, - "PolicyDefinitionProperties": { - "description": "The policy definition properties.", - "properties": { - "description": { - "description": "The policy definition description.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy definition.", - "type": "string" - }, - "metadata": { - "description": "The policy definition metadata.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mode": { - "description": "The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data.", - "type": "string" - }, - "parameters": { - "description": "Required if a parameter is used in policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyRule": { - "description": "The policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyType": { - "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "BuiltIn", - "Custom" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "PolicyDefinitionReference": { - "description": "The policy definition reference.", - "properties": { - "parameters": { - "description": "Required if a parameter is used in policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyDefinitionId": { - "description": "The ID of the policy definition or policy set definition.", - "type": "string" - } - }, - "type": "object" - }, - "PolicySetDefinitionProperties": { - "description": "The policy set definition properties.", - "properties": { - "description": { - "description": "The policy set definition description.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy set definition.", - "type": "string" - }, - "metadata": { - "description": "The policy set definition metadata.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "The policy set definition parameters that can be used in policy definition references.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyDefinitions": { - "description": "An array of policy definition references.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/PolicyDefinitionReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyType": { - "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "BuiltIn", - "Custom" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "policyDefinitions" - ], - "type": "object" - }, - "PolicySku": { - "description": "The policy sku. This property is optional, obsolete, and will be ignored.", - "properties": { - "name": { - "description": "The name of the policy sku. Possible values are A0 and A1.", - "type": "string" - }, - "tier": { - "description": "The policy sku tier. Possible values are Free and Standard.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2019-07-01/Microsoft.Resources.json b/schemas/2019-07-01/Microsoft.Resources.json deleted file mode 100644 index ec06264fa4..0000000000 --- a/schemas/2019-07-01/Microsoft.Resources.json +++ /dev/null @@ -1,284 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Resources.json#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "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-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" - } - }, - "unknown_resourceDefinitions": { - "deployments": { - "description": "Microsoft.Resources/deployments", - "properties": { - "apiVersion": { - "enum": [ - "2019-07-01" - ], - "type": "string" - }, - "location": { - "description": "The location to store the deployment data.", - "type": "string" - }, - "name": { - "description": "The name of the deployment.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "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" - } - }, - "definitions": { - "DebugSetting": { - "description": "The debug setting.", - "properties": { - "detailLevel": { - "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.", - "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 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.", - "oneOf": [ - { - "enum": [ - "Incremental", - "Complete" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "onErrorDeployment": { - "description": "The deployment on error behavior.", - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parametersLink": { - "description": "The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "template": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "templateLink": { - "description": "The URI of the template. Use either the templateLink property or the template property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "mode" - ], - "type": "object" - }, - "OnErrorDeployment": { - "description": "Deployment on error behavior.", - "properties": { - "deploymentName": { - "description": "The deployment to be used on error case.", - "type": "string" - }, - "type": { - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.", - "oneOf": [ - { - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ParametersLink": { - "description": "Entity representing the reference to the deployment parameters.", - "properties": { - "contentVersion": { - "description": "If included, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the parameters file.", - "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, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the template to deploy.", - "type": "string" - } - }, - "required": [ - "uri" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2019-07-01/Microsoft.Solutions.resourcesolutions.json b/schemas/2019-07-01/Microsoft.Solutions.resourcesolutions.json deleted file mode 100644 index 4afecfa34e..0000000000 --- a/schemas/2019-07-01/Microsoft.Solutions.resourcesolutions.json +++ /dev/null @@ -1,923 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Solutions.resourcesolutions.json#", - "title": "Microsoft.Solutions", - "description": "Microsoft Solutions Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "applicationDefinitions": { - "description": "Microsoft.Solutions/applicationDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2019-07-01" - ], - "type": "string" - }, - "location": { - "description": "Resource location", - "type": "string" - }, - "managedBy": { - "description": "ID of the resource that manages this resource.", - "type": "string" - }, - "name": { - "description": "The name of the managed application definition.", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "The managed application definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Solutions/applicationDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applications": { - "description": "Microsoft.Solutions/applications", - "properties": { - "apiVersion": { - "enum": [ - "2019-07-01" - ], - "type": "string" - }, - "identity": { - "description": "The identity of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Resource location", - "type": "string" - }, - "managedBy": { - "description": "ID of the resource that manages this resource.", - "type": "string" - }, - "name": { - "description": "The name of the managed application.", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "description": "The plan information.", - "oneOf": [ - { - "$ref": "#/definitions/Plan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The managed application properties.", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Solutions/applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "jitRequests": { - "description": "Microsoft.Solutions/jitRequests", - "properties": { - "apiVersion": { - "enum": [ - "2019-07-01" - ], - "type": "string" - }, - "location": { - "description": "Resource location", - "type": "string" - }, - "name": { - "description": "The name of the JIT request.", - "type": "string" - }, - "properties": { - "description": "The JIT request properties.", - "oneOf": [ - { - "$ref": "#/definitions/JitRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Solutions/jitRequests" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ApplicationAuthorization": { - "description": "The managed application provider authorization.", - "properties": { - "principalId": { - "description": "The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the managed application resources.", - "type": "string" - }, - "roleDefinitionId": { - "description": "The provider's role definition identifier. This role will define all the permissions that the provider must have on the managed application's container resource group. This role definition cannot have permission to delete the resource group.", - "type": "string" - } - }, - "required": [ - "principalId", - "roleDefinitionId" - ], - "type": "object" - }, - "ApplicationDefinitionArtifact": { - "description": "Application definition artifact.", - "properties": { - "name": { - "description": "The managed application definition artifact name.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "ApplicationResourceTemplate", - "CreateUiDefinition", - "MainTemplateParameters" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "description": "The managed application definition artifact type.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "Template", - "Custom" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "uri": { - "description": "The managed application definition artifact blob uri.", - "type": "string" - } - }, - "required": [ - "name", - "uri", - "type" - ], - "type": "object" - }, - "ApplicationDefinitionProperties": { - "description": "The managed application definition properties.", - "properties": { - "artifacts": { - "description": "The collection of managed application artifacts. The portal will use the files specified as artifacts to construct the user experience of creating a managed application from a managed application definition.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ApplicationDefinitionArtifact" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "authorizations": { - "description": "The managed application provider authorizations.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ApplicationAuthorization" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "createUiDefinition": { - "description": "The createUiDefinition json for the backing template with Microsoft.Solutions/applications resource. It can be a JObject or well-formed JSON string.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "deploymentPolicy": { - "description": "The managed application deployment policy.", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationDeploymentPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "The managed application definition description.", - "type": "string" - }, - "displayName": { - "description": "The managed application definition display name.", - "type": "string" - }, - "isEnabled": { - "description": "A value indicating whether the package is enabled or not.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lockLevel": { - "description": "The managed application lock level.", - "oneOf": [ - { - "enum": [ - "CanNotDelete", - "ReadOnly", - "None" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lockingPolicy": { - "description": "The managed application locking policy.", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationPackageLockingPolicyDefinition" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mainTemplate": { - "description": "The inline main template json which has resources to be provisioned. It can be a JObject or well-formed JSON string.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "managementPolicy": { - "description": "The managed application management policy that determines publisher's access to the managed resource group.", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationManagementPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "notificationPolicy": { - "description": "The managed application notification policy.", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationNotificationPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFileUri": { - "description": "The managed application definition package file Uri. Use this element", - "type": "string" - }, - "policies": { - "description": "The managed application provider policies.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ApplicationPolicy" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "lockLevel" - ], - "type": "object" - }, - "ApplicationDeploymentPolicy": { - "description": "Managed application deployment policy.", - "properties": { - "deploymentMode": { - "description": "The managed application deployment mode.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "Incremental", - "Complete" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "deploymentMode" - ], - "type": "object" - }, - "ApplicationJitAccessPolicy": { - "description": "Managed application Jit access policy.", - "properties": { - "jitAccessEnabled": { - "description": "Whether the JIT access is enabled.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "jitApprovalMode": { - "description": "JIT approval mode.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "AutoApprove", - "ManualApprove" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "jitApprovers": { - "description": "The JIT approvers", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/JitApproverDefinition" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maximumJitAccessDuration": { - "description": "The maximum duration JIT access is granted. This is an ISO8601 time period value.", - "type": "string" - } - }, - "required": [ - "jitAccessEnabled" - ], - "type": "object" - }, - "ApplicationManagementPolicy": { - "description": "Managed application management policy.", - "properties": { - "mode": { - "description": "The managed application management mode.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "Unmanaged", - "Managed" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ApplicationNotificationEndpoint": { - "description": "Managed application notification endpoint.", - "properties": { - "uri": { - "description": "The managed application notification endpoint uri.", - "type": "string" - } - }, - "required": [ - "uri" - ], - "type": "object" - }, - "ApplicationNotificationPolicy": { - "description": "Managed application notification policy.", - "properties": { - "notificationEndpoints": { - "description": "The managed application notification endpoint.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ApplicationNotificationEndpoint" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "notificationEndpoints" - ], - "type": "object" - }, - "ApplicationPackageLockingPolicyDefinition": { - "description": "Managed application locking policy.", - "properties": { - "allowedActions": { - "description": "The deny assignment excluded actions.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "allowedDataActions": { - "description": "The deny assignment excluded data actions.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ApplicationPolicy": { - "description": "Managed application policy.", - "properties": { - "name": { - "description": "The policy name", - "type": "string" - }, - "parameters": { - "description": "The policy parameters.", - "type": "string" - }, - "policyDefinitionId": { - "description": "The policy definition Id.", - "type": "string" - } - }, - "type": "object" - }, - "ApplicationProperties": { - "description": "The managed application properties.", - "properties": { - "applicationDefinitionId": { - "description": "The fully qualified path of managed application definition Id.", - "type": "string" - }, - "jitAccessPolicy": { - "description": "The managed application Jit access policy.", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationJitAccessPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "managedResourceGroupId": { - "description": "The managed resource group Id.", - "type": "string" - }, - "parameters": { - "description": "Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "Identity": { - "description": "Identity for the resource.", - "properties": { - "type": { - "description": "The identity type.", - "oneOf": [ - { - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned", - "None" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userAssignedIdentities": { - "description": "The list of user identities associated with the resource. The user identity dictionary key references will be resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", - "oneOf": [ - { - "additionalProperties": { - "$ref": "#/definitions/UserAssignedResourceIdentity" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "JitApproverDefinition": { - "description": "JIT approver definition.", - "properties": { - "displayName": { - "description": "The approver display name.", - "type": "string" - }, - "id": { - "description": "The approver service principal Id.", - "type": "string" - }, - "type": { - "description": "The approver type.", - "oneOf": [ - { - "enum": [ - "user", - "group" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "id" - ], - "type": "object" - }, - "JitAuthorizationPolicies": { - "description": "The JIT authorization policies.", - "properties": { - "principalId": { - "description": "The the principal id that will be granted JIT access.", - "type": "string" - }, - "roleDefinitionId": { - "description": "The role definition id that will be granted to the Principal.", - "type": "string" - } - }, - "required": [ - "principalId", - "roleDefinitionId" - ], - "type": "object" - }, - "JitRequestProperties": { - "description": "Information about JIT request properties", - "properties": { - "applicationResourceId": { - "description": "The parent application id.", - "type": "string" - }, - "jitAuthorizationPolicies": { - "description": "The JIT authorization policies.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/JitAuthorizationPolicies" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "jitSchedulingPolicy": { - "description": "The JIT request properties.", - "oneOf": [ - { - "$ref": "#/definitions/JitSchedulingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "applicationResourceId", - "jitAuthorizationPolicies", - "jitSchedulingPolicy" - ], - "type": "object" - }, - "JitSchedulingPolicy": { - "description": "The JIT scheduling policies.", - "properties": { - "duration": { - "description": "The required duration of the JIT request.", - "type": "string" - }, - "startTime": { - "description": "The start time of the request.", - "format": "date-time", - "type": "string" - } - }, - "required": [ - "duration", - "startTime" - ], - "type": "object" - }, - "Plan": { - "description": "Plan for the managed application.", - "properties": { - "name": { - "description": "The plan name.", - "type": "string" - }, - "product": { - "description": "The product code.", - "type": "string" - }, - "promotionCode": { - "description": "The promotion code.", - "type": "string" - }, - "publisher": { - "description": "The publisher ID.", - "type": "string" - }, - "version": { - "description": "The plan's version.", - "type": "string" - } - }, - "required": [ - "name", - "publisher", - "product", - "version" - ], - "type": "object" - }, - "Sku": { - "description": "SKU for the resource.", - "properties": { - "capacity": { - "description": "The SKU capacity.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "The SKU family.", - "type": "string" - }, - "model": { - "description": "The SKU model.", - "type": "string" - }, - "name": { - "description": "The SKU name.", - "type": "string" - }, - "size": { - "description": "The SKU size.", - "type": "string" - }, - "tier": { - "description": "The SKU tier.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "UserAssignedResourceIdentity": { - "description": "Represents the user assigned identity that is contained within the UserAssignedIdentities dictionary on ResourceIdentity", - "properties": {}, - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2019-08-01/Microsoft.Resources.json b/schemas/2019-08-01/Microsoft.Resources.json deleted file mode 100644 index e62e046a26..0000000000 --- a/schemas/2019-08-01/Microsoft.Resources.json +++ /dev/null @@ -1,284 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.Resources.json#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "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-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" - } - }, - "unknown_resourceDefinitions": { - "deployments": { - "description": "Microsoft.Resources/deployments", - "properties": { - "apiVersion": { - "enum": [ - "2019-08-01" - ], - "type": "string" - }, - "location": { - "description": "The location to store the deployment data.", - "type": "string" - }, - "name": { - "description": "The name of the deployment.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "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" - } - }, - "definitions": { - "DebugSetting": { - "description": "The debug setting.", - "properties": { - "detailLevel": { - "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.", - "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 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.", - "oneOf": [ - { - "enum": [ - "Incremental", - "Complete" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "onErrorDeployment": { - "description": "The deployment on error behavior.", - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parametersLink": { - "description": "The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "template": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "templateLink": { - "description": "The URI of the template. Use either the templateLink property or the template property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "mode" - ], - "type": "object" - }, - "OnErrorDeployment": { - "description": "Deployment on error behavior.", - "properties": { - "deploymentName": { - "description": "The deployment to be used on error case.", - "type": "string" - }, - "type": { - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.", - "oneOf": [ - { - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ParametersLink": { - "description": "Entity representing the reference to the deployment parameters.", - "properties": { - "contentVersion": { - "description": "If included, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the parameters file.", - "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, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the template to deploy.", - "type": "string" - } - }, - "required": [ - "uri" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2019-08-01/managementGroupDeploymentTemplate.json b/schemas/2019-08-01/managementGroupDeploymentTemplate.json index e16fbec688..f16e8d75fe 100644 --- a/schemas/2019-08-01/managementGroupDeploymentTemplate.json +++ b/schemas/2019-08-01/managementGroupDeploymentTemplate.json @@ -599,135 +599,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Authorization.Authz.json#/unknown_resourceDefinitions/roleDefinitions" }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-10-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyassignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-11-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-04-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyassignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-12-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-12-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-06-01-preview/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-06-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/privateLinkAssociations" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyExemptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-06-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-07-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyExemptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-08-01-preview/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/variables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-08-01-preview/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/variables_values" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policyDefinitions_versions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policySetDefinitions_versions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-04-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, { "$ref": "https://schema.management.azure.com/schemas/2017-11-11-preview/Microsoft.Blueprint.json#/managementGroup_resourceDefinitions/blueprints" }, @@ -916,75 +787,6 @@ }, { "$ref": "https://schema.management.azure.com/schemas/2023-06-01-preview/Microsoft.Quota.json#/managementGroup_resourceDefinitions/groupQuotas_subscriptions" - }, - { - "$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#/unknown_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.Resources.json#/unknown_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Resources.json#/unknown_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#/unknown_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#/unknown_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#/unknown_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#/unknown_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#/unknown_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/2022-08-01-preview/Microsoft.Resources.json#/managementGroup_resourceDefinitions/deploymentStacks" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-09-01/Microsoft.Resources.json#/unknown_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-09-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Resources.json#/unknown_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-03-01/Microsoft.Resources.json#/unknown_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-03-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags" } ] } diff --git a/schemas/2019-08-01/tenantDeploymentTemplate.json b/schemas/2019-08-01/tenantDeploymentTemplate.json index f5107e9e69..aae6d96152 100644 --- a/schemas/2019-08-01/tenantDeploymentTemplate.json +++ b/schemas/2019-08-01/tenantDeploymentTemplate.json @@ -616,72 +616,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Authorization.Authz.json#/unknown_resourceDefinitions/roleDefinitions" }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-12-01/Microsoft.Authorization.Resources.json#/tenant_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-06-01-preview/Microsoft.Authorization.Resources.json#/tenant_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.Resources.json#/tenant_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.Resources.json#/tenant_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.Resources.json#/tenant_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.Resources.json#/tenant_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.Resources.json#/tenant_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.Resources.json#/tenant_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.Resources.json#/tenant_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.Resources.json#/tenant_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.Resources.json#/tenant_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.Resources.json#/tenant_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.Resources.json#/tenant_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.Resources.json#/tenant_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.Resources.json#/tenant_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.Resources.json#/tenant_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Authorization.Resources.json#/tenant_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Authorization.Resources.json#/tenant_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Authorization.Resources.json#/tenant_resourceDefinitions/policyDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Authorization.Resources.json#/tenant_resourceDefinitions/policyDefinitions_versions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Authorization.Resources.json#/tenant_resourceDefinitions/policySetDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Authorization.Resources.json#/tenant_resourceDefinitions/policySetDefinitions_versions" - }, { "$ref": "https://schema.management.azure.com/schemas/2018-11-01-preview/Microsoft.Billing.json#/tenant_resourceDefinitions/billingAccounts_billingProfiles" }, @@ -1036,39 +970,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-09-01-preview/Microsoft.Portal.json#/tenant_resourceDefinitions/tenantConfigurations" }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Resources.json#/unknown_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.Resources.json#/unknown_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Resources.json#/unknown_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Resources.json#/unknown_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-01/Microsoft.Resources.json#/unknown_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.Resources.json#/unknown_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Resources.json#/unknown_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Resources.json#/unknown_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-09-01/Microsoft.Resources.json#/unknown_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Resources.json#/unknown_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-03-01/Microsoft.Resources.json#/unknown_resourceDefinitions/deployments" - }, { "$ref": "https://schema.management.azure.com/schemas/2017-11-01-preview/Microsoft.Subscription.json#/tenant_resourceDefinitions/subscriptionDefinitions" }, diff --git a/schemas/2019-09-01/Microsoft.Authorization.Resources.json b/schemas/2019-09-01/Microsoft.Authorization.Resources.json deleted file mode 100644 index 90e81dc102..0000000000 --- a/schemas/2019-09-01/Microsoft.Authorization.Resources.json +++ /dev/null @@ -1,718 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.Resources.json#", - "title": "Microsoft.Authorization", - "description": "Microsoft Authorization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "subscription_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2019-09-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2019-09-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "managementGroup_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2019-09-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2019-09-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "tenant_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2019-09-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2019-09-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "unknown_resourceDefinitions": { - "policyAssignments": { - "description": "Microsoft.Authorization/policyAssignments", - "properties": { - "apiVersion": { - "enum": [ - "2019-09-01" - ], - "type": "string" - }, - "identity": { - "description": "The managed identity associated with the policy assignment.", - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The location of the policy assignment. Only required when utilizing managed identity.", - "type": "string" - }, - "name": { - "description": "The name of the policy assignment.", - "type": "string" - }, - "properties": { - "description": "Properties for the policy assignment.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyAssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The policy sku. This property is optional, obsolete, and will be ignored.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyAssignments" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "Identity": { - "description": "Identity for the resource.", - "properties": { - "type": { - "description": "The identity type. This is the only required field when adding a system assigned identity to a resource.", - "oneOf": [ - { - "enum": [ - "SystemAssigned", - "None" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ParameterDefinitionsValue": { - "description": "The definition of a parameter that can be provided to the policy.", - "properties": { - "allowedValues": { - "description": "The allowed values for the parameter.", - "oneOf": [ - { - "items": {}, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "defaultValue": { - "description": "The default value for the parameter if no value is provided.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "metadata": { - "description": "General metadata for the parameter.", - "oneOf": [ - { - "$ref": "#/definitions/ParameterDefinitionsValueMetadata" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "description": "The data type of the parameter.", - "oneOf": [ - { - "enum": [ - "String", - "Array", - "Object", - "Boolean", - "Integer", - "Float", - "DateTime" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ParameterDefinitionsValueMetadata": { - "additionalProperties": { - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": "General metadata for the parameter.", - "properties": { - "description": { - "description": "The description of the parameter.", - "type": "string" - }, - "displayName": { - "description": "The display name for the parameter.", - "type": "string" - } - }, - "type": "object" - }, - "ParameterValuesValue": { - "description": "The value of a parameter.", - "properties": { - "value": { - "description": "The value of the parameter.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "PolicyAssignmentProperties": { - "description": "The policy assignment properties.", - "properties": { - "description": { - "description": "This message will be part of response in case of policy violation.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy assignment.", - "type": "string" - }, - "enforcementMode": { - "description": "The policy assignment enforcement mode. Possible values are Default and DoNotEnforce.", - "oneOf": [ - { - "enum": [ - "Default", - "DoNotEnforce" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "metadata": { - "description": "The policy assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "notScopes": { - "description": "The policy's excluded scopes.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "The parameter values for the assigned policy rule. The keys are the parameter names." - }, - "policyDefinitionId": { - "description": "The ID of the policy definition or policy set definition being assigned.", - "type": "string" - }, - "scope": { - "description": "The scope for the policy assignment.", - "type": "string" - } - }, - "type": "object" - }, - "PolicyDefinitionGroup": { - "description": "The policy definition group.", - "properties": { - "additionalMetadataId": { - "description": "A resource ID of a resource that contains additional metadata about the group.", - "type": "string" - }, - "category": { - "description": "The group's category.", - "type": "string" - }, - "description": { - "description": "The group's description.", - "type": "string" - }, - "displayName": { - "description": "The group's display name.", - "type": "string" - }, - "name": { - "description": "The name of the group.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "PolicyDefinitionProperties": { - "description": "The policy definition properties.", - "properties": { - "description": { - "description": "The policy definition description.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy definition.", - "type": "string" - }, - "metadata": { - "description": "The policy definition metadata. Metadata is an open ended object and is typically a collection of key value pairs.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mode": { - "description": "The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data.", - "type": "string" - }, - "parameters": { - "description": "The parameter definitions for parameters used in the policy rule. The keys are the parameter names." - }, - "policyRule": { - "description": "The policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyType": { - "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "BuiltIn", - "Custom", - "Static" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "PolicyDefinitionReference": { - "description": "The policy definition reference.", - "properties": { - "groupNames": { - "description": "The name of the groups that this policy definition reference belongs to.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "The parameter values for the referenced policy rule. The keys are the parameter names." - }, - "policyDefinitionId": { - "description": "The ID of the policy definition or policy set definition.", - "type": "string" - }, - "policyDefinitionReferenceId": { - "description": "A unique id (within the policy set definition) for this policy definition reference.", - "type": "string" - } - }, - "required": [ - "policyDefinitionId" - ], - "type": "object" - }, - "PolicySetDefinitionProperties": { - "description": "The policy set definition properties.", - "properties": { - "description": { - "description": "The policy set definition description.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy set definition.", - "type": "string" - }, - "metadata": { - "description": "The policy set definition metadata. Metadata is an open ended object and is typically a collection of key value pairs.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "The policy set definition parameters that can be used in policy definition references." - }, - "policyDefinitionGroups": { - "description": "The metadata describing groups of policy definition references within the policy set definition.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/PolicyDefinitionGroup" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyDefinitions": { - "description": "An array of policy definition references.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/PolicyDefinitionReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyType": { - "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "BuiltIn", - "Custom", - "Static" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "policyDefinitions" - ], - "type": "object" - }, - "PolicySku": { - "description": "The policy sku. This property is optional, obsolete, and will be ignored.", - "properties": { - "name": { - "description": "The name of the policy sku. Possible values are A0 and A1.", - "type": "string" - }, - "tier": { - "description": "The policy sku tier. Possible values are Free and Standard.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2019-10-01-preview/Microsoft.Resources.json b/schemas/2019-10-01-preview/Microsoft.Resources.json deleted file mode 100644 index f5969c2c59..0000000000 --- a/schemas/2019-10-01-preview/Microsoft.Resources.json +++ /dev/null @@ -1,166 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Resources.json#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "deploymentScripts": { - "description": "Microsoft.Resources/deploymentScripts", - "properties": { - "apiVersion": { - "enum": [ - "2019-10-01-preview" - ], - "type": "string" - }, - "identity": { - "description": "Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.", - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The location of the ACI and the storage account for the deployment script.", - "type": "string" - }, - "name": { - "description": "Name of the deployment script.", - "maxLength": 90, - "minLength": 1, - "type": "string" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Resources/deploymentScripts" - ], - "type": "string" - } - }, - "required": [ - "name", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ManagedServiceIdentity": { - "description": "Managed identity generic object.", - "properties": { - "type": { - "description": "Type of the managed identity.", - "oneOf": [ - { - "enum": [ - "UserAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userAssignedIdentities": { - "description": "The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.", - "oneOf": [ - { - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentity" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "UserAssignedIdentity": { - "description": "User-assigned managed identity.", - "properties": {}, - "type": "object" - } - }, - "subscription_resourceDefinitions": { - "resourceGroups": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90, - "description": "the resource group name" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/resourceGroups" - ] - }, - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01-preview" - ] - }, - "location": { - "type": "string", - "description": "the resource group location" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource group tags." - } - }, - "required": [ - "name", - "type", - "apiVersion", - "location" - ], - "description": "Microsoft.Resources/resourceGroups" - } - } -} \ No newline at end of file diff --git a/schemas/2019-10-01/Microsoft.Resources.json b/schemas/2019-10-01/Microsoft.Resources.json deleted file mode 100644 index 8ff446c7de..0000000000 --- a/schemas/2019-10-01/Microsoft.Resources.json +++ /dev/null @@ -1,368 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Resources.json#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "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" - ] - }, - "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" - } - }, - "unknown_resourceDefinitions": { - "deployments": { - "description": "Microsoft.Resources/deployments", - "properties": { - "apiVersion": { - "enum": [ - "2019-10-01" - ], - "type": "string" - }, - "location": { - "description": "The location to store the deployment data.", - "type": "string" - }, - "name": { - "description": "The name of the deployment.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The deployment properties.", - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Deployment tags", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$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" - }, - "tags": { - "description": "Microsoft.Resources/tags", - "properties": { - "apiVersion": { - "enum": [ - "2019-10-01" - ], - "type": "string" - }, - "name": { - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of tags.", - "oneOf": [ - { - "$ref": "#/definitions/Tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Resources/tags" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "DebugSetting": { - "description": "The debug setting.", - "properties": { - "detailLevel": { - "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.", - "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 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.", - "oneOf": [ - { - "enum": [ - "Incremental", - "Complete" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "onErrorDeployment": { - "description": "The deployment on error behavior.", - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parametersLink": { - "description": "The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "template": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "templateLink": { - "description": "The URI of the template. Use either the templateLink property or the template property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "mode" - ], - "type": "object" - }, - "OnErrorDeployment": { - "description": "Deployment on error behavior.", - "properties": { - "deploymentName": { - "description": "The deployment to be used on error case.", - "type": "string" - }, - "type": { - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.", - "oneOf": [ - { - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ParametersLink": { - "description": "Entity representing the reference to the deployment parameters.", - "properties": { - "contentVersion": { - "description": "If included, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the parameters file.", - "type": "string" - } - }, - "required": [ - "uri" - ], - "type": "object" - }, - "ResourceGroupProperties": { - "description": "The resource group properties.", - "properties": {}, - "type": "object" - }, - "Tags": { - "description": "A dictionary of name and value pairs.", - "properties": { - "tags": { - "description": "Dictionary of ", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "TemplateLink": { - "description": "Entity representing the reference to the template.", - "properties": { - "contentVersion": { - "description": "If included, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the template to deploy.", - "type": "string" - } - }, - "required": [ - "uri" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2020-03-01/Microsoft.Authorization.Resources.json b/schemas/2020-03-01/Microsoft.Authorization.Resources.json deleted file mode 100644 index 8f77cc896d..0000000000 --- a/schemas/2020-03-01/Microsoft.Authorization.Resources.json +++ /dev/null @@ -1,718 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.Resources.json#", - "title": "Microsoft.Authorization", - "description": "Microsoft Authorization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "subscription_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2020-03-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2020-03-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "managementGroup_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2020-03-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2020-03-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "tenant_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2020-03-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2020-03-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "unknown_resourceDefinitions": { - "policyAssignments": { - "description": "Microsoft.Authorization/policyAssignments", - "properties": { - "apiVersion": { - "enum": [ - "2020-03-01" - ], - "type": "string" - }, - "identity": { - "description": "The managed identity associated with the policy assignment.", - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The location of the policy assignment. Only required when utilizing managed identity.", - "type": "string" - }, - "name": { - "description": "The name of the policy assignment.", - "type": "string" - }, - "properties": { - "description": "Properties for the policy assignment.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyAssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The policy sku. This property is optional, obsolete, and will be ignored.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyAssignments" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "Identity": { - "description": "Identity for the resource.", - "properties": { - "type": { - "description": "The identity type. This is the only required field when adding a system assigned identity to a resource.", - "oneOf": [ - { - "enum": [ - "SystemAssigned", - "None" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ParameterDefinitionsValue": { - "description": "The definition of a parameter that can be provided to the policy.", - "properties": { - "allowedValues": { - "description": "The allowed values for the parameter.", - "oneOf": [ - { - "items": {}, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "defaultValue": { - "description": "The default value for the parameter if no value is provided.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "metadata": { - "description": "General metadata for the parameter.", - "oneOf": [ - { - "$ref": "#/definitions/ParameterDefinitionsValueMetadata" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "description": "The data type of the parameter.", - "oneOf": [ - { - "enum": [ - "String", - "Array", - "Object", - "Boolean", - "Integer", - "Float", - "DateTime" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ParameterDefinitionsValueMetadata": { - "additionalProperties": { - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": "General metadata for the parameter.", - "properties": { - "description": { - "description": "The description of the parameter.", - "type": "string" - }, - "displayName": { - "description": "The display name for the parameter.", - "type": "string" - } - }, - "type": "object" - }, - "ParameterValuesValue": { - "description": "The value of a parameter.", - "properties": { - "value": { - "description": "The value of the parameter.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "PolicyAssignmentProperties": { - "description": "The policy assignment properties.", - "properties": { - "description": { - "description": "This message will be part of response in case of policy violation.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy assignment.", - "type": "string" - }, - "enforcementMode": { - "description": "The policy assignment enforcement mode. Possible values are Default and DoNotEnforce.", - "oneOf": [ - { - "enum": [ - "Default", - "DoNotEnforce" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "metadata": { - "description": "The policy assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "notScopes": { - "description": "The policy's excluded scopes.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "The parameter values for the assigned policy rule. The keys are the parameter names." - }, - "policyDefinitionId": { - "description": "The ID of the policy definition or policy set definition being assigned.", - "type": "string" - }, - "scope": { - "description": "The scope for the policy assignment.", - "type": "string" - } - }, - "type": "object" - }, - "PolicyDefinitionGroup": { - "description": "The policy definition group.", - "properties": { - "additionalMetadataId": { - "description": "A resource ID of a resource that contains additional metadata about the group.", - "type": "string" - }, - "category": { - "description": "The group's category.", - "type": "string" - }, - "description": { - "description": "The group's description.", - "type": "string" - }, - "displayName": { - "description": "The group's display name.", - "type": "string" - }, - "name": { - "description": "The name of the group.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "PolicyDefinitionProperties": { - "description": "The policy definition properties.", - "properties": { - "description": { - "description": "The policy definition description.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy definition.", - "type": "string" - }, - "metadata": { - "description": "The policy definition metadata. Metadata is an open ended object and is typically a collection of key value pairs.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mode": { - "description": "The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data.", - "type": "string" - }, - "parameters": { - "description": "The parameter definitions for parameters used in the policy rule. The keys are the parameter names." - }, - "policyRule": { - "description": "The policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyType": { - "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "BuiltIn", - "Custom", - "Static" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "PolicyDefinitionReference": { - "description": "The policy definition reference.", - "properties": { - "groupNames": { - "description": "The name of the groups that this policy definition reference belongs to.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "The parameter values for the referenced policy rule. The keys are the parameter names." - }, - "policyDefinitionId": { - "description": "The ID of the policy definition or policy set definition.", - "type": "string" - }, - "policyDefinitionReferenceId": { - "description": "A unique id (within the policy set definition) for this policy definition reference.", - "type": "string" - } - }, - "required": [ - "policyDefinitionId" - ], - "type": "object" - }, - "PolicySetDefinitionProperties": { - "description": "The policy set definition properties.", - "properties": { - "description": { - "description": "The policy set definition description.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy set definition.", - "type": "string" - }, - "metadata": { - "description": "The policy set definition metadata. Metadata is an open ended object and is typically a collection of key value pairs.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "The policy set definition parameters that can be used in policy definition references." - }, - "policyDefinitionGroups": { - "description": "The metadata describing groups of policy definition references within the policy set definition.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/PolicyDefinitionGroup" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyDefinitions": { - "description": "An array of policy definition references.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/PolicyDefinitionReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyType": { - "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "BuiltIn", - "Custom", - "Static" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "policyDefinitions" - ], - "type": "object" - }, - "PolicySku": { - "description": "The policy sku. This property is optional, obsolete, and will be ignored.", - "properties": { - "name": { - "description": "The name of the policy sku. Possible values are A0 and A1.", - "type": "string" - }, - "tier": { - "description": "The policy sku tier. Possible values are Free and Standard.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2020-05-01/Microsoft.Authorization.Resources.json b/schemas/2020-05-01/Microsoft.Authorization.Resources.json deleted file mode 100644 index 5ab804166f..0000000000 --- a/schemas/2020-05-01/Microsoft.Authorization.Resources.json +++ /dev/null @@ -1,199 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Authorization.Resources.json#", - "title": "Microsoft.Authorization", - "description": "Microsoft Authorization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "resourceManagementPrivateLinks": { - "description": "Microsoft.Authorization/resourceManagementPrivateLinks", - "properties": { - "apiVersion": { - "enum": [ - "2020-05-01" - ], - "type": "string" - }, - "location": { - "description": "the region to create private link association.", - "type": "string" - }, - "name": { - "description": "The name of the resource management private link.", - "type": "string" - }, - "type": { - "enum": [ - "Microsoft.Authorization/resourceManagementPrivateLinks" - ], - "type": "string" - } - }, - "required": [ - "name", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "managementGroup_resourceDefinitions": { - "privateLinkAssociations": { - "description": "Microsoft.Authorization/privateLinkAssociations", - "properties": { - "apiVersion": { - "enum": [ - "2020-05-01" - ], - "type": "string" - }, - "name": { - "description": "The ID of the PLA", - "type": "string" - }, - "properties": { - "description": "The properties of the PrivateLinkAssociation.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkAssociationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/privateLinkAssociations" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "unknown_resourceDefinitions": { - "locks": { - "description": "Microsoft.Authorization/locks", - "properties": { - "apiVersion": { - "enum": [ - "2020-05-01" - ], - "type": "string" - }, - "name": { - "description": "The lock name. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, \\, ?, /, or any control characters.", - "type": "string" - }, - "properties": { - "description": "The properties of the lock.", - "oneOf": [ - { - "$ref": "#/definitions/ManagementLockProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/locks" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ManagementLockOwner": { - "description": "Lock owner properties.", - "properties": { - "applicationId": { - "description": "The application ID of the lock owner.", - "type": "string" - } - }, - "type": "object" - }, - "ManagementLockProperties": { - "description": "The lock properties.", - "properties": { - "level": { - "description": "The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "CanNotDelete", - "ReadOnly" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "notes": { - "description": "Notes about the lock. Maximum of 512 characters.", - "type": "string" - }, - "owners": { - "description": "The owners of the lock.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ManagementLockOwner" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "level" - ], - "type": "object" - }, - "PrivateLinkAssociationProperties": { - "properties": { - "privateLink": { - "description": "The rmpl Resource ID.", - "type": "string" - }, - "publicNetworkAccess": { - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2020-06-01/Microsoft.Resources.json b/schemas/2020-06-01/Microsoft.Resources.json deleted file mode 100644 index 52c42eaddf..0000000000 --- a/schemas/2020-06-01/Microsoft.Resources.json +++ /dev/null @@ -1,398 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Resources.json#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "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": [ - "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" - } - }, - "unknown_resourceDefinitions": { - "deployments": { - "description": "Microsoft.Resources/deployments", - "properties": { - "apiVersion": { - "enum": [ - "2020-06-01" - ], - "type": "string" - }, - "location": { - "description": "The location to store the deployment data.", - "type": "string" - }, - "name": { - "description": "The name of the deployment.", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "The deployment properties.", - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Deployment tags", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$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" - }, - "tags": { - "description": "Microsoft.Resources/tags", - "properties": { - "apiVersion": { - "enum": [ - "2020-06-01" - ], - "type": "string" - }, - "name": { - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of tags.", - "oneOf": [ - { - "$ref": "#/definitions/Tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Resources/tags" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "DebugSetting": { - "description": "The debug setting.", - "properties": { - "detailLevel": { - "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.", - "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" - } - ] - }, - "expressionEvaluationOptions": { - "description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template. Only applicable to nested templates. If not specified, default value is outer.", - "oneOf": [ - { - "$ref": "#/definitions/ExpressionEvaluationOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mode": { - "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.", - "oneOf": [ - { - "enum": [ - "Incremental", - "Complete" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "onErrorDeployment": { - "description": "The deployment on error behavior.", - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parametersLink": { - "description": "The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "template": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "templateLink": { - "description": "The URI of the template. Use either the templateLink property or the template property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "mode" - ], - "type": "object" - }, - "ExpressionEvaluationOptions": { - "description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template.", - "properties": { - "scope": { - "description": "The scope to be used for evaluation of parameters, variables and functions in a nested template.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "Outer", - "Inner" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "OnErrorDeployment": { - "description": "Deployment on error behavior.", - "properties": { - "deploymentName": { - "description": "The deployment to be used on error case.", - "type": "string" - }, - "type": { - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.", - "oneOf": [ - { - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ParametersLink": { - "description": "Entity representing the reference to the deployment parameters.", - "properties": { - "contentVersion": { - "description": "If included, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the parameters file.", - "type": "string" - } - }, - "required": [ - "uri" - ], - "type": "object" - }, - "ResourceGroupProperties": { - "description": "The resource group properties.", - "properties": {}, - "type": "object" - }, - "Tags": { - "description": "A dictionary of name and value pairs.", - "properties": { - "tags": { - "description": "Dictionary of ", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "TemplateLink": { - "description": "Entity representing the reference to the template.", - "properties": { - "contentVersion": { - "description": "If included, must match the ContentVersion in the template.", - "type": "string" - }, - "id": { - "description": "The resource id of a Template Spec. Use either the id or uri property, but not both.", - "type": "string" - }, - "relativePath": { - "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.", - "type": "string" - }, - "uri": { - "description": "The URI of the template to deploy. Use either the uri or id property, but not both.", - "type": "string" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2020-07-01-preview/Microsoft.Authorization.Resources.json b/schemas/2020-07-01-preview/Microsoft.Authorization.Resources.json deleted file mode 100644 index ccba05c59b..0000000000 --- a/schemas/2020-07-01-preview/Microsoft.Authorization.Resources.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.Authorization.Resources.json#", - "title": "Microsoft.Authorization", - "description": "Microsoft Authorization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "unknown_resourceDefinitions": { - "policyExemptions": { - "description": "Microsoft.Authorization/policyExemptions", - "properties": { - "apiVersion": { - "enum": [ - "2020-07-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy exemption to delete.", - "type": "string" - }, - "properties": { - "description": "Properties for the policy exemption.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyExemptionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyExemptions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "PolicyExemptionProperties": { - "description": "The policy exemption properties.", - "properties": { - "description": { - "description": "The description of the policy exemption.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy exemption.", - "type": "string" - }, - "exemptionCategory": { - "description": "The policy exemption category. Possible values are Waiver and Mitigated.", - "oneOf": [ - { - "enum": [ - "Waiver", - "Mitigated" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "expiresOn": { - "description": "The expiration date and time (in UTC ISO 8601 format yyyy-MM-ddTHH:mm:ssZ) of the policy exemption.", - "format": "date-time", - "type": "string" - }, - "metadata": { - "description": "The policy exemption metadata. Metadata is an open ended object and is typically a collection of key value pairs.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyAssignmentId": { - "description": "The ID of the policy assignment that is being exempted.", - "type": "string" - }, - "policyDefinitionReferenceIds": { - "description": "The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "policyAssignmentId", - "exemptionCategory" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2020-08-01/Microsoft.Resources.json b/schemas/2020-08-01/Microsoft.Resources.json deleted file mode 100644 index 8174c6119f..0000000000 --- a/schemas/2020-08-01/Microsoft.Resources.json +++ /dev/null @@ -1,365 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-08-01/Microsoft.Resources.json#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "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": [ - "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" - } - }, - "unknown_resourceDefinitions": { - "deployments": { - "description": "Microsoft.Resources/deployments", - "properties": { - "apiVersion": { - "enum": [ - "2020-08-01" - ], - "type": "string" - }, - "location": { - "description": "The location to store the deployment data.", - "type": "string" - }, - "name": { - "description": "The name of the deployment.", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "The deployment properties.", - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Deployment tags", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$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" - }, - "tags": { - "description": "Microsoft.Resources/tags", - "properties": { - "apiVersion": { - "enum": [ - "2020-08-01" - ], - "type": "string" - }, - "name": { - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of tags.", - "oneOf": [ - { - "$ref": "#/definitions/Tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Resources/tags" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "DebugSetting": { - "description": "The debug setting.", - "properties": { - "detailLevel": { - "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.", - "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 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.", - "oneOf": [ - { - "enum": [ - "Incremental", - "Complete" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "onErrorDeployment": { - "description": "The deployment on error behavior.", - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parametersLink": { - "description": "The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "template": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "templateLink": { - "description": "The URI of the template. Use either the templateLink property or the template property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "mode" - ], - "type": "object" - }, - "OnErrorDeployment": { - "description": "Deployment on error behavior.", - "properties": { - "deploymentName": { - "description": "The deployment to be used on error case.", - "type": "string" - }, - "type": { - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.", - "oneOf": [ - { - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ParametersLink": { - "description": "Entity representing the reference to the deployment parameters.", - "properties": { - "contentVersion": { - "description": "If included, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the parameters file.", - "type": "string" - } - }, - "required": [ - "uri" - ], - "type": "object" - }, - "ResourceGroupProperties": { - "description": "The resource group properties.", - "properties": {}, - "type": "object" - }, - "Tags": { - "description": "A dictionary of name and value pairs.", - "properties": { - "tags": { - "description": "Dictionary of ", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "TemplateLink": { - "description": "Entity representing the reference to the template.", - "properties": { - "contentVersion": { - "description": "If included, must match the ContentVersion in the template.", - "type": "string" - }, - "id": { - "description": "The resource id of a Template Spec. Use either the id or uri property, but not both.", - "type": "string" - }, - "relativePath": { - "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.", - "type": "string" - }, - "uri": { - "description": "The URI of the template to deploy. Use either the uri or id property, but not both.", - "type": "string" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2020-08-21-preview/Microsoft.Solutions.resourcesolutions.json b/schemas/2020-08-21-preview/Microsoft.Solutions.resourcesolutions.json deleted file mode 100644 index 4179ff1efa..0000000000 --- a/schemas/2020-08-21-preview/Microsoft.Solutions.resourcesolutions.json +++ /dev/null @@ -1,927 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-08-21-preview/Microsoft.Solutions.resourcesolutions.json#", - "title": "Microsoft.Solutions", - "description": "Microsoft Solutions Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "applicationDefinitions": { - "description": "Microsoft.Solutions/applicationDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2020-08-21-preview" - ], - "type": "string" - }, - "location": { - "description": "Resource location", - "type": "string" - }, - "managedBy": { - "description": "ID of the resource that manages this resource.", - "type": "string" - }, - "name": { - "description": "The name of the managed application definition.", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "The managed application definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Solutions/applicationDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applications": { - "description": "Microsoft.Solutions/applications", - "properties": { - "apiVersion": { - "enum": [ - "2020-08-21-preview" - ], - "type": "string" - }, - "identity": { - "description": "The identity of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Resource location", - "type": "string" - }, - "managedBy": { - "description": "ID of the resource that manages this resource.", - "type": "string" - }, - "name": { - "description": "The name of the managed application.", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "description": "The plan information.", - "oneOf": [ - { - "$ref": "#/definitions/Plan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The managed application properties.", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Solutions/applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "jitRequests": { - "description": "Microsoft.Solutions/jitRequests", - "properties": { - "apiVersion": { - "enum": [ - "2020-08-21-preview" - ], - "type": "string" - }, - "location": { - "description": "Resource location", - "type": "string" - }, - "name": { - "description": "The name of the JIT request.", - "type": "string" - }, - "properties": { - "description": "The JIT request properties.", - "oneOf": [ - { - "$ref": "#/definitions/JitRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Solutions/jitRequests" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ApplicationAuthorization": { - "description": "The managed application provider authorization.", - "properties": { - "principalId": { - "description": "The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the managed application resources.", - "type": "string" - }, - "roleDefinitionId": { - "description": "The provider's role definition identifier. This role will define all the permissions that the provider must have on the managed application's container resource group. This role definition cannot have permission to delete the resource group.", - "type": "string" - } - }, - "required": [ - "principalId", - "roleDefinitionId" - ], - "type": "object" - }, - "ApplicationDefinitionArtifact": { - "description": "Application definition artifact.", - "properties": { - "name": { - "description": "The managed application definition artifact name.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "ApplicationResourceTemplate", - "CreateUiDefinition", - "MainTemplateParameters" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "description": "The managed application definition artifact type.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "Template", - "Custom" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "uri": { - "description": "The managed application definition artifact blob uri.", - "type": "string" - } - }, - "required": [ - "name", - "uri", - "type" - ], - "type": "object" - }, - "ApplicationDefinitionProperties": { - "description": "The managed application definition properties.", - "properties": { - "artifacts": { - "description": "The collection of managed application artifacts. The portal will use the files specified as artifacts to construct the user experience of creating a managed application from a managed application definition.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ApplicationDefinitionArtifact" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "authorizations": { - "description": "The managed application provider authorizations.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ApplicationAuthorization" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "createUiDefinition": { - "description": "The createUiDefinition json for the backing template with Microsoft.Solutions/applications resource. It can be a JObject or well-formed JSON string.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "deploymentPolicy": { - "description": "The managed application deployment policy.", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationDeploymentPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "The managed application definition description.", - "type": "string" - }, - "displayName": { - "description": "The managed application definition display name.", - "type": "string" - }, - "isEnabled": { - "description": "A value indicating whether the package is enabled or not.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lockLevel": { - "description": "The managed application lock level.", - "oneOf": [ - { - "enum": [ - "CanNotDelete", - "ReadOnly", - "None" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lockingPolicy": { - "description": "The managed application locking policy.", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationPackageLockingPolicyDefinition" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mainTemplate": { - "description": "The inline main template json which has resources to be provisioned. It can be a JObject or well-formed JSON string.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "managementPolicy": { - "description": "The managed application management policy that determines publisher's access to the managed resource group.", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationManagementPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "notificationPolicy": { - "description": "The managed application notification policy.", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationNotificationPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFileUri": { - "description": "The managed application definition package file Uri. Use this element", - "type": "string" - }, - "policies": { - "description": "The managed application provider policies.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ApplicationPolicy" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "storageAccountId": { - "description": "The storage account id for bring your own storage scenario.", - "type": "string" - } - }, - "required": [ - "lockLevel" - ], - "type": "object" - }, - "ApplicationDeploymentPolicy": { - "description": "Managed application deployment policy.", - "properties": { - "deploymentMode": { - "description": "The managed application deployment mode.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "Incremental", - "Complete" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "deploymentMode" - ], - "type": "object" - }, - "ApplicationJitAccessPolicy": { - "description": "Managed application Jit access policy.", - "properties": { - "jitAccessEnabled": { - "description": "Whether the JIT access is enabled.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "jitApprovalMode": { - "description": "JIT approval mode.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "AutoApprove", - "ManualApprove" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "jitApprovers": { - "description": "The JIT approvers", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/JitApproverDefinition" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maximumJitAccessDuration": { - "description": "The maximum duration JIT access is granted. This is an ISO8601 time period value.", - "type": "string" - } - }, - "required": [ - "jitAccessEnabled" - ], - "type": "object" - }, - "ApplicationManagementPolicy": { - "description": "Managed application management policy.", - "properties": { - "mode": { - "description": "The managed application management mode.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "Unmanaged", - "Managed" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ApplicationNotificationEndpoint": { - "description": "Managed application notification endpoint.", - "properties": { - "uri": { - "description": "The managed application notification endpoint uri.", - "type": "string" - } - }, - "required": [ - "uri" - ], - "type": "object" - }, - "ApplicationNotificationPolicy": { - "description": "Managed application notification policy.", - "properties": { - "notificationEndpoints": { - "description": "The managed application notification endpoint.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ApplicationNotificationEndpoint" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "notificationEndpoints" - ], - "type": "object" - }, - "ApplicationPackageLockingPolicyDefinition": { - "description": "Managed application locking policy.", - "properties": { - "allowedActions": { - "description": "The deny assignment excluded actions.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "allowedDataActions": { - "description": "The deny assignment excluded data actions.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ApplicationPolicy": { - "description": "Managed application policy.", - "properties": { - "name": { - "description": "The policy name", - "type": "string" - }, - "parameters": { - "description": "The policy parameters.", - "type": "string" - }, - "policyDefinitionId": { - "description": "The policy definition Id.", - "type": "string" - } - }, - "type": "object" - }, - "ApplicationProperties": { - "description": "The managed application properties.", - "properties": { - "applicationDefinitionId": { - "description": "The fully qualified path of managed application definition Id.", - "type": "string" - }, - "jitAccessPolicy": { - "description": "The managed application Jit access policy.", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationJitAccessPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "managedResourceGroupId": { - "description": "The managed resource group Id.", - "type": "string" - }, - "parameters": { - "description": "Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "Identity": { - "description": "Identity for the resource.", - "properties": { - "type": { - "description": "The identity type.", - "oneOf": [ - { - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned", - "None" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userAssignedIdentities": { - "description": "The list of user identities associated with the resource. The user identity dictionary key references will be resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", - "oneOf": [ - { - "additionalProperties": { - "$ref": "#/definitions/UserAssignedResourceIdentity" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "JitApproverDefinition": { - "description": "JIT approver definition.", - "properties": { - "displayName": { - "description": "The approver display name.", - "type": "string" - }, - "id": { - "description": "The approver service principal Id.", - "type": "string" - }, - "type": { - "description": "The approver type.", - "oneOf": [ - { - "enum": [ - "user", - "group" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "id" - ], - "type": "object" - }, - "JitAuthorizationPolicies": { - "description": "The JIT authorization policies.", - "properties": { - "principalId": { - "description": "The the principal id that will be granted JIT access.", - "type": "string" - }, - "roleDefinitionId": { - "description": "The role definition id that will be granted to the Principal.", - "type": "string" - } - }, - "required": [ - "principalId", - "roleDefinitionId" - ], - "type": "object" - }, - "JitRequestProperties": { - "description": "Information about JIT request properties", - "properties": { - "applicationResourceId": { - "description": "The parent application id.", - "type": "string" - }, - "jitAuthorizationPolicies": { - "description": "The JIT authorization policies.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/JitAuthorizationPolicies" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "jitSchedulingPolicy": { - "description": "The JIT request properties.", - "oneOf": [ - { - "$ref": "#/definitions/JitSchedulingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "applicationResourceId", - "jitAuthorizationPolicies", - "jitSchedulingPolicy" - ], - "type": "object" - }, - "JitSchedulingPolicy": { - "description": "The JIT scheduling policies.", - "properties": { - "duration": { - "description": "The required duration of the JIT request.", - "type": "string" - }, - "startTime": { - "description": "The start time of the request.", - "format": "date-time", - "type": "string" - } - }, - "required": [ - "duration", - "startTime" - ], - "type": "object" - }, - "Plan": { - "description": "Plan for the managed application.", - "properties": { - "name": { - "description": "The plan name.", - "type": "string" - }, - "product": { - "description": "The product code.", - "type": "string" - }, - "promotionCode": { - "description": "The promotion code.", - "type": "string" - }, - "publisher": { - "description": "The publisher ID.", - "type": "string" - }, - "version": { - "description": "The plan's version.", - "type": "string" - } - }, - "required": [ - "name", - "publisher", - "product", - "version" - ], - "type": "object" - }, - "Sku": { - "description": "SKU for the resource.", - "properties": { - "capacity": { - "description": "The SKU capacity.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "The SKU family.", - "type": "string" - }, - "model": { - "description": "The SKU model.", - "type": "string" - }, - "name": { - "description": "The SKU name.", - "type": "string" - }, - "size": { - "description": "The SKU size.", - "type": "string" - }, - "tier": { - "description": "The SKU tier.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "UserAssignedResourceIdentity": { - "description": "Represents the user assigned identity that is contained within the UserAssignedIdentities dictionary on ResourceIdentity", - "properties": {}, - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2020-09-01/Microsoft.Authorization.Resources.json b/schemas/2020-09-01/Microsoft.Authorization.Resources.json deleted file mode 100644 index 0474c856f1..0000000000 --- a/schemas/2020-09-01/Microsoft.Authorization.Resources.json +++ /dev/null @@ -1,732 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.Resources.json#", - "title": "Microsoft.Authorization", - "description": "Microsoft Authorization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "subscription_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2020-09-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2020-09-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "managementGroup_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2020-09-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2020-09-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "tenant_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2020-09-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2020-09-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "unknown_resourceDefinitions": { - "policyAssignments": { - "description": "Microsoft.Authorization/policyAssignments", - "properties": { - "apiVersion": { - "enum": [ - "2020-09-01" - ], - "type": "string" - }, - "identity": { - "description": "The managed identity associated with the policy assignment.", - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The location of the policy assignment. Only required when utilizing managed identity.", - "type": "string" - }, - "name": { - "description": "The name of the policy assignment.", - "type": "string" - }, - "properties": { - "description": "Properties for the policy assignment.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyAssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyAssignments" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "Identity": { - "description": "Identity for the resource.", - "properties": { - "type": { - "description": "The identity type. This is the only required field when adding a system assigned identity to a resource.", - "oneOf": [ - { - "enum": [ - "SystemAssigned", - "None" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "NonComplianceMessage": { - "description": "A message that describes why a resource is non-compliant with the policy. This is shown in 'deny' error messages and on resource's non-compliant compliance results.", - "properties": { - "message": { - "description": "A message that describes why a resource is non-compliant with the policy. This is shown in 'deny' error messages and on resource's non-compliant compliance results.", - "type": "string" - }, - "policyDefinitionReferenceId": { - "description": "The policy definition reference ID within a policy set definition the message is intended for. This is only applicable if the policy assignment assigns a policy set definition. If this is not provided the message applies to all policies assigned by this policy assignment.", - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "ParameterDefinitionsValue": { - "description": "The definition of a parameter that can be provided to the policy.", - "properties": { - "allowedValues": { - "description": "The allowed values for the parameter.", - "oneOf": [ - { - "items": {}, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "defaultValue": { - "description": "The default value for the parameter if no value is provided.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "metadata": { - "description": "General metadata for the parameter.", - "oneOf": [ - { - "$ref": "#/definitions/ParameterDefinitionsValueMetadata" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "description": "The data type of the parameter.", - "oneOf": [ - { - "enum": [ - "String", - "Array", - "Object", - "Boolean", - "Integer", - "Float", - "DateTime" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ParameterDefinitionsValueMetadata": { - "additionalProperties": { - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": "General metadata for the parameter.", - "properties": { - "assignPermissions": { - "description": "Set to true to have Azure portal create role assignments on the resource ID or resource scope value of this parameter during policy assignment. This property is useful in case you wish to assign permissions outside the assignment scope.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "The description of the parameter.", - "type": "string" - }, - "displayName": { - "description": "The display name for the parameter.", - "type": "string" - }, - "strongType": { - "description": "Used when assigning the policy definition through the portal. Provides a context aware list of values for the user to choose from.", - "type": "string" - } - }, - "type": "object" - }, - "ParameterValuesValue": { - "description": "The value of a parameter.", - "properties": { - "value": { - "description": "The value of the parameter.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "PolicyAssignmentProperties": { - "description": "The policy assignment properties.", - "properties": { - "description": { - "description": "This message will be part of response in case of policy violation.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy assignment.", - "type": "string" - }, - "enforcementMode": { - "description": "The policy assignment enforcement mode. Possible values are Default and DoNotEnforce.", - "oneOf": [ - { - "enum": [ - "Default", - "DoNotEnforce" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "metadata": { - "description": "The policy assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "nonComplianceMessages": { - "description": "The messages that describe why a resource is non-compliant with the policy.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/NonComplianceMessage" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "notScopes": { - "description": "The policy's excluded scopes.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "The parameter values for the assigned policy rule. The keys are the parameter names." - }, - "policyDefinitionId": { - "description": "The ID of the policy definition or policy set definition being assigned.", - "type": "string" - } - }, - "type": "object" - }, - "PolicyDefinitionGroup": { - "description": "The policy definition group.", - "properties": { - "additionalMetadataId": { - "description": "A resource ID of a resource that contains additional metadata about the group.", - "type": "string" - }, - "category": { - "description": "The group's category.", - "type": "string" - }, - "description": { - "description": "The group's description.", - "type": "string" - }, - "displayName": { - "description": "The group's display name.", - "type": "string" - }, - "name": { - "description": "The name of the group.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "PolicyDefinitionProperties": { - "description": "The policy definition properties.", - "properties": { - "description": { - "description": "The policy definition description.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy definition.", - "type": "string" - }, - "metadata": { - "description": "The policy definition metadata. Metadata is an open ended object and is typically a collection of key value pairs.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mode": { - "description": "The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data.", - "type": "string" - }, - "parameters": { - "description": "The parameter definitions for parameters used in the policy rule. The keys are the parameter names." - }, - "policyRule": { - "description": "The policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyType": { - "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "BuiltIn", - "Custom", - "Static" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "PolicyDefinitionReference": { - "description": "The policy definition reference.", - "properties": { - "groupNames": { - "description": "The name of the groups that this policy definition reference belongs to.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "The parameter values for the referenced policy rule. The keys are the parameter names." - }, - "policyDefinitionId": { - "description": "The ID of the policy definition or policy set definition.", - "type": "string" - }, - "policyDefinitionReferenceId": { - "description": "A unique id (within the policy set definition) for this policy definition reference.", - "type": "string" - } - }, - "required": [ - "policyDefinitionId" - ], - "type": "object" - }, - "PolicySetDefinitionProperties": { - "description": "The policy set definition properties.", - "properties": { - "description": { - "description": "The policy set definition description.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy set definition.", - "type": "string" - }, - "metadata": { - "description": "The policy set definition metadata. Metadata is an open ended object and is typically a collection of key value pairs.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "The policy set definition parameters that can be used in policy definition references." - }, - "policyDefinitionGroups": { - "description": "The metadata describing groups of policy definition references within the policy set definition.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/PolicyDefinitionGroup" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyDefinitions": { - "description": "An array of policy definition references.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/PolicyDefinitionReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyType": { - "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "BuiltIn", - "Custom", - "Static" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "policyDefinitions" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2020-10-01/Microsoft.Resources.json b/schemas/2020-10-01/Microsoft.Resources.json deleted file mode 100644 index 5a29b7fa8e..0000000000 --- a/schemas/2020-10-01/Microsoft.Resources.json +++ /dev/null @@ -1,503 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.Resources.json#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "deploymentScripts": { - "description": "Microsoft.Resources/deploymentScripts", - "properties": { - "apiVersion": { - "enum": [ - "2020-10-01" - ], - "type": "string" - }, - "identity": { - "description": "Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.", - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The location of the ACI and the storage account for the deployment script.", - "type": "string" - }, - "name": { - "description": "Name of the deployment script.", - "maxLength": 90, - "minLength": 1, - "type": "string" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Resources/deploymentScripts" - ], - "type": "string" - } - }, - "required": [ - "name", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "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": [ - "2020-10-01" - ] - }, - "location": { - "type": "string", - "description": "the resource group location" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource group tags." - } - }, - "required": [ - "name", - "type", - "apiVersion", - "location" - ], - "description": "Microsoft.Resources/resourceGroups" - } - }, - "unknown_resourceDefinitions": { - "deployments": { - "description": "Microsoft.Resources/deployments", - "properties": { - "apiVersion": { - "enum": [ - "2020-10-01" - ], - "type": "string" - }, - "location": { - "description": "The location to store the deployment data.", - "type": "string" - }, - "name": { - "description": "The name of the deployment.", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "The deployment properties.", - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Deployment tags", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$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" - }, - "tags": { - "description": "Microsoft.Resources/tags", - "properties": { - "apiVersion": { - "enum": [ - "2020-10-01" - ], - "type": "string" - }, - "name": { - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of tags.", - "oneOf": [ - { - "$ref": "#/definitions/Tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Resources/tags" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "DebugSetting": { - "description": "The debug setting.", - "properties": { - "detailLevel": { - "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.", - "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" - } - ] - }, - "expressionEvaluationOptions": { - "description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template. Only applicable to nested templates. If not specified, default value is outer.", - "oneOf": [ - { - "$ref": "#/definitions/ExpressionEvaluationOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mode": { - "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.", - "oneOf": [ - { - "enum": [ - "Incremental", - "Complete" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "onErrorDeployment": { - "description": "The deployment on error behavior.", - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parametersLink": { - "description": "The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "template": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "templateLink": { - "description": "The URI of the template. Use either the templateLink property or the template property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "mode" - ], - "type": "object" - }, - "ExpressionEvaluationOptions": { - "description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template.", - "properties": { - "scope": { - "description": "The scope to be used for evaluation of parameters, variables and functions in a nested template.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "Outer", - "Inner" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ManagedServiceIdentity": { - "description": "Managed identity generic object.", - "properties": { - "type": { - "description": "Type of the managed identity.", - "oneOf": [ - { - "enum": [ - "UserAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userAssignedIdentities": { - "description": "The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.", - "oneOf": [ - { - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentity" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "OnErrorDeployment": { - "description": "Deployment on error behavior.", - "properties": { - "deploymentName": { - "description": "The deployment to be used on error case.", - "type": "string" - }, - "type": { - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.", - "oneOf": [ - { - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ParametersLink": { - "description": "Entity representing the reference to the deployment parameters.", - "properties": { - "contentVersion": { - "description": "If included, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the parameters file.", - "type": "string" - } - }, - "required": [ - "uri" - ], - "type": "object" - }, - "ResourceGroupProperties": { - "description": "The resource group properties.", - "properties": {}, - "type": "object" - }, - "Tags": { - "description": "A dictionary of name and value pairs.", - "properties": { - "tags": { - "description": "Dictionary of ", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "TemplateLink": { - "description": "Entity representing the reference to the template.", - "properties": { - "contentVersion": { - "description": "If included, must match the ContentVersion in the template.", - "type": "string" - }, - "id": { - "description": "The resource id of a Template Spec. Use either the id or uri property, but not both.", - "type": "string" - }, - "queryString": { - "description": "The query string (for example, a SAS token) to be used with the templateLink URI.", - "type": "string" - }, - "relativePath": { - "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", - "type": "string" - }, - "uri": { - "description": "The URI of the template to deploy. Use either the uri or id property, but not both.", - "type": "string" - } - }, - "type": "object" - }, - "UserAssignedIdentity": { - "description": "User-assigned managed identity.", - "properties": {}, - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2021-01-01/Microsoft.Resources.json b/schemas/2021-01-01/Microsoft.Resources.json deleted file mode 100644 index c2054747da..0000000000 --- a/schemas/2021-01-01/Microsoft.Resources.json +++ /dev/null @@ -1,410 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Resources.json#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "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-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" - } - }, - "unknown_resourceDefinitions": { - "deployments": { - "description": "Microsoft.Resources/deployments", - "properties": { - "apiVersion": { - "enum": [ - "2021-01-01" - ], - "type": "string" - }, - "location": { - "description": "The location to store the deployment data.", - "type": "string" - }, - "name": { - "description": "The name of the deployment.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The deployment properties.", - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Deployment tags", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$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" - }, - "tags": { - "description": "Microsoft.Resources/tags", - "properties": { - "apiVersion": { - "enum": [ - "2021-01-01" - ], - "type": "string" - }, - "name": { - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of tags.", - "oneOf": [ - { - "$ref": "#/definitions/Tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Resources/tags" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "DebugSetting": { - "description": "The debug setting.", - "properties": { - "detailLevel": { - "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.", - "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" - } - ] - }, - "expressionEvaluationOptions": { - "description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template. Only applicable to nested templates. If not specified, default value is outer.", - "oneOf": [ - { - "$ref": "#/definitions/ExpressionEvaluationOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mode": { - "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.", - "oneOf": [ - { - "enum": [ - "Incremental", - "Complete" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "onErrorDeployment": { - "description": "The deployment on error behavior.", - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parametersLink": { - "description": "The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "template": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "templateLink": { - "description": "The URI of the template. Use either the templateLink property or the template property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "mode" - ], - "type": "object" - }, - "ExpressionEvaluationOptions": { - "description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template.", - "properties": { - "scope": { - "description": "The scope to be used for evaluation of parameters, variables and functions in a nested template.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "Outer", - "Inner" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "OnErrorDeployment": { - "description": "Deployment on error behavior.", - "properties": { - "deploymentName": { - "description": "The deployment to be used on error case.", - "type": "string" - }, - "type": { - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.", - "oneOf": [ - { - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ParametersLink": { - "description": "Entity representing the reference to the deployment parameters.", - "properties": { - "contentVersion": { - "description": "If included, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the parameters file.", - "type": "string" - } - }, - "required": [ - "uri" - ], - "type": "object" - }, - "ResourceGroupProperties": { - "description": "The resource group properties.", - "properties": {}, - "type": "object" - }, - "Tags": { - "description": "A dictionary of name and value pairs.", - "properties": { - "tags": { - "description": "Dictionary of ", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "TemplateLink": { - "description": "Entity representing the reference to the template.", - "properties": { - "contentVersion": { - "description": "If included, must match the ContentVersion in the template.", - "type": "string" - }, - "id": { - "description": "The resource id of a Template Spec. Use either the id or uri property, but not both.", - "type": "string" - }, - "queryString": { - "description": "The query string (for example, a SAS token) to be used with the templateLink URI.", - "type": "string" - }, - "relativePath": { - "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", - "type": "string" - }, - "uri": { - "description": "The URI of the template to deploy. Use either the uri or id property, but not both.", - "type": "string" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2021-03-01-preview/Microsoft.Resources.json b/schemas/2021-03-01-preview/Microsoft.Resources.json deleted file mode 100644 index a7b525afe9..0000000000 --- a/schemas/2021-03-01-preview/Microsoft.Resources.json +++ /dev/null @@ -1,391 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.Resources.json#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "templateSpecs": { - "description": "Microsoft.Resources/templateSpecs", - "properties": { - "apiVersion": { - "enum": [ - "2021-03-01-preview" - ], - "type": "string" - }, - "location": { - "description": "The location of the Template Spec. It cannot be changed after Template Spec creation. It must be one of the supported Azure locations.", - "type": "string" - }, - "name": { - "description": "Name of the Template Spec.", - "oneOf": [ - { - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Template Spec properties.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateSpecProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/templateSpecs_versions_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Resources/templateSpecs" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "templateSpecs_versions": { - "description": "Microsoft.Resources/templateSpecs/versions", - "properties": { - "apiVersion": { - "enum": [ - "2021-03-01-preview" - ], - "type": "string" - }, - "location": { - "description": "The location of the Template Spec Version. It must match the location of the parent Template Spec.", - "type": "string" - }, - "name": { - "description": "The version of the Template Spec.", - "oneOf": [ - { - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Template Spec Version properties.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateSpecVersionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Resources/templateSpecs/versions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "LinkedTemplateArtifact": { - "description": "Represents a Template Spec artifact containing an embedded Azure Resource Manager template for use as a linked template.", - "properties": { - "path": { - "description": "A filesystem safe relative path of the artifact.", - "type": "string" - }, - "template": { - "description": "The Azure Resource Manager template.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "path", - "template" - ], - "type": "object" - }, - "TemplateSpecProperties": { - "description": "Template Spec properties.", - "properties": { - "description": { - "description": "Template Spec description.", - "maxLength": 4096, - "type": "string" - }, - "displayName": { - "description": "Template Spec display name.", - "maxLength": 64, - "type": "string" - }, - "metadata": { - "description": "The Template Spec metadata. Metadata is an open-ended object and is typically a collection of key-value pairs.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "TemplateSpecVersionProperties": { - "description": "Template Spec Version properties.", - "properties": { - "description": { - "description": "Template Spec version description.", - "maxLength": 4096, - "type": "string" - }, - "linkedTemplates": { - "description": "An array of linked template artifacts.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/LinkedTemplateArtifact" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mainTemplate": { - "description": "The main Azure Resource Manager template content.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "metadata": { - "description": "The version metadata. Metadata is an open-ended object and is typically a collection of key-value pairs.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "uiFormDefinition": { - "description": "The Azure Resource Manager template UI definition content.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "templateSpecs_versions_childResource": { - "description": "Microsoft.Resources/templateSpecs/versions", - "properties": { - "apiVersion": { - "enum": [ - "2021-03-01-preview" - ], - "type": "string" - }, - "location": { - "description": "The location of the Template Spec Version. It must match the location of the parent Template Spec.", - "type": "string" - }, - "name": { - "description": "The version of the Template Spec.", - "oneOf": [ - { - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Template Spec Version properties.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateSpecVersionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "versions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "subscription_resourceDefinitions": { - "resourceGroups": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90, - "description": "the resource group name" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/resourceGroups" - ] - }, - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "location": { - "type": "string", - "description": "the resource group location" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource group tags." - } - }, - "required": [ - "name", - "type", - "apiVersion", - "location" - ], - "description": "Microsoft.Resources/resourceGroups" - } - } -} \ No newline at end of file diff --git a/schemas/2021-04-01/Microsoft.Resources.json b/schemas/2021-04-01/Microsoft.Resources.json deleted file mode 100644 index dce519822d..0000000000 --- a/schemas/2021-04-01/Microsoft.Resources.json +++ /dev/null @@ -1,410 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Resources.json#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "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-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" - } - }, - "unknown_resourceDefinitions": { - "deployments": { - "description": "Microsoft.Resources/deployments", - "properties": { - "apiVersion": { - "enum": [ - "2021-04-01" - ], - "type": "string" - }, - "location": { - "description": "The location to store the deployment data.", - "type": "string" - }, - "name": { - "description": "The name of the deployment.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The deployment properties.", - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Deployment tags", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$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" - }, - "tags": { - "description": "Microsoft.Resources/tags", - "properties": { - "apiVersion": { - "enum": [ - "2021-04-01" - ], - "type": "string" - }, - "name": { - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of tags.", - "oneOf": [ - { - "$ref": "#/definitions/Tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Resources/tags" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "DebugSetting": { - "description": "The debug setting.", - "properties": { - "detailLevel": { - "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.", - "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" - } - ] - }, - "expressionEvaluationOptions": { - "description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template. Only applicable to nested templates. If not specified, default value is outer.", - "oneOf": [ - { - "$ref": "#/definitions/ExpressionEvaluationOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mode": { - "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.", - "oneOf": [ - { - "enum": [ - "Incremental", - "Complete" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "onErrorDeployment": { - "description": "The deployment on error behavior.", - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parametersLink": { - "description": "The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "template": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "templateLink": { - "description": "The URI of the template. Use either the templateLink property or the template property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "mode" - ], - "type": "object" - }, - "ExpressionEvaluationOptions": { - "description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template.", - "properties": { - "scope": { - "description": "The scope to be used for evaluation of parameters, variables and functions in a nested template.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "Outer", - "Inner" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "OnErrorDeployment": { - "description": "Deployment on error behavior.", - "properties": { - "deploymentName": { - "description": "The deployment to be used on error case.", - "type": "string" - }, - "type": { - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.", - "oneOf": [ - { - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ParametersLink": { - "description": "Entity representing the reference to the deployment parameters.", - "properties": { - "contentVersion": { - "description": "If included, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the parameters file.", - "type": "string" - } - }, - "required": [ - "uri" - ], - "type": "object" - }, - "ResourceGroupProperties": { - "description": "The resource group properties.", - "properties": {}, - "type": "object" - }, - "Tags": { - "description": "A dictionary of name and value pairs.", - "properties": { - "tags": { - "description": "Dictionary of ", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "TemplateLink": { - "description": "Entity representing the reference to the template.", - "properties": { - "contentVersion": { - "description": "If included, must match the ContentVersion in the template.", - "type": "string" - }, - "id": { - "description": "The resource id of a Template Spec. Use either the id or uri property, but not both.", - "type": "string" - }, - "queryString": { - "description": "The query string (for example, a SAS token) to be used with the templateLink URI.", - "type": "string" - }, - "relativePath": { - "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", - "type": "string" - }, - "uri": { - "description": "The URI of the template to deploy. Use either the uri or id property, but not both.", - "type": "string" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2021-05-01/Microsoft.Resources.json b/schemas/2021-05-01/Microsoft.Resources.json deleted file mode 100644 index d6af5df3d3..0000000000 --- a/schemas/2021-05-01/Microsoft.Resources.json +++ /dev/null @@ -1,391 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-05-01/Microsoft.Resources.json#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "templateSpecs": { - "description": "Microsoft.Resources/templateSpecs", - "properties": { - "apiVersion": { - "enum": [ - "2021-05-01" - ], - "type": "string" - }, - "location": { - "description": "The location of the Template Spec. It cannot be changed after Template Spec creation. It must be one of the supported Azure locations.", - "type": "string" - }, - "name": { - "description": "Name of the Template Spec.", - "oneOf": [ - { - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Template Spec properties.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateSpecProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/templateSpecs_versions_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Resources/templateSpecs" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "templateSpecs_versions": { - "description": "Microsoft.Resources/templateSpecs/versions", - "properties": { - "apiVersion": { - "enum": [ - "2021-05-01" - ], - "type": "string" - }, - "location": { - "description": "The location of the Template Spec Version. It must match the location of the parent Template Spec.", - "type": "string" - }, - "name": { - "description": "The version of the Template Spec.", - "oneOf": [ - { - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Template Spec Version properties.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateSpecVersionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Resources/templateSpecs/versions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "LinkedTemplateArtifact": { - "description": "Represents a Template Spec artifact containing an embedded Azure Resource Manager template for use as a linked template.", - "properties": { - "path": { - "description": "A filesystem safe relative path of the artifact.", - "type": "string" - }, - "template": { - "description": "The Azure Resource Manager template.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "path", - "template" - ], - "type": "object" - }, - "TemplateSpecProperties": { - "description": "Template Spec properties.", - "properties": { - "description": { - "description": "Template Spec description.", - "maxLength": 4096, - "type": "string" - }, - "displayName": { - "description": "Template Spec display name.", - "maxLength": 64, - "type": "string" - }, - "metadata": { - "description": "The Template Spec metadata. Metadata is an open-ended object and is typically a collection of key-value pairs.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "TemplateSpecVersionProperties": { - "description": "Template Spec Version properties.", - "properties": { - "description": { - "description": "Template Spec version description.", - "maxLength": 4096, - "type": "string" - }, - "linkedTemplates": { - "description": "An array of linked template artifacts.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/LinkedTemplateArtifact" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mainTemplate": { - "description": "The main Azure Resource Manager template content.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "metadata": { - "description": "The version metadata. Metadata is an open-ended object and is typically a collection of key-value pairs.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "uiFormDefinition": { - "description": "The Azure Resource Manager template UI definition content.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "templateSpecs_versions_childResource": { - "description": "Microsoft.Resources/templateSpecs/versions", - "properties": { - "apiVersion": { - "enum": [ - "2021-05-01" - ], - "type": "string" - }, - "location": { - "description": "The location of the Template Spec Version. It must match the location of the parent Template Spec.", - "type": "string" - }, - "name": { - "description": "The version of the Template Spec.", - "oneOf": [ - { - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Template Spec Version properties.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateSpecVersionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "versions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "subscription_resourceDefinitions": { - "resourceGroups": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "maxLength": 90, - "description": "the resource group name" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Resources/resourceGroups" - ] - }, - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-01" - ] - }, - "location": { - "type": "string", - "description": "the resource group location" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource group tags." - } - }, - "required": [ - "name", - "type", - "apiVersion", - "location" - ], - "description": "Microsoft.Resources/resourceGroups" - } - } -} \ No newline at end of file diff --git a/schemas/2021-06-01/Microsoft.Authorization.Resources.json b/schemas/2021-06-01/Microsoft.Authorization.Resources.json deleted file mode 100644 index 1e7dd832f5..0000000000 --- a/schemas/2021-06-01/Microsoft.Authorization.Resources.json +++ /dev/null @@ -1,752 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Authorization.Resources.json#", - "title": "Microsoft.Authorization", - "description": "Microsoft Authorization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "subscription_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2021-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2021-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "managementGroup_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2021-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2021-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "tenant_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2021-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2021-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "type": "string" - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "unknown_resourceDefinitions": { - "policyAssignments": { - "description": "Microsoft.Authorization/policyAssignments", - "properties": { - "apiVersion": { - "enum": [ - "2021-06-01" - ], - "type": "string" - }, - "identity": { - "description": "The managed identity associated with the policy assignment.", - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The location of the policy assignment. Only required when utilizing managed identity.", - "type": "string" - }, - "name": { - "description": "The name of the policy assignment.", - "type": "string" - }, - "properties": { - "description": "Properties for the policy assignment.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyAssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyAssignments" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "Identity": { - "description": "Identity for the resource. Policy assignments support a maximum of one identity. That is either a system assigned identity or a single user assigned identity.", - "properties": { - "type": { - "description": "The identity type. This is the only required field when adding a system or user assigned identity to a resource.", - "oneOf": [ - { - "enum": [ - "SystemAssigned", - "UserAssigned", - "None" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userAssignedIdentities": { - "description": "The user identity associated with the policy. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", - "oneOf": [ - { - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentitiesValue" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "NonComplianceMessage": { - "description": "A message that describes why a resource is non-compliant with the policy. This is shown in 'deny' error messages and on resource's non-compliant compliance results.", - "properties": { - "message": { - "description": "A message that describes why a resource is non-compliant with the policy. This is shown in 'deny' error messages and on resource's non-compliant compliance results.", - "type": "string" - }, - "policyDefinitionReferenceId": { - "description": "The policy definition reference ID within a policy set definition the message is intended for. This is only applicable if the policy assignment assigns a policy set definition. If this is not provided the message applies to all policies assigned by this policy assignment.", - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "ParameterDefinitionsValue": { - "description": "The definition of a parameter that can be provided to the policy.", - "properties": { - "allowedValues": { - "description": "The allowed values for the parameter.", - "oneOf": [ - { - "items": {}, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "defaultValue": { - "description": "The default value for the parameter if no value is provided.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "metadata": { - "description": "General metadata for the parameter.", - "oneOf": [ - { - "$ref": "#/definitions/ParameterDefinitionsValueMetadata" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "description": "The data type of the parameter.", - "oneOf": [ - { - "enum": [ - "String", - "Array", - "Object", - "Boolean", - "Integer", - "Float", - "DateTime" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ParameterDefinitionsValueMetadata": { - "additionalProperties": { - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": "General metadata for the parameter.", - "properties": { - "assignPermissions": { - "description": "Set to true to have Azure portal create role assignments on the resource ID or resource scope value of this parameter during policy assignment. This property is useful in case you wish to assign permissions outside the assignment scope.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "The description of the parameter.", - "type": "string" - }, - "displayName": { - "description": "The display name for the parameter.", - "type": "string" - }, - "strongType": { - "description": "Used when assigning the policy definition through the portal. Provides a context aware list of values for the user to choose from.", - "type": "string" - } - }, - "type": "object" - }, - "ParameterValuesValue": { - "description": "The value of a parameter.", - "properties": { - "value": { - "description": "The value of the parameter.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "PolicyAssignmentProperties": { - "description": "The policy assignment properties.", - "properties": { - "description": { - "description": "This message will be part of response in case of policy violation.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy assignment.", - "type": "string" - }, - "enforcementMode": { - "description": "The policy assignment enforcement mode. Possible values are Default and DoNotEnforce.", - "oneOf": [ - { - "enum": [ - "Default", - "DoNotEnforce" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "metadata": { - "description": "The policy assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "nonComplianceMessages": { - "description": "The messages that describe why a resource is non-compliant with the policy.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/NonComplianceMessage" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "notScopes": { - "description": "The policy's excluded scopes.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "The parameter values for the assigned policy rule. The keys are the parameter names." - }, - "policyDefinitionId": { - "description": "The ID of the policy definition or policy set definition being assigned.", - "type": "string" - } - }, - "type": "object" - }, - "PolicyDefinitionGroup": { - "description": "The policy definition group.", - "properties": { - "additionalMetadataId": { - "description": "A resource ID of a resource that contains additional metadata about the group.", - "type": "string" - }, - "category": { - "description": "The group's category.", - "type": "string" - }, - "description": { - "description": "The group's description.", - "type": "string" - }, - "displayName": { - "description": "The group's display name.", - "type": "string" - }, - "name": { - "description": "The name of the group.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "PolicyDefinitionProperties": { - "description": "The policy definition properties.", - "properties": { - "description": { - "description": "The policy definition description.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy definition.", - "type": "string" - }, - "metadata": { - "description": "The policy definition metadata. Metadata is an open ended object and is typically a collection of key value pairs.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mode": { - "description": "The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data.", - "type": "string" - }, - "parameters": { - "description": "The parameter definitions for parameters used in the policy rule. The keys are the parameter names." - }, - "policyRule": { - "description": "The policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyType": { - "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "BuiltIn", - "Custom", - "Static" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "PolicyDefinitionReference": { - "description": "The policy definition reference.", - "properties": { - "groupNames": { - "description": "The name of the groups that this policy definition reference belongs to.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "The parameter values for the referenced policy rule. The keys are the parameter names." - }, - "policyDefinitionId": { - "description": "The ID of the policy definition or policy set definition.", - "type": "string" - }, - "policyDefinitionReferenceId": { - "description": "A unique id (within the policy set definition) for this policy definition reference.", - "type": "string" - } - }, - "required": [ - "policyDefinitionId" - ], - "type": "object" - }, - "PolicySetDefinitionProperties": { - "description": "The policy set definition properties.", - "properties": { - "description": { - "description": "The policy set definition description.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy set definition.", - "type": "string" - }, - "metadata": { - "description": "The policy set definition metadata. Metadata is an open ended object and is typically a collection of key value pairs.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "The policy set definition parameters that can be used in policy definition references." - }, - "policyDefinitionGroups": { - "description": "The metadata describing groups of policy definition references within the policy set definition.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/PolicyDefinitionGroup" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyDefinitions": { - "description": "An array of policy definition references.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/PolicyDefinitionReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyType": { - "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "BuiltIn", - "Custom", - "Static" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "policyDefinitions" - ], - "type": "object" - }, - "UserAssignedIdentitiesValue": { - "properties": {}, - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2021-07-01/Microsoft.Features.json b/schemas/2021-07-01/Microsoft.Features.json deleted file mode 100644 index f7bd38e2c4..0000000000 --- a/schemas/2021-07-01/Microsoft.Features.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Features.json#", - "title": "Microsoft.Features", - "description": "Microsoft Features Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "subscription_resourceDefinitions": { - "featureProviders_subscriptionFeatureRegistrations": { - "description": "Microsoft.Features/featureProviders/subscriptionFeatureRegistrations", - "properties": { - "apiVersion": { - "enum": [ - "2021-07-01" - ], - "type": "string" - }, - "name": { - "description": "The feature name.", - "type": "string" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SubscriptionFeatureRegistrationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Features/featureProviders/subscriptionFeatureRegistrations" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "AuthorizationProfile": { - "description": "Authorization Profile", - "properties": {}, - "type": "object" - }, - "SubscriptionFeatureRegistrationProperties": { - "properties": { - "authorizationProfile": { - "description": "Authorization Profile", - "oneOf": [ - { - "$ref": "#/definitions/AuthorizationProfile" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "The feature description.", - "maxLength": 1000, - "type": "string" - }, - "metadata": { - "description": "Key-value pairs for meta data.", - "oneOf": [ - { - "additionalProperties": { - "maxLength": 1000, - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "shouldFeatureDisplayInPortal": { - "description": "Indicates whether feature should be displayed in Portal.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "state": { - "description": "The state.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "NotRegistered", - "Pending", - "Registering", - "Registered", - "Unregistering", - "Unregistered" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2022-02-01/Microsoft.Resources.json b/schemas/2022-02-01/Microsoft.Resources.json deleted file mode 100644 index dc87d755bd..0000000000 --- a/schemas/2022-02-01/Microsoft.Resources.json +++ /dev/null @@ -1,391 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-02-01/Microsoft.Resources.json#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "templateSpecs": { - "description": "Microsoft.Resources/templateSpecs", - "properties": { - "apiVersion": { - "enum": [ - "2022-02-01" - ], - "type": "string" - }, - "location": { - "description": "The location of the Template Spec. It cannot be changed after Template Spec creation. It must be one of the supported Azure locations.", - "type": "string" - }, - "name": { - "description": "Name of the Template Spec.", - "oneOf": [ - { - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Template Spec properties.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateSpecProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/templateSpecs_versions_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Resources/templateSpecs" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "templateSpecs_versions": { - "description": "Microsoft.Resources/templateSpecs/versions", - "properties": { - "apiVersion": { - "enum": [ - "2022-02-01" - ], - "type": "string" - }, - "location": { - "description": "The location of the Template Spec Version. It must match the location of the parent Template Spec.", - "type": "string" - }, - "name": { - "description": "The version of the Template Spec.", - "oneOf": [ - { - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Template Spec Version properties.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateSpecVersionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Resources/templateSpecs/versions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "LinkedTemplateArtifact": { - "description": "Represents a Template Spec artifact containing an embedded Azure Resource Manager template for use as a linked template.", - "properties": { - "path": { - "description": "A filesystem safe relative path of the artifact.", - "type": "string" - }, - "template": { - "description": "The Azure Resource Manager template.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "path", - "template" - ], - "type": "object" - }, - "TemplateSpecProperties": { - "description": "Template Spec properties.", - "properties": { - "description": { - "description": "Template Spec description.", - "maxLength": 4096, - "type": "string" - }, - "displayName": { - "description": "Template Spec display name.", - "maxLength": 64, - "type": "string" - }, - "metadata": { - "description": "The Template Spec metadata. Metadata is an open-ended object and is typically a collection of key-value pairs.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "TemplateSpecVersionProperties": { - "description": "Template Spec Version properties.", - "properties": { - "description": { - "description": "Template Spec version description.", - "maxLength": 4096, - "type": "string" - }, - "linkedTemplates": { - "description": "An array of linked template artifacts.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/LinkedTemplateArtifact" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mainTemplate": { - "description": "The main Azure Resource Manager template content.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "metadata": { - "description": "The version metadata. Metadata is an open-ended object and is typically a collection of key-value pairs.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "uiFormDefinition": { - "description": "The Azure Resource Manager template UI definition content.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "templateSpecs_versions_childResource": { - "description": "Microsoft.Resources/templateSpecs/versions", - "properties": { - "apiVersion": { - "enum": [ - "2022-02-01" - ], - "type": "string" - }, - "location": { - "description": "The location of the Template Spec Version. It must match the location of the parent Template Spec.", - "type": "string" - }, - "name": { - "description": "The version of the Template Spec.", - "oneOf": [ - { - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Template Spec Version properties.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateSpecVersionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "versions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "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" - } - } -} \ No newline at end of file diff --git a/schemas/2022-03-01-preview/Microsoft.Resources.json b/schemas/2022-03-01-preview/Microsoft.Resources.json deleted file mode 100644 index 05996c3713..0000000000 --- a/schemas/2022-03-01-preview/Microsoft.Resources.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-03-01-preview/Microsoft.Resources.json#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "definitions": {}, - "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-03-01-preview" - ] - }, - "location": { - "type": "string", - "description": "the resource group location" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource group tags." - } - }, - "required": [ - "name", - "type", - "apiVersion", - "location" - ], - "description": "Microsoft.Resources/resourceGroups" - } - } -} \ No newline at end of file diff --git a/schemas/2022-05-01/Microsoft.Resources.json b/schemas/2022-05-01/Microsoft.Resources.json deleted file mode 100644 index 52d2114b88..0000000000 --- a/schemas/2022-05-01/Microsoft.Resources.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-05-01/Microsoft.Resources.json#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "definitions": {}, - "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-05-01" - ] - }, - "location": { - "type": "string", - "description": "the resource group location" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource group tags." - } - }, - "required": [ - "name", - "type", - "apiVersion", - "location" - ], - "description": "Microsoft.Resources/resourceGroups" - } - } -} \ No newline at end of file diff --git a/schemas/2022-06-01/Microsoft.Authorization.Resources.json b/schemas/2022-06-01/Microsoft.Authorization.Resources.json deleted file mode 100644 index 6951c96043..0000000000 --- a/schemas/2022-06-01/Microsoft.Authorization.Resources.json +++ /dev/null @@ -1,355 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-06-01/Microsoft.Authorization.Resources.json#", - "title": "Microsoft.Authorization", - "description": "Microsoft Authorization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "unknown_resourceDefinitions": { - "policyAssignments": { - "description": "Microsoft.Authorization/policyAssignments", - "properties": { - "apiVersion": { - "enum": [ - "2022-06-01" - ], - "type": "string" - }, - "identity": { - "description": "The managed identity associated with the policy assignment.", - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The location of the policy assignment. Only required when utilizing managed identity.", - "type": "string" - }, - "name": { - "description": "The name of the policy assignment.", - "type": "string" - }, - "properties": { - "description": "Properties for the policy assignment.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyAssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyAssignments" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "Identity": { - "description": "Identity for the resource. Policy assignments support a maximum of one identity. That is either a system assigned identity or a single user assigned identity.", - "properties": { - "type": { - "description": "The identity type. This is the only required field when adding a system or user assigned identity to a resource.", - "oneOf": [ - { - "enum": [ - "SystemAssigned", - "UserAssigned", - "None" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userAssignedIdentities": { - "description": "The user identity associated with the policy. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", - "oneOf": [ - { - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentitiesValue" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "NonComplianceMessage": { - "description": "A message that describes why a resource is non-compliant with the policy. This is shown in 'deny' error messages and on resource's non-compliant compliance results.", - "properties": { - "message": { - "description": "A message that describes why a resource is non-compliant with the policy. This is shown in 'deny' error messages and on resource's non-compliant compliance results.", - "type": "string" - }, - "policyDefinitionReferenceId": { - "description": "The policy definition reference ID within a policy set definition the message is intended for. This is only applicable if the policy assignment assigns a policy set definition. If this is not provided the message applies to all policies assigned by this policy assignment.", - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "Override": { - "description": "The policy property value override.", - "properties": { - "kind": { - "description": "The override kind.", - "oneOf": [ - { - "enum": [ - "policyEffect" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "selectors": { - "description": "The list of the selector expressions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/Selector" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "value": { - "description": "The value to override the policy property.", - "type": "string" - } - }, - "type": "object" - }, - "ParameterValuesValue": { - "description": "The value of a parameter.", - "properties": { - "value": { - "description": "The value of the parameter.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "PolicyAssignmentProperties": { - "description": "The policy assignment properties.", - "properties": { - "description": { - "description": "This message will be part of response in case of policy violation.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy assignment.", - "type": "string" - }, - "enforcementMode": { - "description": "The policy assignment enforcement mode. Possible values are Default and DoNotEnforce.", - "oneOf": [ - { - "enum": [ - "Default", - "DoNotEnforce" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "metadata": { - "description": "The policy assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "nonComplianceMessages": { - "description": "The messages that describe why a resource is non-compliant with the policy.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/NonComplianceMessage" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "notScopes": { - "description": "The policy's excluded scopes.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "overrides": { - "description": "The policy property value override.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/Override" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "The parameter values for the assigned policy rule. The keys are the parameter names." - }, - "policyDefinitionId": { - "description": "The ID of the policy definition or policy set definition being assigned.", - "type": "string" - }, - "resourceSelectors": { - "description": "The resource selector list to filter policies by resource properties.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ResourceSelector" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ResourceSelector": { - "description": "The resource selector to filter policies by resource properties.", - "properties": { - "name": { - "description": "The name of the resource selector.", - "type": "string" - }, - "selectors": { - "description": "The list of the selector expressions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/Selector" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "Selector": { - "description": "The selector expression.", - "properties": { - "in": { - "description": "The list of values to filter in.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "The selector kind.", - "oneOf": [ - { - "enum": [ - "resourceLocation", - "resourceType", - "resourceWithoutLocation", - "policyDefinitionReferenceId" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "notIn": { - "description": "The list of values to filter out.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "UserAssignedIdentitiesValue": { - "properties": {}, - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2022-07-01-preview/Microsoft.Authorization.Resources.json b/schemas/2022-07-01-preview/Microsoft.Authorization.Resources.json deleted file mode 100644 index 6eaceff46b..0000000000 --- a/schemas/2022-07-01-preview/Microsoft.Authorization.Resources.json +++ /dev/null @@ -1,220 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-07-01-preview/Microsoft.Authorization.Resources.json#", - "title": "Microsoft.Authorization", - "description": "Microsoft Authorization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "unknown_resourceDefinitions": { - "policyExemptions": { - "description": "Microsoft.Authorization/policyExemptions", - "properties": { - "apiVersion": { - "enum": [ - "2022-07-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy exemption to delete.", - "type": "string" - }, - "properties": { - "description": "Properties for the policy exemption.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyExemptionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyExemptions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "PolicyExemptionProperties": { - "description": "The policy exemption properties.", - "properties": { - "assignmentScopeValidation": { - "description": "The option whether validate the exemption is at or under the assignment scope.", - "oneOf": [ - { - "enum": [ - "Default", - "DoNotValidate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "The description of the policy exemption.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy exemption.", - "type": "string" - }, - "exemptionCategory": { - "description": "The policy exemption category. Possible values are Waiver and Mitigated.", - "oneOf": [ - { - "enum": [ - "Waiver", - "Mitigated" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "expiresOn": { - "description": "The expiration date and time (in UTC ISO 8601 format yyyy-MM-ddTHH:mm:ssZ) of the policy exemption.", - "format": "date-time", - "type": "string" - }, - "metadata": { - "description": "The policy exemption metadata. Metadata is an open ended object and is typically a collection of key value pairs.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyAssignmentId": { - "description": "The ID of the policy assignment that is being exempted.", - "type": "string" - }, - "policyDefinitionReferenceIds": { - "description": "The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resourceSelectors": { - "description": "The resource selector list to filter policies by resource properties.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ResourceSelector" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "policyAssignmentId", - "exemptionCategory" - ], - "type": "object" - }, - "ResourceSelector": { - "description": "The resource selector to filter policies by resource properties.", - "properties": { - "name": { - "description": "The name of the resource selector.", - "type": "string" - }, - "selectors": { - "description": "The list of the selector expressions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/Selector" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "Selector": { - "description": "The selector expression.", - "properties": { - "in": { - "description": "The list of values to filter in.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "The selector kind.", - "oneOf": [ - { - "enum": [ - "resourceLocation", - "resourceType", - "resourceWithoutLocation", - "policyDefinitionReferenceId" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "notIn": { - "description": "The list of values to filter out.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2022-08-01-preview/Microsoft.Authorization.Resources.json b/schemas/2022-08-01-preview/Microsoft.Authorization.Resources.json deleted file mode 100644 index 68042c26d6..0000000000 --- a/schemas/2022-08-01-preview/Microsoft.Authorization.Resources.json +++ /dev/null @@ -1,311 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-08-01-preview/Microsoft.Authorization.Resources.json#", - "title": "Microsoft.Authorization", - "description": "Microsoft Authorization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "subscription_resourceDefinitions": { - "variables": { - "description": "Microsoft.Authorization/variables", - "properties": { - "apiVersion": { - "enum": [ - "2022-08-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the variable to operate on.", - "type": "string" - }, - "properties": { - "description": "Properties for the variable.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyVariableProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/variables_values_childResource" - } - ] - }, - "type": "array" - }, - "type": { - "enum": [ - "Microsoft.Authorization/variables" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "variables_values": { - "description": "Microsoft.Authorization/variables/values", - "properties": { - "apiVersion": { - "enum": [ - "2022-08-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the variable value to operate on.", - "type": "string" - }, - "properties": { - "description": "Properties for the variable value.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyVariableValueProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/variables/values" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "managementGroup_resourceDefinitions": { - "variables": { - "description": "Microsoft.Authorization/variables", - "properties": { - "apiVersion": { - "enum": [ - "2022-08-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the variable to operate on.", - "type": "string" - }, - "properties": { - "description": "Properties for the variable.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyVariableProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/variables_values_childResource" - } - ] - }, - "type": "array" - }, - "type": { - "enum": [ - "Microsoft.Authorization/variables" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "variables_values": { - "description": "Microsoft.Authorization/variables/values", - "properties": { - "apiVersion": { - "enum": [ - "2022-08-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the variable value to operate on.", - "type": "string" - }, - "properties": { - "description": "Properties for the variable value.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyVariableValueProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/variables/values" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "PolicyVariableColumn": { - "description": "The variable column.", - "properties": { - "columnName": { - "description": "The name of this policy variable column.", - "type": "string" - } - }, - "required": [ - "columnName" - ], - "type": "object" - }, - "PolicyVariableProperties": { - "description": "The variable properties.", - "properties": { - "columns": { - "description": "Variable column definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/PolicyVariableColumn" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "columns" - ], - "type": "object" - }, - "PolicyVariableValueColumnValue": { - "description": "The name value tuple for this variable value column.", - "properties": { - "columnName": { - "description": "Column name for the variable value", - "type": "string" - }, - "columnValue": { - "description": "Column value for the variable value; this can be an integer, double, boolean, null or a string.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "columnName", - "columnValue" - ], - "type": "object" - }, - "PolicyVariableValueProperties": { - "description": "The variable value properties.", - "properties": { - "values": { - "description": "Variable value column value array.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/PolicyVariableValueColumnValue" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "values" - ], - "type": "object" - }, - "variables_values_childResource": { - "description": "Microsoft.Authorization/variables/values", - "properties": { - "apiVersion": { - "enum": [ - "2022-08-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the variable value to operate on.", - "type": "string" - }, - "properties": { - "description": "Properties for the variable value.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyVariableValueProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "values" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2022-08-01-preview/Microsoft.Resources.json b/schemas/2022-08-01-preview/Microsoft.Resources.json deleted file mode 100644 index a02fb7d0ff..0000000000 --- a/schemas/2022-08-01-preview/Microsoft.Resources.json +++ /dev/null @@ -1,573 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-08-01-preview/Microsoft.Resources.json#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "deploymentStacks": { - "description": "Microsoft.Resources/deploymentStacks", - "properties": { - "apiVersion": { - "enum": [ - "2022-08-01-preview" - ], - "type": "string" - }, - "location": { - "description": "The location of the deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations.", - "type": "string" - }, - "name": { - "description": "Name of the deployment stack.", - "oneOf": [ - { - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Deployment stack properties.", - "oneOf": [ - { - "$ref": "#/definitions/DeploymentStackProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Deployment stack resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Resources/deploymentStacks" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "subscription_resourceDefinitions": { - "deploymentStacks": { - "description": "Microsoft.Resources/deploymentStacks", - "properties": { - "apiVersion": { - "enum": [ - "2022-08-01-preview" - ], - "type": "string" - }, - "location": { - "description": "The location of the deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations.", - "type": "string" - }, - "name": { - "description": "Name of the deployment stack.", - "oneOf": [ - { - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Deployment stack properties.", - "oneOf": [ - { - "$ref": "#/definitions/DeploymentStackProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Deployment stack resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Resources/deploymentStacks" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "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-08-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" - } - }, - "managementGroup_resourceDefinitions": { - "deploymentStacks": { - "description": "Microsoft.Resources/deploymentStacks", - "properties": { - "apiVersion": { - "enum": [ - "2022-08-01-preview" - ], - "type": "string" - }, - "location": { - "description": "The location of the deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations.", - "type": "string" - }, - "name": { - "description": "Name of the deployment stack.", - "oneOf": [ - { - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Deployment stack properties.", - "oneOf": [ - { - "$ref": "#/definitions/DeploymentStackProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Deployment stack resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Resources/deploymentStacks" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "DenySettings": { - "description": "Defines how resources deployed by the deployment stack are locked.", - "properties": { - "applyToChildScopes": { - "description": "DenySettings will be applied to child scopes.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "excludedActions": { - "description": "List of role-based management operations that are excluded from the denySettings. Up to 200 actions are permitted. If the denySetting mode is set to 'denyWriteAndDelete', then the following actions are automatically appended to 'excludedActions': '*/read' and 'Microsoft.Authorization/locks/delete'. If the denySetting mode is set to 'denyDelete', then the following actions are automatically appended to 'excludedActions': 'Microsoft.Authorization/locks/delete'. Duplicate actions will be removed.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "excludedPrincipals": { - "description": "List of AAD principal IDs excluded from the lock. Up to 5 principals are permitted.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mode": { - "description": "denySettings Mode.", - "oneOf": [ - { - "enum": [ - "denyDelete", - "denyWriteAndDelete", - "none" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "mode" - ], - "type": "object" - }, - "DeploymentStackProperties": { - "description": "Deployment stack properties.", - "properties": { - "actionOnUnmanage": { - "description": "Defines the behavior of resources that are not managed immediately after the stack is updated.", - "oneOf": [ - { - "$ref": "#/definitions/DeploymentStackPropertiesActionOnUnmanage" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "debugSetting": { - "description": "The debug setting of the deployment.", - "oneOf": [ - { - "$ref": "#/definitions/DeploymentStacksDebugSetting" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "denySettings": { - "description": "Defines how resources deployed by the stack are locked.", - "oneOf": [ - { - "$ref": "#/definitions/DenySettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "deploymentScope": { - "description": "The scope at which the initial deployment should be created. If a scope is not specified, it will default to the scope of the deployment stack. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroupId}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}').", - "type": "string" - }, - "description": { - "description": "Deployment stack description.", - "maxLength": 4096, - "type": "string" - }, - "error": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).", - "oneOf": [ - { - "$ref": "#/definitions/ErrorResponse" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "Name and value pairs that define the deployment parameters for the template. Use this element when providing the parameter values directly in the request, rather than linking 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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parametersLink": { - "description": "The URI of parameters file. Use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/DeploymentStacksParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "template": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "templateLink": { - "description": "The URI of the template. Use either the templateLink property or the template property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/DeploymentStacksTemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "actionOnUnmanage", - "denySettings" - ], - "type": "object" - }, - "DeploymentStackPropertiesActionOnUnmanage": { - "description": "Defines the behavior of resources that are not managed immediately after the stack is updated.", - "properties": { - "managementGroups": { - "description": "Specifies the action that should be taken on the resource when the deployment stack is deleted. Delete will attempt to delete the resource from Azure. Detach will leave the resource in it's current state.", - "oneOf": [ - { - "enum": [ - "delete", - "detach" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resourceGroups": { - "description": "Specifies the action that should be taken on the resource when the deployment stack is deleted. Delete will attempt to delete the resource from Azure. Detach will leave the resource in it's current state.", - "oneOf": [ - { - "enum": [ - "delete", - "detach" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "description": "Specifies the action that should be taken on the resource when the deployment stack is deleted. Delete will attempt to delete the resource from Azure. Detach will leave the resource in it's current state.", - "oneOf": [ - { - "enum": [ - "delete", - "detach" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "resources" - ], - "type": "object" - }, - "DeploymentStacksDebugSetting": { - "description": "The debug setting.", - "properties": { - "detailLevel": { - "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 that is being passed in during deployment. By logging information about the request or response, sensitive data that is retrieved through the deployment operations could potentially be exposed.", - "type": "string" - } - }, - "type": "object" - }, - "DeploymentStacksParametersLink": { - "description": "Entity representing the reference to the deployment parameters.", - "properties": { - "contentVersion": { - "description": "If included, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the parameters file.", - "type": "string" - } - }, - "required": [ - "uri" - ], - "type": "object" - }, - "DeploymentStacksTemplateLink": { - "description": "Entity representing the reference to the template.", - "properties": { - "contentVersion": { - "description": "If included, must match the ContentVersion in the template.", - "type": "string" - }, - "id": { - "description": "The resource id of a Template Spec. Use either the id or uri property, but not both.", - "type": "string" - }, - "queryString": { - "description": "The query string (for example, a SAS token) to be used with the templateLink URI.", - "type": "string" - }, - "relativePath": { - "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", - "type": "string" - }, - "uri": { - "description": "The URI of the template to deploy. Use either the uri or id property, but not both.", - "type": "string" - } - }, - "type": "object" - }, - "ErrorDetail": { - "description": "The error detail.", - "properties": {}, - "type": "object" - }, - "ErrorResponse": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).", - "properties": { - "error": { - "description": "The error object.", - "oneOf": [ - { - "$ref": "#/definitions/ErrorDetail" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2022-09-01/Microsoft.Resources.json b/schemas/2022-09-01/Microsoft.Resources.json deleted file mode 100644 index 24bdb9e3af..0000000000 --- a/schemas/2022-09-01/Microsoft.Resources.json +++ /dev/null @@ -1,476 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-09-01/Microsoft.Resources.json#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "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-09-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" - } - }, - "unknown_resourceDefinitions": { - "deployments": { - "description": "Microsoft.Resources/deployments", - "properties": { - "apiVersion": { - "enum": [ - "2022-09-01" - ], - "type": "string" - }, - "location": { - "description": "The location to store the deployment data.", - "type": "string" - }, - "name": { - "description": "The name of the deployment.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The deployment properties.", - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Deployment tags", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$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" - }, - "tags": { - "description": "Microsoft.Resources/tags", - "properties": { - "apiVersion": { - "enum": [ - "2022-09-01" - ], - "type": "string" - }, - "name": { - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of tags.", - "oneOf": [ - { - "$ref": "#/definitions/Tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Resources/tags" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "DebugSetting": { - "description": "The debug setting.", - "properties": { - "detailLevel": { - "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.", - "type": "string" - } - }, - "type": "object" - }, - "DeploymentParameter": { - "description": "Deployment parameter for the template.", - "properties": { - "reference": { - "description": "Azure Key Vault parameter reference.", - "oneOf": [ - { - "$ref": "#/definitions/KeyVaultParameterReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "value": { - "description": "Input value to the parameter ." - } - }, - "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" - } - ] - }, - "expressionEvaluationOptions": { - "description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template. Only applicable to nested templates. If not specified, default value is outer.", - "oneOf": [ - { - "$ref": "#/definitions/ExpressionEvaluationOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mode": { - "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.", - "oneOf": [ - { - "enum": [ - "Incremental", - "Complete" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "onErrorDeployment": { - "description": "The deployment on error behavior.", - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "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.", - "oneOf": [ - { - "additionalProperties": { - "$ref": "#/definitions/DeploymentParameter" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parametersLink": { - "description": "The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "template": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "templateLink": { - "description": "The URI of the template. Use either the templateLink property or the template property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "mode" - ], - "type": "object" - }, - "ExpressionEvaluationOptions": { - "description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template.", - "properties": { - "scope": { - "description": "The scope to be used for evaluation of parameters, variables and functions in a nested template.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "Outer", - "Inner" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "KeyVaultParameterReference": { - "description": "Azure Key Vault parameter reference.", - "properties": { - "keyVault": { - "description": "Azure Key Vault reference.", - "oneOf": [ - { - "$ref": "#/definitions/KeyVaultReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "secretName": { - "description": "Azure Key Vault secret name.", - "type": "string" - }, - "secretVersion": { - "description": "Azure Key Vault secret version.", - "type": "string" - } - }, - "required": [ - "keyVault", - "secretName" - ], - "type": "object" - }, - "KeyVaultReference": { - "description": "Azure Key Vault reference.", - "properties": { - "id": { - "description": "Azure Key Vault resource id.", - "type": "string" - } - }, - "required": [ - "id" - ], - "type": "object" - }, - "OnErrorDeployment": { - "description": "Deployment on error behavior.", - "properties": { - "deploymentName": { - "description": "The deployment to be used on error case.", - "type": "string" - }, - "type": { - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.", - "oneOf": [ - { - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ParametersLink": { - "description": "Entity representing the reference to the deployment parameters.", - "properties": { - "contentVersion": { - "description": "If included, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the parameters file.", - "type": "string" - } - }, - "required": [ - "uri" - ], - "type": "object" - }, - "ResourceGroupProperties": { - "description": "The resource group properties.", - "properties": {}, - "type": "object" - }, - "Tags": { - "description": "A dictionary of name and value pairs.", - "properties": { - "tags": { - "description": "Dictionary of ", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "TemplateLink": { - "description": "Entity representing the reference to the template.", - "properties": { - "contentVersion": { - "description": "If included, must match the ContentVersion in the template.", - "type": "string" - }, - "id": { - "description": "The resource id of a Template Spec. Use either the id or uri property, but not both.", - "type": "string" - }, - "queryString": { - "description": "The query string (for example, a SAS token) to be used with the templateLink URI.", - "type": "string" - }, - "relativePath": { - "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", - "type": "string" - }, - "uri": { - "description": "The URI of the template to deploy. Use either the uri or id property, but not both.", - "type": "string" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2022-11-01-preview/Microsoft.Resources.json b/schemas/2022-11-01-preview/Microsoft.Resources.json deleted file mode 100644 index 8e11631836..0000000000 --- a/schemas/2022-11-01-preview/Microsoft.Resources.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-11-01-preview/Microsoft.Resources.json#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "definitions": {}, - "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-11-01-preview" - ] - }, - "location": { - "type": "string", - "description": "the resource group location" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource group tags." - } - }, - "required": [ - "name", - "type", - "apiVersion", - "location" - ], - "description": "Microsoft.Resources/resourceGroups" - } - } -} \ No newline at end of file diff --git a/schemas/2023-03-01-preview/Microsoft.Resources.json b/schemas/2023-03-01-preview/Microsoft.Resources.json deleted file mode 100644 index 1ef30261a6..0000000000 --- a/schemas/2023-03-01-preview/Microsoft.Resources.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2023-03-01-preview/Microsoft.Resources.json#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "definitions": {}, - "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": [ - "2023-03-01-preview" - ] - }, - "location": { - "type": "string", - "description": "the resource group location" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource group tags." - } - }, - "required": [ - "name", - "type", - "apiVersion", - "location" - ], - "description": "Microsoft.Resources/resourceGroups" - } - } -} \ No newline at end of file diff --git a/schemas/2023-04-01/Microsoft.Authorization.Resources.json b/schemas/2023-04-01/Microsoft.Authorization.Resources.json deleted file mode 100644 index 9da7a286d4..0000000000 --- a/schemas/2023-04-01/Microsoft.Authorization.Resources.json +++ /dev/null @@ -1,1600 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Authorization.Resources.json#", - "title": "Microsoft.Authorization", - "description": "Microsoft Authorization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "subscription_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2023-04-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "oneOf": [ - { - "pattern": "^[^<>*%&:\\?.+/]*[^<>*%&:\\?.+/ ]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/policyDefinitions_versions_childResource" - } - ] - }, - "type": "array" - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policyDefinitions_versions": { - "description": "Microsoft.Authorization/policyDefinitions/versions", - "properties": { - "apiVersion": { - "enum": [ - "2023-04-01" - ], - "type": "string" - }, - "name": { - "description": "The policy definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number", - "oneOf": [ - { - "pattern": "^\\d+\\.\\d+\\.\\d+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The policy definition version properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionVersionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions/versions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2023-04-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "oneOf": [ - { - "pattern": "^[^<>*%&:\\?.+/]*[^<>*%&:\\?.+/ ]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The policy set definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/policySetDefinitions_versions_childResource" - } - ] - }, - "type": "array" - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions_versions": { - "description": "Microsoft.Authorization/policySetDefinitions/versions", - "properties": { - "apiVersion": { - "enum": [ - "2023-04-01" - ], - "type": "string" - }, - "name": { - "description": "The policy definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number", - "oneOf": [ - { - "pattern": "^\\d+\\.\\d+\\.\\d+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The policy set definition version properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionVersionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions/versions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "managementGroup_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2023-04-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "oneOf": [ - { - "pattern": "^[^<>*%&:\\?.+/]*[^<>*%&:\\?.+/ ]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/policyDefinitions_versions_childResource" - } - ] - }, - "type": "array" - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policyDefinitions_versions": { - "description": "Microsoft.Authorization/policyDefinitions/versions", - "properties": { - "apiVersion": { - "enum": [ - "2023-04-01" - ], - "type": "string" - }, - "name": { - "description": "The policy definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number", - "oneOf": [ - { - "pattern": "^\\d+\\.\\d+\\.\\d+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The policy definition version properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionVersionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions/versions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2023-04-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "oneOf": [ - { - "pattern": "^[^<>*%&:\\?.+/]*[^<>*%&:\\?.+/ ]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The policy set definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/policySetDefinitions_versions_childResource" - } - ] - }, - "type": "array" - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions_versions": { - "description": "Microsoft.Authorization/policySetDefinitions/versions", - "properties": { - "apiVersion": { - "enum": [ - "2023-04-01" - ], - "type": "string" - }, - "name": { - "description": "The policy definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number", - "oneOf": [ - { - "pattern": "^\\d+\\.\\d+\\.\\d+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The policy set definition version properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionVersionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions/versions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "tenant_resourceDefinitions": { - "policyDefinitions": { - "description": "Microsoft.Authorization/policyDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2023-04-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy definition to create.", - "oneOf": [ - { - "pattern": "^[^<>*%&:\\?.+/]*[^<>*%&:\\?.+/ ]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The policy definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/policyDefinitions_versions_childResource" - } - ] - }, - "type": "array" - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policyDefinitions_versions": { - "description": "Microsoft.Authorization/policyDefinitions/versions", - "properties": { - "apiVersion": { - "enum": [ - "2023-04-01" - ], - "type": "string" - }, - "name": { - "description": "The policy definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number", - "oneOf": [ - { - "pattern": "^\\d+\\.\\d+\\.\\d+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The policy definition version properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionVersionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyDefinitions/versions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions": { - "description": "Microsoft.Authorization/policySetDefinitions", - "properties": { - "apiVersion": { - "enum": [ - "2023-04-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the policy set definition to create.", - "oneOf": [ - { - "pattern": "^[^<>*%&:\\?.+/]*[^<>*%&:\\?.+/ ]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The policy set definition properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/policySetDefinitions_versions_childResource" - } - ] - }, - "type": "array" - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions_versions": { - "description": "Microsoft.Authorization/policySetDefinitions/versions", - "properties": { - "apiVersion": { - "enum": [ - "2023-04-01" - ], - "type": "string" - }, - "name": { - "description": "The policy definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number", - "oneOf": [ - { - "pattern": "^\\d+\\.\\d+\\.\\d+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The policy set definition version properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionVersionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policySetDefinitions/versions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "unknown_resourceDefinitions": { - "policyAssignments": { - "description": "Microsoft.Authorization/policyAssignments", - "properties": { - "apiVersion": { - "enum": [ - "2023-04-01" - ], - "type": "string" - }, - "identity": { - "description": "The managed identity associated with the policy assignment.", - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The location of the policy assignment. Only required when utilizing managed identity.", - "type": "string" - }, - "name": { - "description": "The name of the policy assignment.", - "oneOf": [ - { - "pattern": "^[^<>*%&:\\?.+/]*[^<>*%&:\\?.+/ ]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Properties for the policy assignment.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyAssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyAssignments" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "Identity": { - "description": "Identity for the resource. Policy assignments support a maximum of one identity. That is either a system assigned identity or a single user assigned identity.", - "properties": { - "type": { - "description": "The identity type. This is the only required field when adding a system or user assigned identity to a resource.", - "oneOf": [ - { - "enum": [ - "SystemAssigned", - "UserAssigned", - "None" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userAssignedIdentities": { - "description": "The user identity associated with the policy. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", - "oneOf": [ - { - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentitiesValue" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "NonComplianceMessage": { - "description": "A message that describes why a resource is non-compliant with the policy. This is shown in 'deny' error messages and on resource's non-compliant compliance results.", - "properties": { - "message": { - "description": "A message that describes why a resource is non-compliant with the policy. This is shown in 'deny' error messages and on resource's non-compliant compliance results.", - "type": "string" - }, - "policyDefinitionReferenceId": { - "description": "The policy definition reference ID within a policy set definition the message is intended for. This is only applicable if the policy assignment assigns a policy set definition. If this is not provided the message applies to all policies assigned by this policy assignment.", - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "Override": { - "description": "The policy property value override.", - "properties": { - "kind": { - "description": "The override kind.", - "oneOf": [ - { - "enum": [ - "policyEffect" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "selectors": { - "description": "The list of the selector expressions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/Selector" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "value": { - "description": "The value to override the policy property.", - "type": "string" - } - }, - "type": "object" - }, - "ParameterDefinitionsValue": { - "description": "The definition of a parameter that can be provided to the policy.", - "properties": { - "allowedValues": { - "description": "The allowed values for the parameter.", - "oneOf": [ - { - "items": {}, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "defaultValue": { - "description": "The default value for the parameter if no value is provided.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "metadata": { - "description": "General metadata for the parameter.", - "oneOf": [ - { - "$ref": "#/definitions/ParameterDefinitionsValueMetadata" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "schema": { - "description": "Provides validation of parameter inputs during assignment using a self-defined JSON schema. This property is only supported for object-type parameters and follows the Json.NET Schema 2019-09 implementation. You can learn more about using schemas at https://json-schema.org/ and test draft schemas at https://www.jsonschemavalidator.net/.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "description": "The data type of the parameter.", - "oneOf": [ - { - "enum": [ - "String", - "Array", - "Object", - "Boolean", - "Integer", - "Float", - "DateTime" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ParameterDefinitionsValueMetadata": { - "additionalProperties": { - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": "General metadata for the parameter.", - "properties": { - "assignPermissions": { - "description": "Set to true to have Azure portal create role assignments on the resource ID or resource scope value of this parameter during policy assignment. This property is useful in case you wish to assign permissions outside the assignment scope.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "The description of the parameter.", - "type": "string" - }, - "displayName": { - "description": "The display name for the parameter.", - "type": "string" - }, - "strongType": { - "description": "Used when assigning the policy definition through the portal. Provides a context aware list of values for the user to choose from.", - "type": "string" - } - }, - "type": "object" - }, - "ParameterValuesValue": { - "description": "The value of a parameter.", - "properties": { - "value": { - "description": "The value of the parameter.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "PolicyAssignmentProperties": { - "description": "The policy assignment properties.", - "properties": { - "description": { - "description": "This message will be part of response in case of policy violation.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy assignment.", - "type": "string" - }, - "enforcementMode": { - "description": "The policy assignment enforcement mode. Possible values are Default and DoNotEnforce.", - "oneOf": [ - { - "enum": [ - "Default", - "DoNotEnforce" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "metadata": { - "description": "The policy assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "nonComplianceMessages": { - "description": "The messages that describe why a resource is non-compliant with the policy.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/NonComplianceMessage" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "notScopes": { - "description": "The policy's excluded scopes.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "overrides": { - "description": "The policy property value override.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/Override" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "The parameter values for the assigned policy rule. The keys are the parameter names." - }, - "policyDefinitionId": { - "description": "The ID of the policy definition or policy set definition being assigned.", - "type": "string" - }, - "resourceSelectors": { - "description": "The resource selector list to filter policies by resource properties.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ResourceSelector" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "PolicyDefinitionGroup": { - "description": "The policy definition group.", - "properties": { - "additionalMetadataId": { - "description": "A resource ID of a resource that contains additional metadata about the group.", - "type": "string" - }, - "category": { - "description": "The group's category.", - "type": "string" - }, - "description": { - "description": "The group's description.", - "type": "string" - }, - "displayName": { - "description": "The group's display name.", - "type": "string" - }, - "name": { - "description": "The name of the group.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "PolicyDefinitionProperties": { - "description": "The policy definition properties.", - "properties": { - "description": { - "description": "The policy definition description.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy definition.", - "type": "string" - }, - "metadata": { - "description": "The policy definition metadata. Metadata is an open ended object and is typically a collection of key value pairs.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mode": { - "description": "The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data.", - "type": "string" - }, - "parameters": { - "description": "The parameter definitions for parameters used in the policy rule. The keys are the parameter names." - }, - "policyRule": { - "description": "The policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyType": { - "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "BuiltIn", - "Custom", - "Static" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "version": { - "description": "The policy definition version in #.#.# format.", - "type": "string" - }, - "versions": { - "description": "A list of available versions for this policy definition.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "PolicyDefinitionReference": { - "description": "The policy definition reference.", - "properties": { - "groupNames": { - "description": "The name of the groups that this policy definition reference belongs to.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "The parameter values for the referenced policy rule. The keys are the parameter names." - }, - "policyDefinitionId": { - "description": "The ID of the policy definition or policy set definition.", - "type": "string" - }, - "policyDefinitionReferenceId": { - "description": "A unique id (within the policy set definition) for this policy definition reference.", - "type": "string" - } - }, - "required": [ - "policyDefinitionId" - ], - "type": "object" - }, - "PolicyDefinitionVersionProperties": { - "description": "The policy definition properties.", - "properties": { - "description": { - "description": "The policy definition description.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy definition.", - "type": "string" - }, - "metadata": { - "description": "The policy definition metadata. Metadata is an open ended object and is typically a collection of key value pairs.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mode": { - "description": "The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data.", - "type": "string" - }, - "parameters": { - "description": "The parameter definitions for parameters used in the policy rule. The keys are the parameter names.", - "oneOf": [ - { - "additionalProperties": { - "$ref": "#/definitions/ParameterDefinitionsValue" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyRule": { - "description": "The policy rule.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyType": { - "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "BuiltIn", - "Custom", - "Static" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "version": { - "description": "The policy definition version in #.#.# format.", - "type": "string" - } - }, - "type": "object" - }, - "PolicySetDefinitionProperties": { - "description": "The policy set definition properties.", - "properties": { - "description": { - "description": "The policy set definition description.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy set definition.", - "type": "string" - }, - "metadata": { - "description": "The policy set definition metadata. Metadata is an open ended object and is typically a collection of key value pairs.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "The policy set definition parameters that can be used in policy definition references." - }, - "policyDefinitionGroups": { - "description": "The metadata describing groups of policy definition references within the policy set definition.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/PolicyDefinitionGroup" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyDefinitions": { - "description": "An array of policy definition references.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/PolicyDefinitionReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyType": { - "description": "The type of policy set definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "BuiltIn", - "Custom", - "Static" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "version": { - "description": "The policy set definition version in #.#.# format.", - "type": "string" - }, - "versions": { - "description": "A list of available versions for this policy set definition.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "policyDefinitions" - ], - "type": "object" - }, - "PolicySetDefinitionVersionProperties": { - "description": "The policy set definition properties.", - "properties": { - "description": { - "description": "The policy set definition description.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy set definition.", - "type": "string" - }, - "metadata": { - "description": "The policy set definition metadata. Metadata is an open ended object and is typically a collection of key value pairs.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "The policy set definition parameters that can be used in policy definition references.", - "oneOf": [ - { - "additionalProperties": { - "$ref": "#/definitions/ParameterDefinitionsValue" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyDefinitionGroups": { - "description": "The metadata describing groups of policy definition references within the policy set definition.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/PolicyDefinitionGroup" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyDefinitions": { - "description": "An array of policy definition references.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/PolicyDefinitionReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "policyType": { - "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "BuiltIn", - "Custom", - "Static" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "version": { - "description": "The policy set definition version in #.#.# format.", - "type": "string" - } - }, - "required": [ - "policyDefinitions" - ], - "type": "object" - }, - "ResourceSelector": { - "description": "The resource selector to filter policies by resource properties.", - "properties": { - "name": { - "description": "The name of the resource selector.", - "type": "string" - }, - "selectors": { - "description": "The list of the selector expressions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/Selector" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "Selector": { - "description": "The selector expression.", - "properties": { - "in": { - "description": "The list of values to filter in.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "The selector kind.", - "oneOf": [ - { - "enum": [ - "resourceLocation", - "resourceType", - "resourceWithoutLocation", - "policyDefinitionReferenceId" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "notIn": { - "description": "The list of values to filter out.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "UserAssignedIdentitiesValue": { - "properties": {}, - "type": "object" - }, - "policyDefinitions_versions_childResource": { - "description": "Microsoft.Authorization/policyDefinitions/versions", - "properties": { - "apiVersion": { - "enum": [ - "2023-04-01" - ], - "type": "string" - }, - "name": { - "description": "The policy definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number", - "oneOf": [ - { - "pattern": "^\\d+\\.\\d+\\.\\d+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The policy definition version properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyDefinitionVersionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "versions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "policySetDefinitions_versions_childResource": { - "description": "Microsoft.Authorization/policySetDefinitions/versions", - "properties": { - "apiVersion": { - "enum": [ - "2023-04-01" - ], - "type": "string" - }, - "name": { - "description": "The policy definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number", - "oneOf": [ - { - "pattern": "^\\d+\\.\\d+\\.\\d+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The policy set definition version properties.", - "oneOf": [ - { - "$ref": "#/definitions/PolicySetDefinitionVersionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "versions" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2023-07-01-preview/Microsoft.Resources.json b/schemas/2023-07-01-preview/Microsoft.Resources.json deleted file mode 100644 index fa21ca3464..0000000000 --- a/schemas/2023-07-01-preview/Microsoft.Resources.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2023-07-01-preview/Microsoft.Resources.json#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "definitions": {}, - "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": [ - "2023-07-01-preview" - ] - }, - "location": { - "type": "string", - "description": "the resource group location" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource group tags." - } - }, - "required": [ - "name", - "type", - "apiVersion", - "location" - ], - "description": "Microsoft.Resources/resourceGroups" - } - } -} \ No newline at end of file diff --git a/schemas/2023-07-01/Microsoft.Resources.json b/schemas/2023-07-01/Microsoft.Resources.json deleted file mode 100644 index b4f07a2f66..0000000000 --- a/schemas/2023-07-01/Microsoft.Resources.json +++ /dev/null @@ -1,476 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Resources.json#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "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": [ - "2023-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" - } - }, - "unknown_resourceDefinitions": { - "deployments": { - "description": "Microsoft.Resources/deployments", - "properties": { - "apiVersion": { - "enum": [ - "2023-07-01" - ], - "type": "string" - }, - "location": { - "description": "The location to store the deployment data.", - "type": "string" - }, - "name": { - "description": "The name of the deployment.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The deployment properties.", - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Deployment tags", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$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" - }, - "tags": { - "description": "Microsoft.Resources/tags", - "properties": { - "apiVersion": { - "enum": [ - "2023-07-01" - ], - "type": "string" - }, - "name": { - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of tags.", - "oneOf": [ - { - "$ref": "#/definitions/Tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Resources/tags" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "DebugSetting": { - "description": "The debug setting.", - "properties": { - "detailLevel": { - "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.", - "type": "string" - } - }, - "type": "object" - }, - "DeploymentParameter": { - "description": "Deployment parameter for the template.", - "properties": { - "reference": { - "description": "Azure Key Vault parameter reference.", - "oneOf": [ - { - "$ref": "#/definitions/KeyVaultParameterReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "value": { - "description": "Input value to the parameter ." - } - }, - "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" - } - ] - }, - "expressionEvaluationOptions": { - "description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template. Only applicable to nested templates. If not specified, default value is outer.", - "oneOf": [ - { - "$ref": "#/definitions/ExpressionEvaluationOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mode": { - "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.", - "oneOf": [ - { - "enum": [ - "Incremental", - "Complete" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "onErrorDeployment": { - "description": "The deployment on error behavior.", - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "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.", - "oneOf": [ - { - "additionalProperties": { - "$ref": "#/definitions/DeploymentParameter" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parametersLink": { - "description": "The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "template": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "templateLink": { - "description": "The URI of the template. Use either the templateLink property or the template property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "mode" - ], - "type": "object" - }, - "ExpressionEvaluationOptions": { - "description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template.", - "properties": { - "scope": { - "description": "The scope to be used for evaluation of parameters, variables and functions in a nested template.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "Outer", - "Inner" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "KeyVaultParameterReference": { - "description": "Azure Key Vault parameter reference.", - "properties": { - "keyVault": { - "description": "Azure Key Vault reference.", - "oneOf": [ - { - "$ref": "#/definitions/KeyVaultReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "secretName": { - "description": "Azure Key Vault secret name.", - "type": "string" - }, - "secretVersion": { - "description": "Azure Key Vault secret version.", - "type": "string" - } - }, - "required": [ - "keyVault", - "secretName" - ], - "type": "object" - }, - "KeyVaultReference": { - "description": "Azure Key Vault reference.", - "properties": { - "id": { - "description": "Azure Key Vault resource id.", - "type": "string" - } - }, - "required": [ - "id" - ], - "type": "object" - }, - "OnErrorDeployment": { - "description": "Deployment on error behavior.", - "properties": { - "deploymentName": { - "description": "The deployment to be used on error case.", - "type": "string" - }, - "type": { - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.", - "oneOf": [ - { - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ParametersLink": { - "description": "Entity representing the reference to the deployment parameters.", - "properties": { - "contentVersion": { - "description": "If included, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the parameters file.", - "type": "string" - } - }, - "required": [ - "uri" - ], - "type": "object" - }, - "ResourceGroupProperties": { - "description": "The resource group properties.", - "properties": {}, - "type": "object" - }, - "Tags": { - "description": "A dictionary of name and value pairs.", - "properties": { - "tags": { - "description": "Dictionary of ", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "TemplateLink": { - "description": "Entity representing the reference to the template.", - "properties": { - "contentVersion": { - "description": "If included, must match the ContentVersion in the template.", - "type": "string" - }, - "id": { - "description": "The resource id of a Template Spec. Use either the id or uri property, but not both.", - "type": "string" - }, - "queryString": { - "description": "The query string (for example, a SAS token) to be used with the templateLink URI.", - "type": "string" - }, - "relativePath": { - "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", - "type": "string" - }, - "uri": { - "description": "The URI of the template to deploy. Use either the uri or id property, but not both.", - "type": "string" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2023-08-01/Microsoft.Resources.json b/schemas/2023-08-01/Microsoft.Resources.json deleted file mode 100644 index df2a884b78..0000000000 --- a/schemas/2023-08-01/Microsoft.Resources.json +++ /dev/null @@ -1,166 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2023-08-01/Microsoft.Resources.json#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "deploymentScripts": { - "description": "Microsoft.Resources/deploymentScripts", - "properties": { - "apiVersion": { - "enum": [ - "2023-08-01" - ], - "type": "string" - }, - "identity": { - "description": "Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.", - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The location of the ACI and the storage account for the deployment script.", - "type": "string" - }, - "name": { - "description": "Name of the deployment script.", - "maxLength": 90, - "minLength": 1, - "type": "string" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Resources/deploymentScripts" - ], - "type": "string" - } - }, - "required": [ - "name", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ManagedServiceIdentity": { - "description": "Managed identity generic object.", - "properties": { - "type": { - "description": "Type of the managed identity.", - "oneOf": [ - { - "enum": [ - "UserAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userAssignedIdentities": { - "description": "The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.", - "oneOf": [ - { - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentity" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "UserAssignedIdentity": { - "description": "User-assigned managed identity.", - "properties": {}, - "type": "object" - } - }, - "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": [ - "2023-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" - } - } -} \ No newline at end of file diff --git a/schemas/2024-03-01/Microsoft.Resources.json b/schemas/2024-03-01/Microsoft.Resources.json deleted file mode 100644 index dfab723ea1..0000000000 --- a/schemas/2024-03-01/Microsoft.Resources.json +++ /dev/null @@ -1,476 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2024-03-01/Microsoft.Resources.json#", - "title": "Microsoft.Resources", - "description": "Microsoft Resources Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "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": [ - "2024-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" - } - }, - "unknown_resourceDefinitions": { - "deployments": { - "description": "Microsoft.Resources/deployments", - "properties": { - "apiVersion": { - "enum": [ - "2024-03-01" - ], - "type": "string" - }, - "location": { - "description": "The location to store the deployment data.", - "type": "string" - }, - "name": { - "description": "The name of the deployment.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The deployment properties.", - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Deployment tags", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$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" - }, - "tags": { - "description": "Microsoft.Resources/tags", - "properties": { - "apiVersion": { - "enum": [ - "2024-03-01" - ], - "type": "string" - }, - "name": { - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of tags.", - "oneOf": [ - { - "$ref": "#/definitions/Tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Resources/tags" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "DebugSetting": { - "description": "The debug setting.", - "properties": { - "detailLevel": { - "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.", - "type": "string" - } - }, - "type": "object" - }, - "DeploymentParameter": { - "description": "Deployment parameter for the template.", - "properties": { - "reference": { - "description": "Azure Key Vault parameter reference.", - "oneOf": [ - { - "$ref": "#/definitions/KeyVaultParameterReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "value": { - "description": "Input value to the parameter ." - } - }, - "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" - } - ] - }, - "expressionEvaluationOptions": { - "description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template. Only applicable to nested templates. If not specified, default value is outer.", - "oneOf": [ - { - "$ref": "#/definitions/ExpressionEvaluationOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "mode": { - "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.", - "oneOf": [ - { - "enum": [ - "Incremental", - "Complete" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "onErrorDeployment": { - "description": "The deployment on error behavior.", - "oneOf": [ - { - "$ref": "#/definitions/OnErrorDeployment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "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.", - "oneOf": [ - { - "additionalProperties": { - "$ref": "#/definitions/DeploymentParameter" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parametersLink": { - "description": "The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/ParametersLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "template": { - "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.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "templateLink": { - "description": "The URI of the template. Use either the templateLink property or the template property, but not both.", - "oneOf": [ - { - "$ref": "#/definitions/TemplateLink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "mode" - ], - "type": "object" - }, - "ExpressionEvaluationOptions": { - "description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template.", - "properties": { - "scope": { - "description": "The scope to be used for evaluation of parameters, variables and functions in a nested template.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "Outer", - "Inner" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "KeyVaultParameterReference": { - "description": "Azure Key Vault parameter reference.", - "properties": { - "keyVault": { - "description": "Azure Key Vault reference.", - "oneOf": [ - { - "$ref": "#/definitions/KeyVaultReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "secretName": { - "description": "Azure Key Vault secret name.", - "type": "string" - }, - "secretVersion": { - "description": "Azure Key Vault secret version.", - "type": "string" - } - }, - "required": [ - "keyVault", - "secretName" - ], - "type": "object" - }, - "KeyVaultReference": { - "description": "Azure Key Vault reference.", - "properties": { - "id": { - "description": "Azure Key Vault resource id.", - "type": "string" - } - }, - "required": [ - "id" - ], - "type": "object" - }, - "OnErrorDeployment": { - "description": "Deployment on error behavior.", - "properties": { - "deploymentName": { - "description": "The deployment to be used on error case.", - "type": "string" - }, - "type": { - "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.", - "oneOf": [ - { - "enum": [ - "LastSuccessful", - "SpecificDeployment" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ParametersLink": { - "description": "Entity representing the reference to the deployment parameters.", - "properties": { - "contentVersion": { - "description": "If included, must match the ContentVersion in the template.", - "type": "string" - }, - "uri": { - "description": "The URI of the parameters file.", - "type": "string" - } - }, - "required": [ - "uri" - ], - "type": "object" - }, - "ResourceGroupProperties": { - "description": "The resource group properties.", - "properties": {}, - "type": "object" - }, - "Tags": { - "description": "A dictionary of name and value pairs.", - "properties": { - "tags": { - "description": "Dictionary of ", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "TemplateLink": { - "description": "Entity representing the reference to the template.", - "properties": { - "contentVersion": { - "description": "If included, must match the ContentVersion in the template.", - "type": "string" - }, - "id": { - "description": "The resource id of a Template Spec. Use either the id or uri property, but not both.", - "type": "string" - }, - "queryString": { - "description": "The query string (for example, a SAS token) to be used with the templateLink URI.", - "type": "string" - }, - "relativePath": { - "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", - "type": "string" - }, - "uri": { - "description": "The URI of the template to deploy. Use either the uri or id property, but not both.", - "type": "string" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2024-04-01/Microsoft.Authorization.Resources.json b/schemas/2024-04-01/Microsoft.Authorization.Resources.json deleted file mode 100644 index 47d759c3ee..0000000000 --- a/schemas/2024-04-01/Microsoft.Authorization.Resources.json +++ /dev/null @@ -1,380 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2024-04-01/Microsoft.Authorization.Resources.json#", - "title": "Microsoft.Authorization", - "description": "Microsoft Authorization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "unknown_resourceDefinitions": { - "policyAssignments": { - "description": "Microsoft.Authorization/policyAssignments", - "properties": { - "apiVersion": { - "enum": [ - "2024-04-01" - ], - "type": "string" - }, - "identity": { - "description": "The managed identity associated with the policy assignment.", - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The location of the policy assignment. Only required when utilizing managed identity.", - "type": "string" - }, - "name": { - "description": "The name of the policy assignment.", - "oneOf": [ - { - "pattern": "^[^<>*%&:\\?.+/]*[^<>*%&:\\?.+/ ]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Properties for the policy assignment.", - "oneOf": [ - { - "$ref": "#/definitions/PolicyAssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Authorization/policyAssignments" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "Identity": { - "description": "Identity for the resource. Policy assignments support a maximum of one identity. That is either a system assigned identity or a single user assigned identity.", - "properties": { - "type": { - "description": "The identity type. This is the only required field when adding a system or user assigned identity to a resource.", - "oneOf": [ - { - "enum": [ - "SystemAssigned", - "UserAssigned", - "None" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userAssignedIdentities": { - "description": "The user identity associated with the policy. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", - "oneOf": [ - { - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentitiesValue" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "NonComplianceMessage": { - "description": "A message that describes why a resource is non-compliant with the policy. This is shown in 'deny' error messages and on resource's non-compliant compliance results.", - "properties": { - "message": { - "description": "A message that describes why a resource is non-compliant with the policy. This is shown in 'deny' error messages and on resource's non-compliant compliance results.", - "type": "string" - }, - "policyDefinitionReferenceId": { - "description": "The policy definition reference ID within a policy set definition the message is intended for. This is only applicable if the policy assignment assigns a policy set definition. If this is not provided the message applies to all policies assigned by this policy assignment.", - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "Override": { - "description": "The policy property value override.", - "properties": { - "kind": { - "description": "The override kind.", - "oneOf": [ - { - "enum": [ - "policyEffect" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "selectors": { - "description": "The list of the selector expressions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/Selector" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "value": { - "description": "The value to override the policy property.", - "type": "string" - } - }, - "type": "object" - }, - "ParameterValuesValue": { - "description": "The value of a parameter.", - "properties": { - "value": { - "description": "The value of the parameter.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "PolicyAssignmentProperties": { - "description": "The policy assignment properties.", - "properties": { - "assignmentType": { - "description": "The type of policy assignment. Possible values are NotSpecified, System, SystemHidden, and Custom. Immutable.", - "oneOf": [ - { - "enum": [ - "NotSpecified", - "System", - "SystemHidden", - "Custom" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "This message will be part of response in case of policy violation.", - "type": "string" - }, - "displayName": { - "description": "The display name of the policy assignment.", - "type": "string" - }, - "enforcementMode": { - "description": "The policy assignment enforcement mode. Possible values are Default and DoNotEnforce.", - "oneOf": [ - { - "enum": [ - "Default", - "DoNotEnforce" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "metadata": { - "description": "The policy assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs.", - "oneOf": [ - { - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "nonComplianceMessages": { - "description": "The messages that describe why a resource is non-compliant with the policy.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/NonComplianceMessage" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "notScopes": { - "description": "The policy's excluded scopes.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "overrides": { - "description": "The policy property value override.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/Override" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "parameters": { - "description": "The parameter values for the assigned policy rule. The keys are the parameter names." - }, - "policyDefinitionId": { - "description": "The ID of the policy definition or policy set definition being assigned.", - "type": "string" - }, - "resourceSelectors": { - "description": "The resource selector list to filter policies by resource properties.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ResourceSelector" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ResourceSelector": { - "description": "The resource selector to filter policies by resource properties.", - "properties": { - "name": { - "description": "The name of the resource selector.", - "type": "string" - }, - "selectors": { - "description": "The list of the selector expressions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/Selector" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "Selector": { - "description": "The selector expression.", - "properties": { - "in": { - "description": "The list of values to filter in.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "The selector kind.", - "oneOf": [ - { - "enum": [ - "resourceLocation", - "resourceType", - "resourceWithoutLocation", - "policyDefinitionReferenceId" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "notIn": { - "description": "The list of values to filter out.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "UserAssignedIdentitiesValue": { - "properties": {}, - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index ab4d6df4d4..c5a0ce659c 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -5029,75 +5029,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Authorization.Authz.json#/unknown_resourceDefinitions/roleDefinitions" }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-01-01/Microsoft.Authorization.Resources.json#/resourceDefinitions/locks" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-10-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyassignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-11-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-04-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyassignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-09-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/locks" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-12-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-04-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/locks" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-06-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Authorization.Resources.json#/resourceDefinitions/resourceManagementPrivateLinks" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/locks" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyExemptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-06-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-07-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyExemptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-04-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" - }, { "$ref": "https://schema.management.azure.com/schemas/2020-06-30-preview/Microsoft.Automanage.json#/resourceDefinitions/accounts" }, @@ -36253,132 +36184,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.ResourceGraph.json#/resourceDefinitions/queries" }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-11-01/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-02-01/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-07-01/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-09-01/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-05-10/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-02-01/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-05-01/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-05-10/Microsoft.Resources.json#/resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-06-01-preview/Microsoft.Resources.json#/resourceDefinitions/templateSpecs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-06-01-preview/Microsoft.Resources.json#/resourceDefinitions/templateSpecs_versions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Resources.json#/unknown_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.Resources.json#/unknown_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Resources.json#/unknown_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#/unknown_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#/unknown_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/deploymentScripts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.Resources.json#/unknown_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#/unknown_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#/unknown_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/2022-08-01-preview/Microsoft.Resources.json#/resourceDefinitions/deploymentStacks" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-09-01/Microsoft.Resources.json#/unknown_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-09-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Resources.json#/unknown_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-07-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-08-01/Microsoft.Resources.json#/resourceDefinitions/deploymentScripts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-03-01/Microsoft.Resources.json#/unknown_resourceDefinitions/deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-03-01/Microsoft.Resources.json#/unknown_resourceDefinitions/tags" - }, { "$ref": "https://schema.management.azure.com/schemas/2014-08-01-preview/Microsoft.Scheduler.json#/resourceDefinitions/jobCollections" }, @@ -37696,42 +37501,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2024-01-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_sharedPrivateLinkResources" }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-09-01-preview/Microsoft.Solutions.resourcesolutions.json#/resourceDefinitions/applianceDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-09-01-preview/Microsoft.Solutions.resourcesolutions.json#/resourceDefinitions/appliances" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-09-01/Microsoft.Solutions.resourcesolutions.json#/resourceDefinitions/applicationDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-09-01/Microsoft.Solutions.resourcesolutions.json#/resourceDefinitions/applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Solutions.resourcesolutions.json#/resourceDefinitions/applicationDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Solutions.resourcesolutions.json#/resourceDefinitions/applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Solutions.resourcesolutions.json#/resourceDefinitions/applicationDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Solutions.resourcesolutions.json#/resourceDefinitions/applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Solutions.resourcesolutions.json#/resourceDefinitions/jitRequests" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-21-preview/Microsoft.Solutions.resourcesolutions.json#/resourceDefinitions/applicationDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-21-preview/Microsoft.Solutions.resourcesolutions.json#/resourceDefinitions/applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-08-21-preview/Microsoft.Solutions.resourcesolutions.json#/resourceDefinitions/jitRequests" - }, { "$ref": "https://schema.management.azure.com/schemas/2017-09-01/Microsoft.Solutions.solutions.json#/resourceDefinitions/applicationDefinitions" },