Microsoft.Resources deployments 2016-02-01
- Article
-
-
For Bicep, consider using modules instead of this resource type.
Bicep resource definition
The deployments resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.Resources/deployments resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Resources/deployments@2016-02-01' = {
name: 'string'
properties: {
debugSetting: {
detailLevel: 'string'
}
mode: 'string'
parameters: any(Azure.Bicep.Types.Concrete.AnyType)
parametersLink: {
contentVersion: 'string'
uri: 'string'
}
template: any(Azure.Bicep.Types.Concrete.AnyType)
templateLink: {
contentVersion: 'string'
uri: 'string'
}
}
}
Property values
DebugSetting
Name |
Description |
Value |
detailLevel |
The debug detail level. |
string |
DeploymentPropertiesOrDeploymentPropertiesExtended
Name |
Description |
Value |
debugSetting |
The debug setting of the deployment. |
DebugSetting |
mode |
The deployment mode. |
'Complete' 'Incremental' (required) |
parameters |
Deployment parameters. It can be a JObject or a well formed JSON string. Use only one of Parameters or ParametersLink. |
any |
parametersLink |
The parameters URI. Use only one of Parameters or ParametersLink. |
ParametersLink |
template |
The template content. It can be a JObject or a well formed JSON string. Use only one of Template or TemplateLink. |
any |
templateLink |
The template URI. Use only one of Template or TemplateLink. |
TemplateLink |
Microsoft.Resources/deployments
ParametersLink
Name |
Description |
Value |
contentVersion |
If included it must match the ContentVersion in the template. |
string |
uri |
URI referencing the template. |
string (required) |
TemplateLink
Name |
Description |
Value |
contentVersion |
If included it must match the ContentVersion in the template. |
string |
uri |
URI referencing the template. |
string (required) |
ARM template resource definition
The deployments resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.Resources/deployments resource, add the following JSON to your template.
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2016-02-01",
"name": "string",
"properties": {
"debugSetting": {
"detailLevel": "string"
},
"mode": "string",
"parameters": {},
"parametersLink": {
"contentVersion": "string",
"uri": "string"
},
"template": {},
"templateLink": {
"contentVersion": "string",
"uri": "string"
}
}
}
Property values
DebugSetting
Name |
Description |
Value |
detailLevel |
The debug detail level. |
string |
DeploymentPropertiesOrDeploymentPropertiesExtended
Name |
Description |
Value |
debugSetting |
The debug setting of the deployment. |
DebugSetting |
mode |
The deployment mode. |
'Complete' 'Incremental' (required) |
parameters |
Deployment parameters. It can be a JObject or a well formed JSON string. Use only one of Parameters or ParametersLink. |
any |
parametersLink |
The parameters URI. Use only one of Parameters or ParametersLink. |
ParametersLink |
template |
The template content. It can be a JObject or a well formed JSON string. Use only one of Template or TemplateLink. |
any |
templateLink |
The template URI. Use only one of Template or TemplateLink. |
TemplateLink |
Microsoft.Resources/deployments
ParametersLink
Name |
Description |
Value |
contentVersion |
If included it must match the ContentVersion in the template. |
string |
uri |
URI referencing the template. |
string (required) |
TemplateLink
Name |
Description |
Value |
contentVersion |
If included it must match the ContentVersion in the template. |
string |
uri |
URI referencing the template. |
string (required) |
The deployments resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.Resources/deployments resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Resources/deployments@2016-02-01"
name = "string"
body = jsonencode({
properties = {
debugSetting = {
detailLevel = "string"
}
mode = "string"
parameters = ?
parametersLink = {
contentVersion = "string"
uri = "string"
}
template = ?
templateLink = {
contentVersion = "string"
uri = "string"
}
}
})
}
Property values
DebugSetting
Name |
Description |
Value |
detailLevel |
The debug detail level. |
string |
DeploymentPropertiesOrDeploymentPropertiesExtended
Name |
Description |
Value |
debugSetting |
The debug setting of the deployment. |
DebugSetting |
mode |
The deployment mode. |
'Complete' 'Incremental' (required) |
parameters |
Deployment parameters. It can be a JObject or a well formed JSON string. Use only one of Parameters or ParametersLink. |
any |
parametersLink |
The parameters URI. Use only one of Parameters or ParametersLink. |
ParametersLink |
template |
The template content. It can be a JObject or a well formed JSON string. Use only one of Template or TemplateLink. |
any |
templateLink |
The template URI. Use only one of Template or TemplateLink. |
TemplateLink |
Microsoft.Resources/deployments
ParametersLink
Name |
Description |
Value |
contentVersion |
If included it must match the ContentVersion in the template. |
string |
uri |
URI referencing the template. |
string (required) |
TemplateLink
Name |
Description |
Value |
contentVersion |
If included it must match the ContentVersion in the template. |
string |
uri |
URI referencing the template. |
string (required) |