Microsoft.Blueprint blueprints 2018-11-01-preview
Bicep resource definition
The blueprints resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Blueprint/blueprints resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Blueprint/blueprints@2018-11-01-preview' = {
scope: resourceSymbolicName or scope
name: 'string'
properties: {
description: 'string'
displayName: 'string'
parameters: {
{customized property}: {
allowedValues: [
any(Azure.Bicep.Types.Concrete.AnyType)
]
defaultValue: any(Azure.Bicep.Types.Concrete.AnyType)
metadata: {
description: 'string'
displayName: 'string'
strongType: 'string'
}
type: 'string'
}
}
resourceGroups: {
{customized property}: {
dependsOn: [
'string'
]
location: 'string'
metadata: {
description: 'string'
displayName: 'string'
strongType: 'string'
}
name: 'string'
tags: {
{customized property}: 'string'
}
}
}
targetScope: 'string'
versions: any(Azure.Bicep.Types.Concrete.AnyType)
}
}
Property values
BlueprintProperties
Name | Description | Value |
---|---|---|
description | Multi-line explain this resource. | string Constraints: Max length = |
displayName | One-liner string explain this resource. | string Constraints: Max length = |
parameters | Parameters required by this blueprint definition. | SharedBlueprintPropertiesParameters |
resourceGroups | Resource group placeholders defined by this blueprint definition. | SharedBlueprintPropertiesResourceGroups |
targetScope | The scope where this blueprint definition can be assigned. | 'managementGroup' 'subscription' |
versions | Published versions of this blueprint definition. | any |
Microsoft.Blueprint/blueprints
Name | Description | Value |
---|---|---|
name | The resource name | string (required) |
properties | Detailed properties for blueprint definition. | BlueprintProperties (required) |
scope | Use when creating a resource at a scope that is different than the deployment scope. | Set this property to the symbolic name of a resource to apply the extension resource. |
ParameterDefinition
Name | Description | Value |
---|---|---|
allowedValues | Array of allowed values for this parameter. | any[] |
defaultValue | Default Value for this parameter. | any |
metadata | User-friendly properties for this parameter. | ParameterDefinitionMetadata |
type | Allowed data types for Resource Manager template parameters. | 'array' 'bool' 'int' 'object' 'secureObject' 'secureString' 'string' (required) |
ParameterDefinitionMetadata
Name | Description | Value |
---|---|---|
description | Description of this parameter/resourceGroup. | string Constraints: Max length = |
displayName | DisplayName of this parameter/resourceGroup. | string Constraints: Max length = |
strongType | StrongType for UI to render rich experience during blueprint assignment. Supported strong types are resourceType, principalId and location. | string Constraints: Max length = |
ResourceGroupDefinition
Name | Description | Value |
---|---|---|
dependsOn | Artifacts which need to be deployed before this resource group. | string[] |
location | Location of this resourceGroup. Leave empty if the resource group location will be specified during the blueprint assignment. | string |
metadata | User-friendly properties for this resource group. | ParameterDefinitionMetadata |
name | Name of this resourceGroup. Leave empty if the resource group name will be specified during the blueprint assignment. | string |
tags | Tags to be assigned to this resource group. | ResourceGroupDefinitionTags |
ResourceGroupDefinitionTags
Name | Description | Value |
---|
SharedBlueprintPropertiesParameters
Name | Description | Value |
---|
SharedBlueprintPropertiesResourceGroups
Name | Description | Value |
---|
ARM template resource definition
The blueprints resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Blueprint/blueprints resource, add the following JSON to your template.
{
"type": "Microsoft.Blueprint/blueprints",
"apiVersion": "2018-11-01-preview",
"name": "string",
"properties": {
"description": "string",
"displayName": "string",
"parameters": {
"{customized property}": {
"allowedValues": [ {} ],
"defaultValue": {},
"metadata": {
"description": "string",
"displayName": "string",
"strongType": "string"
},
"type": "string"
}
},
"resourceGroups": {
"{customized property}": {
"dependsOn": [ "string" ],
"location": "string",
"metadata": {
"description": "string",
"displayName": "string",
"strongType": "string"
},
"name": "string",
"tags": {
"{customized property}": "string"
}
}
},
"targetScope": "string",
"versions": {}
}
}
Property values
BlueprintProperties
Name | Description | Value |
---|---|---|
description | Multi-line explain this resource. | string Constraints: Max length = |
displayName | One-liner string explain this resource. | string Constraints: Max length = |
parameters | Parameters required by this blueprint definition. | SharedBlueprintPropertiesParameters |
resourceGroups | Resource group placeholders defined by this blueprint definition. | SharedBlueprintPropertiesResourceGroups |
targetScope | The scope where this blueprint definition can be assigned. | 'managementGroup' 'subscription' |
versions | Published versions of this blueprint definition. | any |
Microsoft.Blueprint/blueprints
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2018-11-01-preview' |
name | The resource name | string (required) |
properties | Detailed properties for blueprint definition. | BlueprintProperties (required) |
type | The resource type | 'Microsoft.Blueprint/blueprints' |
ParameterDefinition
Name | Description | Value |
---|---|---|
allowedValues | Array of allowed values for this parameter. | any[] |
defaultValue | Default Value for this parameter. | any |
metadata | User-friendly properties for this parameter. | ParameterDefinitionMetadata |
type | Allowed data types for Resource Manager template parameters. | 'array' 'bool' 'int' 'object' 'secureObject' 'secureString' 'string' (required) |
ParameterDefinitionMetadata
Name | Description | Value |
---|---|---|
description | Description of this parameter/resourceGroup. | string Constraints: Max length = |
displayName | DisplayName of this parameter/resourceGroup. | string Constraints: Max length = |
strongType | StrongType for UI to render rich experience during blueprint assignment. Supported strong types are resourceType, principalId and location. | string Constraints: Max length = |
ResourceGroupDefinition
Name | Description | Value |
---|---|---|
dependsOn | Artifacts which need to be deployed before this resource group. | string[] |
location | Location of this resourceGroup. Leave empty if the resource group location will be specified during the blueprint assignment. | string |
metadata | User-friendly properties for this resource group. | ParameterDefinitionMetadata |
name | Name of this resourceGroup. Leave empty if the resource group name will be specified during the blueprint assignment. | string |
tags | Tags to be assigned to this resource group. | ResourceGroupDefinitionTags |
ResourceGroupDefinitionTags
Name | Description | Value |
---|
SharedBlueprintPropertiesParameters
Name | Description | Value |
---|
SharedBlueprintPropertiesResourceGroups
Name | Description | Value |
---|
Quickstart templates
The following quickstart templates deploy this resource type.
Template | Description |
---|---|
Blueprints - Create a new blueprint definition |
This template creates an Azure Blueprint blueprint definition. The blueprint definition includes a policy assignment artifact and can be modified and then deployed to management groups or subscriptions for consistent environments. |
Terraform (AzAPI provider) resource definition
The blueprints resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Blueprint/blueprints resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Blueprint/blueprints@2018-11-01-preview"
name = "string"
parent_id = "string"
body = jsonencode({
properties = {
description = "string"
displayName = "string"
parameters = {
{customized property} = {
allowedValues = [
?
]
defaultValue = ?
metadata = {
description = "string"
displayName = "string"
strongType = "string"
}
type = "string"
}
}
resourceGroups = {
{customized property} = {
dependsOn = [
"string"
]
location = "string"
metadata = {
description = "string"
displayName = "string"
strongType = "string"
}
name = "string"
tags = {
{customized property} = "string"
}
}
}
targetScope = "string"
versions = ?
}
})
}
Property values
BlueprintProperties
Name | Description | Value |
---|---|---|
description | Multi-line explain this resource. | string Constraints: Max length = |
displayName | One-liner string explain this resource. | string Constraints: Max length = |
parameters | Parameters required by this blueprint definition. | SharedBlueprintPropertiesParameters |
resourceGroups | Resource group placeholders defined by this blueprint definition. | SharedBlueprintPropertiesResourceGroups |
targetScope | The scope where this blueprint definition can be assigned. | 'managementGroup' 'subscription' |
versions | Published versions of this blueprint definition. | any |
Microsoft.Blueprint/blueprints
Name | Description | Value |
---|---|---|
name | The resource name | string (required) |
parent_id | The ID of the resource to apply this extension resource to. | string (required) |
properties | Detailed properties for blueprint definition. | BlueprintProperties (required) |
type | The resource type | "Microsoft.Blueprint/blueprints@2018-11-01-preview" |
ParameterDefinition
Name | Description | Value |
---|---|---|
allowedValues | Array of allowed values for this parameter. | any[] |
defaultValue | Default Value for this parameter. | any |
metadata | User-friendly properties for this parameter. | ParameterDefinitionMetadata |
type | Allowed data types for Resource Manager template parameters. | 'array' 'bool' 'int' 'object' 'secureObject' 'secureString' 'string' (required) |
ParameterDefinitionMetadata
Name | Description | Value |
---|---|---|
description | Description of this parameter/resourceGroup. | string Constraints: Max length = |
displayName | DisplayName of this parameter/resourceGroup. | string Constraints: Max length = |
strongType | StrongType for UI to render rich experience during blueprint assignment. Supported strong types are resourceType, principalId and location. | string Constraints: Max length = |
ResourceGroupDefinition
Name | Description | Value |
---|---|---|
dependsOn | Artifacts which need to be deployed before this resource group. | string[] |
location | Location of this resourceGroup. Leave empty if the resource group location will be specified during the blueprint assignment. | string |
metadata | User-friendly properties for this resource group. | ParameterDefinitionMetadata |
name | Name of this resourceGroup. Leave empty if the resource group name will be specified during the blueprint assignment. | string |
tags | Tags to be assigned to this resource group. | ResourceGroupDefinitionTags |
ResourceGroupDefinitionTags
Name | Description | Value |
---|
SharedBlueprintPropertiesParameters
Name | Description | Value |
---|
SharedBlueprintPropertiesResourceGroups
Name | Description | Value |
---|