787 строки
24 KiB
JSON
787 строки
24 KiB
JSON
{
|
||
"id": "https://schema.management.azure.com/schemas/2018-11-01-preview/Microsoft.Blueprint.json#",
|
||
"title": "Microsoft.Blueprint",
|
||
"description": "Microsoft Blueprint Resource Types",
|
||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||
"unknown_resourceDefinitions": {
|
||
"blueprintAssignments": {
|
||
"description": "Microsoft.Blueprint/blueprintAssignments",
|
||
"properties": {
|
||
"apiVersion": {
|
||
"enum": [
|
||
"2018-11-01-preview"
|
||
],
|
||
"type": "string"
|
||
},
|
||
"identity": {
|
||
"description": "Managed identity for this blueprint assignment.",
|
||
"oneOf": [
|
||
{
|
||
"$ref": "#/definitions/ManagedServiceIdentity"
|
||
},
|
||
{
|
||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||
}
|
||
]
|
||
},
|
||
"location": {
|
||
"description": "The location of this blueprint assignment.",
|
||
"type": "string"
|
||
},
|
||
"name": {
|
||
"description": "Name of the blueprint assignment.",
|
||
"type": "string"
|
||
},
|
||
"properties": {
|
||
"description": "Properties for blueprint assignment object.",
|
||
"oneOf": [
|
||
{
|
||
"$ref": "#/definitions/AssignmentProperties"
|
||
},
|
||
{
|
||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||
}
|
||
]
|
||
},
|
||
"type": {
|
||
"enum": [
|
||
"Microsoft.Blueprint/blueprintAssignments"
|
||
],
|
||
"type": "string"
|
||
}
|
||
},
|
||
"required": [
|
||
"name",
|
||
"properties",
|
||
"apiVersion",
|
||
"type"
|
||
],
|
||
"type": "object"
|
||
},
|
||
"blueprints": {
|
||
"description": "Microsoft.Blueprint/blueprints",
|
||
"properties": {
|
||
"apiVersion": {
|
||
"enum": [
|
||
"2018-11-01-preview"
|
||
],
|
||
"type": "string"
|
||
},
|
||
"name": {
|
||
"description": "Name of the blueprint definition.",
|
||
"type": "string"
|
||
},
|
||
"properties": {
|
||
"description": "Detailed properties for blueprint definition.",
|
||
"oneOf": [
|
||
{
|
||
"$ref": "#/definitions/BlueprintProperties"
|
||
},
|
||
{
|
||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||
}
|
||
]
|
||
},
|
||
"resources": {
|
||
"items": {
|
||
"oneOf": [
|
||
{
|
||
"$ref": "#/definitions/blueprints_versions_childResource"
|
||
},
|
||
{
|
||
"$ref": "#/definitions/blueprints_artifacts_childResource"
|
||
}
|
||
]
|
||
},
|
||
"type": "array"
|
||
},
|
||
"type": {
|
||
"enum": [
|
||
"Microsoft.Blueprint/blueprints"
|
||
],
|
||
"type": "string"
|
||
}
|
||
},
|
||
"required": [
|
||
"name",
|
||
"properties",
|
||
"apiVersion",
|
||
"type"
|
||
],
|
||
"type": "object"
|
||
},
|
||
"blueprints_artifacts": {
|
||
"description": "Microsoft.Blueprint/blueprints/artifacts",
|
||
"properties": {
|
||
"apiVersion": {
|
||
"enum": [
|
||
"2018-11-01-preview"
|
||
],
|
||
"type": "string"
|
||
},
|
||
"name": {
|
||
"description": "Name of the blueprint artifact.",
|
||
"type": "string"
|
||
},
|
||
"type": {
|
||
"enum": [
|
||
"Microsoft.Blueprint/blueprints/artifacts"
|
||
],
|
||
"type": "string"
|
||
}
|
||
},
|
||
"required": [
|
||
"name",
|
||
"apiVersion",
|
||
"type"
|
||
],
|
||
"type": "object"
|
||
},
|
||
"blueprints_versions": {
|
||
"description": "Microsoft.Blueprint/blueprints/versions",
|
||
"properties": {
|
||
"apiVersion": {
|
||
"enum": [
|
||
"2018-11-01-preview"
|
||
],
|
||
"type": "string"
|
||
},
|
||
"name": {
|
||
"description": "Version of the published blueprint definition.",
|
||
"type": "string"
|
||
},
|
||
"properties": {
|
||
"description": "Detailed properties for published blueprint.",
|
||
"oneOf": [
|
||
{
|
||
"$ref": "#/definitions/PublishedBlueprintProperties"
|
||
},
|
||
{
|
||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||
}
|
||
]
|
||
},
|
||
"type": {
|
||
"enum": [
|
||
"Microsoft.Blueprint/blueprints/versions"
|
||
],
|
||
"type": "string"
|
||
}
|
||
},
|
||
"required": [
|
||
"name",
|
||
"properties",
|
||
"apiVersion",
|
||
"type"
|
||
],
|
||
"type": "object"
|
||
}
|
||
},
|
||
"definitions": {
|
||
"AssignmentLockSettings": {
|
||
"description": "Defines how resources deployed by a blueprint assignment are locked.",
|
||
"properties": {
|
||
"excludedActions": {
|
||
"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.",
|
||
"oneOf": [
|
||
{
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"type": "array"
|
||
},
|
||
{
|
||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||
}
|
||
]
|
||
},
|
||
"excludedPrincipals": {
|
||
"description": "List of AAD principals excluded from blueprint locks. 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": "Lock mode.",
|
||
"oneOf": [
|
||
{
|
||
"enum": [
|
||
"None",
|
||
"AllResourcesReadOnly",
|
||
"AllResourcesDoNotDelete"
|
||
],
|
||
"type": "string"
|
||
},
|
||
{
|
||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"type": "object"
|
||
},
|
||
"AssignmentProperties": {
|
||
"description": "Detailed properties for a blueprint assignment.",
|
||
"properties": {
|
||
"blueprintId": {
|
||
"description": "ID of the published version of a blueprint definition.",
|
||
"type": "string"
|
||
},
|
||
"description": {
|
||
"description": "Multi-line explain this resource.",
|
||
"maxLength": 500,
|
||
"type": "string"
|
||
},
|
||
"displayName": {
|
||
"description": "One-liner string explain this resource.",
|
||
"maxLength": 256,
|
||
"type": "string"
|
||
},
|
||
"locks": {
|
||
"description": "Defines how resources deployed by a blueprint assignment are locked.",
|
||
"oneOf": [
|
||
{
|
||
"$ref": "#/definitions/AssignmentLockSettings"
|
||
},
|
||
{
|
||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||
}
|
||
]
|
||
},
|
||
"parameters": {
|
||
"description": "Blueprint assignment parameter values.",
|
||
"oneOf": [
|
||
{
|
||
"additionalProperties": {
|
||
"$ref": "#/definitions/ParameterValue"
|
||
},
|
||
"properties": {},
|
||
"type": "object"
|
||
},
|
||
{
|
||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||
}
|
||
]
|
||
},
|
||
"resourceGroups": {
|
||
"description": "Names and locations of resource group placeholders.",
|
||
"oneOf": [
|
||
{
|
||
"additionalProperties": {
|
||
"$ref": "#/definitions/ResourceGroupValue"
|
||
},
|
||
"properties": {},
|
||
"type": "object"
|
||
},
|
||
{
|
||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||
}
|
||
]
|
||
},
|
||
"scope": {
|
||
"description": "The target subscription scope of the blueprint assignment (format: '/subscriptions/{subscriptionId}'). For management group level assignments, the property is required.",
|
||
"type": "string"
|
||
}
|
||
},
|
||
"required": [
|
||
"parameters",
|
||
"resourceGroups"
|
||
],
|
||
"type": "object"
|
||
},
|
||
"BlueprintProperties": {
|
||
"description": "Schema for blueprint definition properties.",
|
||
"properties": {
|
||
"description": {
|
||
"description": "Multi-line explain this resource.",
|
||
"maxLength": 500,
|
||
"type": "string"
|
||
},
|
||
"displayName": {
|
||
"description": "One-liner string explain this resource.",
|
||
"maxLength": 256,
|
||
"type": "string"
|
||
},
|
||
"parameters": {
|
||
"description": "Parameters required by this blueprint definition.",
|
||
"oneOf": [
|
||
{
|
||
"additionalProperties": {
|
||
"$ref": "#/definitions/ParameterDefinition"
|
||
},
|
||
"properties": {},
|
||
"type": "object"
|
||
},
|
||
{
|
||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||
}
|
||
]
|
||
},
|
||
"resourceGroups": {
|
||
"description": "Resource group placeholders defined by this blueprint definition.",
|
||
"oneOf": [
|
||
{
|
||
"additionalProperties": {
|
||
"$ref": "#/definitions/ResourceGroupDefinition"
|
||
},
|
||
"properties": {},
|
||
"type": "object"
|
||
},
|
||
{
|
||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||
}
|
||
]
|
||
},
|
||
"targetScope": {
|
||
"description": "The scope where this blueprint definition can be assigned.",
|
||
"oneOf": [
|
||
{
|
||
"enum": [
|
||
"subscription",
|
||
"managementGroup"
|
||
],
|
||
"type": "string"
|
||
},
|
||
{
|
||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||
}
|
||
]
|
||
},
|
||
"versions": {
|
||
"description": "Published versions of this blueprint definition.",
|
||
"oneOf": [
|
||
{
|
||
"type": "object"
|
||
},
|
||
{
|
||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"type": "object"
|
||
},
|
||
"KeyVaultReference": {
|
||
"description": "Specifies the link to a Key Vault.",
|
||
"properties": {
|
||
"id": {
|
||
"description": "Azure resource ID of the Key Vault.",
|
||
"type": "string"
|
||
}
|
||
},
|
||
"required": [
|
||
"id"
|
||
],
|
||
"type": "object"
|
||
},
|
||
"ManagedServiceIdentity": {
|
||
"description": "Managed identity generic object.",
|
||
"properties": {
|
||
"principalId": {
|
||
"description": "Azure Active Directory principal ID associated with this Identity.",
|
||
"type": "string"
|
||
},
|
||
"tenantId": {
|
||
"description": "ID of the Azure Active Directory.",
|
||
"type": "string"
|
||
},
|
||
"type": {
|
||
"description": "Type of the managed identity.",
|
||
"oneOf": [
|
||
{
|
||
"enum": [
|
||
"None",
|
||
"SystemAssigned",
|
||
"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"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"required": [
|
||
"type"
|
||
],
|
||
"type": "object"
|
||
},
|
||
"ParameterDefinition": {
|
||
"description": "Represent a parameter with constrains and metadata.",
|
||
"properties": {
|
||
"allowedValues": {
|
||
"description": "Array of allowed values for this parameter.",
|
||
"oneOf": [
|
||
{
|
||
"items": {},
|
||
"type": "array"
|
||
},
|
||
{
|
||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||
}
|
||
]
|
||
},
|
||
"defaultValue": {
|
||
"description": "Default Value for this parameter."
|
||
},
|
||
"metadata": {
|
||
"description": "User-friendly properties for this parameter.",
|
||
"oneOf": [
|
||
{
|
||
"$ref": "#/definitions/ParameterDefinitionMetadata"
|
||
},
|
||
{
|
||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||
}
|
||
]
|
||
},
|
||
"type": {
|
||
"description": "Allowed data types for Resource Manager template parameters.",
|
||
"oneOf": [
|
||
{
|
||
"enum": [
|
||
"string",
|
||
"array",
|
||
"bool",
|
||
"int",
|
||
"object",
|
||
"secureObject",
|
||
"secureString"
|
||
],
|
||
"type": "string"
|
||
},
|
||
{
|
||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"required": [
|
||
"type"
|
||
],
|
||
"type": "object"
|
||
},
|
||
"ParameterDefinitionMetadata": {
|
||
"description": "User-friendly properties for this parameter.",
|
||
"properties": {
|
||
"description": {
|
||
"description": "Description of this parameter/resourceGroup.",
|
||
"maxLength": 500,
|
||
"type": "string"
|
||
},
|
||
"displayName": {
|
||
"description": "DisplayName of this parameter/resourceGroup.",
|
||
"maxLength": 256,
|
||
"type": "string"
|
||
},
|
||
"strongType": {
|
||
"description": "StrongType for UI to render rich experience during blueprint assignment. Supported strong types are resourceType, principalId and location.",
|
||
"maxLength": 64,
|
||
"type": "string"
|
||
}
|
||
},
|
||
"type": "object"
|
||
},
|
||
"ParameterValue": {
|
||
"description": "Value for the specified parameter. Can be either 'value' or 'reference' but not both.",
|
||
"properties": {
|
||
"reference": {
|
||
"description": "Parameter value as reference type.",
|
||
"oneOf": [
|
||
{
|
||
"$ref": "#/definitions/SecretValueReference"
|
||
},
|
||
{
|
||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||
}
|
||
]
|
||
},
|
||
"value": {
|
||
"description": "Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans.",
|
||
"oneOf": [
|
||
{
|
||
"type": "object"
|
||
},
|
||
{
|
||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"type": "object"
|
||
},
|
||
"PublishedBlueprintProperties": {
|
||
"description": "Schema for published blueprint definition properties.",
|
||
"properties": {
|
||
"blueprintName": {
|
||
"description": "Name of the published blueprint definition.",
|
||
"type": "string"
|
||
},
|
||
"changeNotes": {
|
||
"description": "Version-specific change notes.",
|
||
"maxLength": 500,
|
||
"type": "string"
|
||
},
|
||
"description": {
|
||
"description": "Multi-line explain this resource.",
|
||
"maxLength": 500,
|
||
"type": "string"
|
||
},
|
||
"displayName": {
|
||
"description": "One-liner string explain this resource.",
|
||
"maxLength": 256,
|
||
"type": "string"
|
||
},
|
||
"parameters": {
|
||
"description": "Parameters required by this blueprint definition.",
|
||
"oneOf": [
|
||
{
|
||
"additionalProperties": {
|
||
"$ref": "#/definitions/ParameterDefinition"
|
||
},
|
||
"properties": {},
|
||
"type": "object"
|
||
},
|
||
{
|
||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||
}
|
||
]
|
||
},
|
||
"resourceGroups": {
|
||
"description": "Resource group placeholders defined by this blueprint definition.",
|
||
"oneOf": [
|
||
{
|
||
"additionalProperties": {
|
||
"$ref": "#/definitions/ResourceGroupDefinition"
|
||
},
|
||
"properties": {},
|
||
"type": "object"
|
||
},
|
||
{
|
||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||
}
|
||
]
|
||
},
|
||
"targetScope": {
|
||
"description": "The scope where this blueprint definition can be assigned.",
|
||
"oneOf": [
|
||
{
|
||
"enum": [
|
||
"subscription",
|
||
"managementGroup"
|
||
],
|
||
"type": "string"
|
||
},
|
||
{
|
||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"type": "object"
|
||
},
|
||
"ResourceGroupDefinition": {
|
||
"description": "Represents an Azure resource group in a blueprint definition.",
|
||
"properties": {
|
||
"dependsOn": {
|
||
"description": "Artifacts which need to be deployed before this resource group.",
|
||
"oneOf": [
|
||
{
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"type": "array"
|
||
},
|
||
{
|
||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||
}
|
||
]
|
||
},
|
||
"location": {
|
||
"description": "Location of this resourceGroup. Leave empty if the resource group location will be specified during the blueprint assignment.",
|
||
"type": "string"
|
||
},
|
||
"metadata": {
|
||
"description": "User-friendly properties for this resource group.",
|
||
"oneOf": [
|
||
{
|
||
"$ref": "#/definitions/ParameterDefinitionMetadata"
|
||
},
|
||
{
|
||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||
}
|
||
]
|
||
},
|
||
"name": {
|
||
"description": "Name of this resourceGroup. Leave empty if the resource group name will be specified during the blueprint assignment.",
|
||
"type": "string"
|
||
},
|
||
"tags": {
|
||
"description": "Tags to be assigned to this resource group.",
|
||
"oneOf": [
|
||
{
|
||
"additionalProperties": {
|
||
"type": "string"
|
||
},
|
||
"properties": {},
|
||
"type": "object"
|
||
},
|
||
{
|
||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"type": "object"
|
||
},
|
||
"ResourceGroupValue": {
|
||
"description": "Represents an Azure resource group.",
|
||
"properties": {
|
||
"location": {
|
||
"description": "Location of the resource group.",
|
||
"type": "string"
|
||
},
|
||
"name": {
|
||
"description": "Name of the resource group.",
|
||
"maxLength": 90,
|
||
"minLength": 1,
|
||
"type": "string"
|
||
}
|
||
},
|
||
"type": "object"
|
||
},
|
||
"SecretValueReference": {
|
||
"description": "Reference to a Key Vault secret.",
|
||
"properties": {
|
||
"keyVault": {
|
||
"description": "Specifies the reference to a given Azure Key Vault.",
|
||
"oneOf": [
|
||
{
|
||
"$ref": "#/definitions/KeyVaultReference"
|
||
},
|
||
{
|
||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||
}
|
||
]
|
||
},
|
||
"secretName": {
|
||
"description": "Name of the secret.",
|
||
"type": "string"
|
||
},
|
||
"secretVersion": {
|
||
"description": "The version of the secret to use. If left blank, the latest version of the secret is used.",
|
||
"type": "string"
|
||
}
|
||
},
|
||
"required": [
|
||
"keyVault",
|
||
"secretName"
|
||
],
|
||
"type": "object"
|
||
},
|
||
"UserAssignedIdentity": {
|
||
"description": "User-assigned managed identity.",
|
||
"properties": {
|
||
"clientId": {
|
||
"description": "Client App Id associated with this identity.",
|
||
"type": "string"
|
||
},
|
||
"principalId": {
|
||
"description": "Azure Active Directory principal ID associated with this Identity.",
|
||
"type": "string"
|
||
}
|
||
},
|
||
"type": "object"
|
||
},
|
||
"blueprints_artifacts_childResource": {
|
||
"description": "Microsoft.Blueprint/blueprints/artifacts",
|
||
"properties": {
|
||
"apiVersion": {
|
||
"enum": [
|
||
"2018-11-01-preview"
|
||
],
|
||
"type": "string"
|
||
},
|
||
"name": {
|
||
"description": "Name of the blueprint artifact.",
|
||
"type": "string"
|
||
},
|
||
"type": {
|
||
"enum": [
|
||
"artifacts"
|
||
],
|
||
"type": "string"
|
||
}
|
||
},
|
||
"required": [
|
||
"name",
|
||
"apiVersion",
|
||
"type"
|
||
],
|
||
"type": "object"
|
||
},
|
||
"blueprints_versions_childResource": {
|
||
"description": "Microsoft.Blueprint/blueprints/versions",
|
||
"properties": {
|
||
"apiVersion": {
|
||
"enum": [
|
||
"2018-11-01-preview"
|
||
],
|
||
"type": "string"
|
||
},
|
||
"name": {
|
||
"description": "Version of the published blueprint definition.",
|
||
"type": "string"
|
||
},
|
||
"properties": {
|
||
"description": "Detailed properties for published blueprint.",
|
||
"oneOf": [
|
||
{
|
||
"$ref": "#/definitions/PublishedBlueprintProperties"
|
||
},
|
||
{
|
||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||
}
|
||
]
|
||
},
|
||
"type": {
|
||
"enum": [
|
||
"versions"
|
||
],
|
||
"type": "string"
|
||
}
|
||
},
|
||
"required": [
|
||
"name",
|
||
"properties",
|
||
"apiVersion",
|
||
"type"
|
||
],
|
||
"type": "object"
|
||
}
|
||
}
|
||
} |