From 3184bf6288208540045bfe613b18a92a13ed46c3 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 12 Apr 2021 09:13:49 +0000 Subject: [PATCH] CodeGen from PR 13885 in Azure/azure-rest-api-specs Merge e0c6e63a3e6a018649a73c820b0b7651a1f2c88f into c4fc9427b7f79d8ccdf04c460f68560a99dfb1bf --- .../Microsoft.Blueprint.json | 833 ------------- .../subscriptionDeploymentTemplate.json | 15 - .../Microsoft.Blueprint.json | 1053 ----------------- 3 files changed, 1901 deletions(-) delete mode 100644 schemas/2017-11-11-preview/Microsoft.Blueprint.json delete mode 100644 schemas/2018-11-01-preview/Microsoft.Blueprint.json diff --git a/schemas/2017-11-11-preview/Microsoft.Blueprint.json b/schemas/2017-11-11-preview/Microsoft.Blueprint.json deleted file mode 100644 index e9b0c31670..0000000000 --- a/schemas/2017-11-11-preview/Microsoft.Blueprint.json +++ /dev/null @@ -1,833 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2017-11-11-preview/Microsoft.Blueprint.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Blueprint", - "description": "Microsoft Blueprint Resource Types", - "resourceDefinitions": {}, - "subscription_resourceDefinitions": { - "blueprintAssignments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-11-11-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Managed Service Identity" - }, - "location": { - "type": "string", - "description": "The location of this Blueprint assignment." - }, - "name": { - "type": "string", - "description": "name of the assignment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Detailed properties for Assignment." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Blueprint/blueprintAssignments" - ] - } - }, - "required": [ - "apiVersion", - "identity", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Blueprint/blueprintAssignments" - } - }, - "managementGroup_resourceDefinitions": { - "blueprints": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-11-11-preview" - ] - }, - "name": { - "type": "string", - "description": "name of the blueprint." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BlueprintProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Blueprint properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/blueprints_artifacts_childResource" - }, - { - "$ref": "#/definitions/blueprints_versions_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Blueprint/blueprints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Blueprint/blueprints" - }, - "blueprints_artifacts": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/TemplateArtifact" - }, - { - "$ref": "#/definitions/RoleAssignmentArtifact" - }, - { - "$ref": "#/definitions/PolicyAssignmentArtifact" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-11-11-preview" - ] - }, - "name": { - "type": "string", - "description": "name of the artifact." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Blueprint/blueprints/artifacts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.Blueprint/blueprints/artifacts" - }, - "blueprints_versions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-11-11-preview" - ] - }, - "name": { - "type": "string", - "description": "version of the published blueprint." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Blueprint/blueprints/versions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.Blueprint/blueprints/versions" - } - }, - "definitions": { - "AssignmentLockSettings": { - "type": "object", - "properties": { - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "AllResources" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Lock mode." - } - }, - "description": "Defines how Blueprint-managed resources will be locked." - }, - "AssignmentProperties": { - "type": "object", - "properties": { - "blueprintId": { - "type": "string", - "description": "ID of the Blueprint definition resource." - }, - "description": { - "type": "string", - "maxLength": 500, - "description": "Multi-line explain this resource." - }, - "displayName": { - "type": "string", - "maxLength": 256, - "description": "One-liner string explain this resource." - }, - "locks": { - "oneOf": [ - { - "$ref": "#/definitions/AssignmentLockSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines how Blueprint-managed resources will be locked." - }, - "parameters": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ParameterValueBase" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A dictionary for parameters and their corresponding values." - }, - "resourceGroups": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ResourceGroupValue" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A dictionary which maps resource group placeholders to the resource groups which will be created." - } - }, - "required": [ - "parameters", - "resourceGroups" - ], - "description": "Detailed properties for Assignment." - }, - "BlueprintProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "maxLength": 500, - "description": "Multi-line explain this resource." - }, - "displayName": { - "type": "string", - "maxLength": 256, - "description": "One-liner string explain this resource." - }, - "layout": { - "type": "object", - "properties": {}, - "description": "Layout view of the blueprint, for UI reference." - }, - "parameters": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ParameterDefinition" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A dictionary hold parameter name and it's metadata." - }, - "resourceGroups": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ResourceGroupDefinition" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A dictionary which maps resource group placeholders to the resource groups which will be created." - }, - "targetScope": { - "oneOf": [ - { - "type": "string", - "enum": [ - "subscription", - "managementGroup" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The scope where this Blueprint can be applied." - }, - "versions": { - "type": "object", - "properties": {}, - "description": "Published versions of this blueprint." - } - }, - "description": "Schema for Blueprint properties." - }, - "blueprints_artifacts_childResource": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/TemplateArtifact" - }, - { - "$ref": "#/definitions/RoleAssignmentArtifact" - }, - { - "$ref": "#/definitions/PolicyAssignmentArtifact" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-11-11-preview" - ] - }, - "name": { - "type": "string", - "description": "name of the artifact." - }, - "type": { - "type": "string", - "enum": [ - "artifacts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.Blueprint/blueprints/artifacts" - }, - "blueprints_versions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-11-11-preview" - ] - }, - "name": { - "type": "string", - "description": "version of the published blueprint." - }, - "type": { - "type": "string", - "enum": [ - "versions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.Blueprint/blueprints/versions" - }, - "ManagedServiceIdentity": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "Azure Active Directory principal ID associated with this Identity." - }, - "tenantId": { - "type": "string", - "description": "ID of the Azure Active Directory." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Type of the Managed Service Identity." - } - }, - "required": [ - "type" - ], - "description": "Managed Service Identity" - }, - "ParameterDefinition": { - "type": "object", - "properties": { - "allowedValues": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": {} - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Array of allowed values for this parameter." - }, - "defaultValue": { - "type": "object", - "properties": {}, - "description": "Default Value for this parameter." - }, - "metadata": { - "oneOf": [ - { - "$ref": "#/definitions/ParameterDefinitionMetadata" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "User-friendly properties for this parameter." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "string", - "array", - "bool", - "int", - "object", - "secureObject", - "secureString" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Allowed data types for Azure Resource Manager template parameters." - } - }, - "required": [ - "type" - ], - "description": "Represent a parameter with constrains and metadata." - }, - "ParameterDefinitionMetadata": { - "type": "object", - "properties": { - "description": { - "type": "string", - "maxLength": 500, - "description": "Description of this parameter/resourceGroup." - }, - "displayName": { - "type": "string", - "maxLength": 256, - "description": "DisplayName of this parameter/resourceGroup." - }, - "strongType": { - "type": "string", - "maxLength": 64, - "description": "StrongType for UI to render rich experience during assignment time." - } - }, - "description": "User-friendly properties for this parameter." - }, - "ParameterValueBase": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Optional property, just to establish ParameterValueBase as a BaseClass." - } - }, - "description": "Base class for ParameterValue." - }, - "PolicyAssignmentArtifact": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "policyAssignment" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PolicyAssignmentArtifactProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "PolicyAssignment properties" - } - }, - "required": [ - "kind", - "properties" - ], - "description": "Blueprint artifact applies Policy assignments." - }, - "PolicyAssignmentArtifactProperties": { - "type": "object", - "properties": { - "dependsOn": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Artifacts which need to be deployed before the specified artifact." - }, - "description": { - "type": "string", - "maxLength": 500, - "description": "Multi-line explain this resource." - }, - "displayName": { - "type": "string", - "maxLength": 256, - "description": "One-liner string explain this resource." - }, - "parameters": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ParameterValueBase" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A dictionary for parameters and their corresponding values." - }, - "policyDefinitionId": { - "type": "string", - "description": "Azure resource ID of the policy definition." - }, - "resourceGroup": { - "type": "string", - "description": "Name of the resource group placeholder to which the policy will be assigned." - } - }, - "required": [ - "parameters", - "policyDefinitionId" - ], - "description": "PolicyAssignment properties" - }, - "ResourceGroupDefinition": { - "type": "object", - "properties": { - "dependsOn": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Artifacts which need to be deployed before this resource group." - }, - "location": { - "type": "string", - "maxLength": 90, - "description": "Location of this resourceGroup, leave empty if the resource group location will be specified during the Blueprint assignment." - }, - "metadata": { - "oneOf": [ - { - "$ref": "#/definitions/ParameterDefinitionMetadata" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "User-friendly properties for this parameter." - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 90, - "description": "Name of this resourceGroup, leave empty if the resource group name will be specified during the Blueprint assignment." - } - }, - "description": "Represents an Azure resource group in a Blueprint definition." - }, - "ResourceGroupValue": { - "type": "object", - "properties": { - "location": { - "type": "string", - "description": "Location of the resource group" - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 90, - "description": "Name of the resource group" - } - }, - "description": "Represents an Azure resource group." - }, - "RoleAssignmentArtifact": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "roleAssignment" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RoleAssignmentArtifactProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the Role assignment artifact." - } - }, - "required": [ - "kind", - "properties" - ], - "description": "Blueprint artifact applies Azure role assignment." - }, - "RoleAssignmentArtifactProperties": { - "type": "object", - "properties": { - "dependsOn": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Artifacts which need to be deployed before the specified artifact." - }, - "description": { - "type": "string", - "maxLength": 500, - "description": "Multi-line explain this resource." - }, - "displayName": { - "type": "string", - "maxLength": 256, - "description": "One-liner string explain this resource." - }, - "principalIds": { - "type": "object", - "properties": {}, - "description": "Array of user or group identities in Azure Active Directory. The roleDefinition will apply to these identity." - }, - "resourceGroup": { - "type": "string", - "description": "RoleAssignment will be scope to this resourceGroup, if left empty, it would scope to the subscription." - }, - "roleDefinitionId": { - "type": "string", - "description": "Azure resource ID of the RoleDefinition." - } - }, - "required": [ - "principalIds", - "roleDefinitionId" - ], - "description": "Properties of the Role assignment artifact." - }, - "TemplateArtifact": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "template" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateArtifactProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a Template Artifact." - } - }, - "required": [ - "kind", - "properties" - ], - "description": "Blueprint artifact deploys Azure resource manager template." - }, - "TemplateArtifactProperties": { - "type": "object", - "properties": { - "dependsOn": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Artifacts which need to be deployed before the specified artifact." - }, - "description": { - "type": "string", - "maxLength": 500, - "description": "Multi-line explain this resource." - }, - "displayName": { - "type": "string", - "maxLength": 256, - "description": "One-liner string explain this resource." - }, - "parameters": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ParameterValueBase" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A dictionary for parameters and their corresponding values." - }, - "resourceGroup": { - "type": "string", - "description": "If applicable, the name of the resource group placeholder to which the template will be deployed." - }, - "template": { - "type": "object", - "properties": {}, - "description": "The Azure Resource Manager template body." - } - }, - "required": [ - "parameters", - "template" - ], - "description": "Properties of a Template Artifact." - } - } -} \ No newline at end of file diff --git a/schemas/2018-05-01/subscriptionDeploymentTemplate.json b/schemas/2018-05-01/subscriptionDeploymentTemplate.json index 15f62c1764..e93f691fa2 100644 --- a/schemas/2018-05-01/subscriptionDeploymentTemplate.json +++ b/schemas/2018-05-01/subscriptionDeploymentTemplate.json @@ -123,21 +123,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-11-01-preview/Microsoft.Billing.json#/subscription_resourceDefinitions/billingAccounts_lineOfCredit" }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-11-11-preview/Microsoft.Blueprint.json#/subscription_resourceDefinitions/blueprintAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-11-01-preview/Microsoft.Blueprint.json#/unknown_resourceDefinitions/blueprintAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-11-01-preview/Microsoft.Blueprint.json#/unknown_resourceDefinitions/blueprints" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-11-01-preview/Microsoft.Blueprint.json#/unknown_resourceDefinitions/blueprints_artifacts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-11-01-preview/Microsoft.Blueprint.json#/unknown_resourceDefinitions/blueprints_versions" - }, { "$ref": "https://schema.management.azure.com/schemas/2019-07-19-preview/Microsoft.Capacity.json#/subscription_resourceDefinitions/autoQuotaIncrease" }, diff --git a/schemas/2018-11-01-preview/Microsoft.Blueprint.json b/schemas/2018-11-01-preview/Microsoft.Blueprint.json deleted file mode 100644 index 18bcb727a9..0000000000 --- a/schemas/2018-11-01-preview/Microsoft.Blueprint.json +++ /dev/null @@ -1,1053 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-11-01-preview/Microsoft.Blueprint.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Blueprint", - "description": "Microsoft Blueprint Resource Types", - "resourceDefinitions": {}, - "unknown_resourceDefinitions": { - "blueprintAssignments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-11-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Managed identity generic object." - }, - "location": { - "type": "string", - "description": "The location of this blueprint assignment." - }, - "name": { - "type": "string", - "description": "Name of the blueprint assignment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Detailed properties for a blueprint assignment." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Blueprint/blueprintAssignments" - ] - } - }, - "required": [ - "apiVersion", - "identity", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Blueprint/blueprintAssignments" - }, - "blueprints": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-11-01-preview" - ] - }, - "name": { - "type": "string", - "description": "Name of the blueprint definition." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BlueprintProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for blueprint definition properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/blueprints_artifacts_childResource" - }, - { - "$ref": "#/definitions/blueprints_versions_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Blueprint/blueprints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Blueprint/blueprints" - }, - "blueprints_artifacts": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/TemplateArtifact" - }, - { - "$ref": "#/definitions/RoleAssignmentArtifact" - }, - { - "$ref": "#/definitions/PolicyAssignmentArtifact" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-11-01-preview" - ] - }, - "name": { - "type": "string", - "description": "Name of the blueprint artifact." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Blueprint/blueprints/artifacts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.Blueprint/blueprints/artifacts" - }, - "blueprints_versions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-11-01-preview" - ] - }, - "name": { - "type": "string", - "description": "Version of the published blueprint definition." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PublishedBlueprintProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for published blueprint definition properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Blueprint/blueprints/versions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Blueprint/blueprints/versions" - } - }, - "definitions": { - "AssignmentLockSettings": { - "type": "object", - "properties": { - "excludedActions": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of management operations that are excluded from blueprint locks. Up to 200 actions are permitted. If the lock mode is set to 'AllResourcesReadOnly', then the following actions are automatically appended to 'excludedActions': '*/read', 'Microsoft.Network/virtualNetworks/subnets/join/action' and 'Microsoft.Authorization/locks/delete'. If the lock mode is set to 'AllResourcesDoNotDelete', then the following actions are automatically appended to 'excludedActions': 'Microsoft.Authorization/locks/delete'. Duplicate actions will get removed." - }, - "excludedPrincipals": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of AAD principals excluded from blueprint locks. Up to 5 principals are permitted." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "AllResourcesReadOnly", - "AllResourcesDoNotDelete" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Lock mode." - } - }, - "description": "Defines how resources deployed by a blueprint assignment are locked." - }, - "AssignmentProperties": { - "type": "object", - "properties": { - "blueprintId": { - "type": "string", - "description": "ID of the published version of a blueprint definition." - }, - "description": { - "type": "string", - "maxLength": 500, - "description": "Multi-line explain this resource." - }, - "displayName": { - "type": "string", - "maxLength": 256, - "description": "One-liner string explain this resource." - }, - "locks": { - "oneOf": [ - { - "$ref": "#/definitions/AssignmentLockSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines how resources deployed by a blueprint assignment are locked." - }, - "parameters": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ParameterValue" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Blueprint assignment parameter values." - }, - "resourceGroups": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ResourceGroupValue" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Names and locations of resource group placeholders." - }, - "scope": { - "type": "string", - "description": "The target subscription scope of the blueprint assignment (format: '/subscriptions/{subscriptionId}'). For management group level assignments, the property is required." - } - }, - "required": [ - "parameters", - "resourceGroups" - ], - "description": "Detailed properties for a blueprint assignment." - }, - "BlueprintProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "maxLength": 500, - "description": "Multi-line explain this resource." - }, - "displayName": { - "type": "string", - "maxLength": 256, - "description": "One-liner string explain this resource." - }, - "layout": { - "type": "object", - "properties": {}, - "description": "Layout view of the blueprint definition for UI reference." - }, - "parameters": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ParameterDefinition" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Parameters required by this blueprint definition." - }, - "resourceGroups": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ResourceGroupDefinition" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource group placeholders defined by this blueprint definition." - }, - "targetScope": { - "oneOf": [ - { - "type": "string", - "enum": [ - "subscription", - "managementGroup" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The scope where this blueprint definition can be assigned." - }, - "versions": { - "type": "object", - "properties": {}, - "description": "Published versions of this blueprint definition." - } - }, - "description": "Schema for blueprint definition properties." - }, - "blueprints_artifacts_childResource": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/TemplateArtifact" - }, - { - "$ref": "#/definitions/RoleAssignmentArtifact" - }, - { - "$ref": "#/definitions/PolicyAssignmentArtifact" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-11-01-preview" - ] - }, - "name": { - "type": "string", - "description": "Name of the blueprint artifact." - }, - "type": { - "type": "string", - "enum": [ - "artifacts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.Blueprint/blueprints/artifacts" - }, - "blueprints_versions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-11-01-preview" - ] - }, - "name": { - "type": "string", - "description": "Version of the published blueprint definition." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PublishedBlueprintProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for published blueprint definition properties." - }, - "type": { - "type": "string", - "enum": [ - "versions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Blueprint/blueprints/versions" - }, - "KeyVaultReference": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Azure resource ID of the Key Vault." - } - }, - "required": [ - "id" - ], - "description": "Specifies the link to a Key Vault." - }, - "ManagedServiceIdentity": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "Azure Active Directory principal ID associated with this Identity." - }, - "tenantId": { - "type": "string", - "description": "ID of the Azure Active Directory." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Type of the managed identity." - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentity" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity." - } - }, - "required": [ - "type" - ], - "description": "Managed identity generic object." - }, - "ParameterDefinition": { - "type": "object", - "properties": { - "allowedValues": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": {} - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Array of allowed values for this parameter." - }, - "defaultValue": { - "type": "object", - "properties": {}, - "description": "Default Value for this parameter." - }, - "metadata": { - "oneOf": [ - { - "$ref": "#/definitions/ParameterDefinitionMetadata" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "User-friendly properties for this parameter." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "string", - "array", - "bool", - "int", - "object", - "secureObject", - "secureString" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Allowed data types for Resource Manager template parameters." - } - }, - "required": [ - "type" - ], - "description": "Represent a parameter with constrains and metadata." - }, - "ParameterDefinitionMetadata": { - "type": "object", - "properties": { - "description": { - "type": "string", - "maxLength": 500, - "description": "Description of this parameter/resourceGroup." - }, - "displayName": { - "type": "string", - "maxLength": 256, - "description": "DisplayName of this parameter/resourceGroup." - }, - "strongType": { - "type": "string", - "maxLength": 64, - "description": "StrongType for UI to render rich experience during blueprint assignment. Supported strong types are resourceType, principalId and location." - } - }, - "description": "User-friendly properties for this parameter." - }, - "ParameterValue": { - "type": "object", - "properties": { - "reference": { - "oneOf": [ - { - "$ref": "#/definitions/SecretValueReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Reference to a Key Vault secret." - }, - "value": { - "type": "object", - "properties": {}, - "description": "Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans." - } - }, - "description": "Value for the specified parameter. Can be either 'value' or 'reference' but not both." - }, - "PolicyAssignmentArtifact": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "policyAssignment" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PolicyAssignmentArtifactProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a Policy assignment blueprint artifact." - } - }, - "required": [ - "kind", - "properties" - ], - "description": "Blueprint artifact that applies a Policy assignment." - }, - "PolicyAssignmentArtifactProperties": { - "type": "object", - "properties": { - "dependsOn": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Artifacts which need to be deployed before the specified artifact." - }, - "description": { - "type": "string", - "maxLength": 500, - "description": "Multi-line explain this resource." - }, - "displayName": { - "type": "string", - "maxLength": 256, - "description": "One-liner string explain this resource." - }, - "parameters": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ParameterValue" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Parameter values for the policy definition." - }, - "policyDefinitionId": { - "type": "string", - "description": "Azure resource ID of the policy definition." - }, - "resourceGroup": { - "type": "string", - "description": "Name of the resource group placeholder to which the policy will be assigned." - } - }, - "required": [ - "parameters", - "policyDefinitionId" - ], - "description": "Properties of a Policy assignment blueprint artifact." - }, - "PublishedBlueprintProperties": { - "type": "object", - "properties": { - "blueprintName": { - "type": "string", - "description": "Name of the published blueprint definition." - }, - "changeNotes": { - "type": "string", - "maxLength": 500, - "description": "Version-specific change notes." - }, - "description": { - "type": "string", - "maxLength": 500, - "description": "Multi-line explain this resource." - }, - "displayName": { - "type": "string", - "maxLength": 256, - "description": "One-liner string explain this resource." - }, - "parameters": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ParameterDefinition" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Parameters required by this blueprint definition." - }, - "resourceGroups": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ResourceGroupDefinition" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource group placeholders defined by this blueprint definition." - }, - "targetScope": { - "oneOf": [ - { - "type": "string", - "enum": [ - "subscription", - "managementGroup" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The scope where this blueprint definition can be assigned." - } - }, - "description": "Schema for published blueprint definition properties." - }, - "ResourceGroupDefinition": { - "type": "object", - "properties": { - "dependsOn": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Artifacts which need to be deployed before this resource group." - }, - "location": { - "type": "string", - "description": "Location of this resourceGroup. Leave empty if the resource group location will be specified during the blueprint assignment." - }, - "metadata": { - "oneOf": [ - { - "$ref": "#/definitions/ParameterDefinitionMetadata" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "User-friendly properties for this parameter." - }, - "name": { - "type": "string", - "description": "Name of this resourceGroup. Leave empty if the resource group name will be specified during the blueprint assignment." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags to be assigned to this resource group." - } - }, - "description": "Represents an Azure resource group in a blueprint definition." - }, - "ResourceGroupValue": { - "type": "object", - "properties": { - "location": { - "type": "string", - "description": "Location of the resource group." - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 90, - "description": "Name of the resource group." - } - }, - "description": "Represents an Azure resource group." - }, - "RoleAssignmentArtifact": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "roleAssignment" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RoleAssignmentArtifactProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a Role assignment blueprint artifact." - } - }, - "required": [ - "kind", - "properties" - ], - "description": "Blueprint artifact that applies a Role assignment." - }, - "RoleAssignmentArtifactProperties": { - "type": "object", - "properties": { - "dependsOn": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Artifacts which need to be deployed before the specified artifact." - }, - "description": { - "type": "string", - "maxLength": 500, - "description": "Multi-line explain this resource." - }, - "displayName": { - "type": "string", - "maxLength": 256, - "description": "One-liner string explain this resource." - }, - "principalIds": { - "type": "object", - "properties": {}, - "description": "Array of user or group identities in Azure Active Directory. The roleDefinition will apply to each identity." - }, - "resourceGroup": { - "type": "string", - "description": "RoleAssignment will be scope to this resourceGroup. If empty, it scopes to the subscription." - }, - "roleDefinitionId": { - "type": "string", - "description": "Azure resource ID of the RoleDefinition." - } - }, - "required": [ - "principalIds", - "roleDefinitionId" - ], - "description": "Properties of a Role assignment blueprint artifact." - }, - "SecretValueReference": { - "type": "object", - "properties": { - "keyVault": { - "oneOf": [ - { - "$ref": "#/definitions/KeyVaultReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the link to a Key Vault." - }, - "secretName": { - "type": "string", - "description": "Name of the secret." - }, - "secretVersion": { - "type": "string", - "description": "The version of the secret to use. If left blank, the latest version of the secret is used." - } - }, - "required": [ - "keyVault", - "secretName" - ], - "description": "Reference to a Key Vault secret." - }, - "TemplateArtifact": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "template" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TemplateArtifactProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a Resource Manager template blueprint artifact." - } - }, - "required": [ - "kind", - "properties" - ], - "description": "Blueprint artifact that deploys a Resource Manager template." - }, - "TemplateArtifactProperties": { - "type": "object", - "properties": { - "dependsOn": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Artifacts which need to be deployed before the specified artifact." - }, - "description": { - "type": "string", - "maxLength": 500, - "description": "Multi-line explain this resource." - }, - "displayName": { - "type": "string", - "maxLength": 256, - "description": "One-liner string explain this resource." - }, - "parameters": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ParameterValue" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Manager template blueprint artifact parameter values." - }, - "resourceGroup": { - "type": "string", - "description": "If applicable, the name of the resource group placeholder to which the Resource Manager template blueprint artifact will be deployed." - }, - "template": { - "type": "object", - "properties": {}, - "description": "The Resource Manager template blueprint artifact body." - } - }, - "required": [ - "parameters", - "template" - ], - "description": "Properties of a Resource Manager template blueprint artifact." - }, - "UserAssignedIdentity": { - "type": "object", - "properties": { - "clientId": { - "type": "string", - "description": "Client App Id associated with this identity." - }, - "principalId": { - "type": "string", - "description": "Azure Active Directory principal ID associated with this Identity." - } - }, - "description": "User-assigned managed identity." - } - } -} \ No newline at end of file