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.
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.
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.
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.
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.
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.
any
templateLink
The URI of the template. Use either the templateLink property or the template property, but not both.
The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.
'LastSuccessful' 'SpecificDeployment'
ParametersLink
Name
Description
Value
contentVersion
If included, must match the ContentVersion in the template.
string
uri
The URI of the parameters file.
string (required)
TemplateLink
Name
Description
Value
contentVersion
If included, must match the ContentVersion in the template.
string
id
The resource id of a Template Spec. Use either the id or uri property, but not both.
string
queryString
The query string (for example, a SAS token) to be used with the templateLink URI.
string
relativePath
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
string
uri
The URI of the template to deploy. Use either the uri or id property, but not both.
string
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.
Resource format
To create a Microsoft.Resources/deployments resource, add the following JSON to your template.
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.
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.
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.
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.
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.
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.
any
templateLink
The URI of the template. Use either the templateLink property or the template property, but not both.
The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.
'LastSuccessful' 'SpecificDeployment'
ParametersLink
Name
Description
Value
contentVersion
If included, must match the ContentVersion in the template.
string
uri
The URI of the parameters file.
string (required)
TemplateLink
Name
Description
Value
contentVersion
If included, must match the ContentVersion in the template.
string
id
The resource id of a Template Spec. Use either the id or uri property, but not both.
string
queryString
The query string (for example, a SAS token) to be used with the templateLink URI.
string
relativePath
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
string
uri
The URI of the template to deploy. Use either the uri or id property, but not both.
string
Terraform (AzAPI provider) 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.
Resource format
To create a Microsoft.Resources/deployments resource, add the following Terraform to your template.
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.
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.
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.
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.
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.
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.
any
templateLink
The URI of the template. Use either the templateLink property or the template property, but not both.
The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.
'LastSuccessful' 'SpecificDeployment'
ParametersLink
Name
Description
Value
contentVersion
If included, must match the ContentVersion in the template.
string
uri
The URI of the parameters file.
string (required)
TemplateLink
Name
Description
Value
contentVersion
If included, must match the ContentVersion in the template.
string
id
The resource id of a Template Spec. Use either the id or uri property, but not both.
string
queryString
The query string (for example, a SAS token) to be used with the templateLink URI.
string
relativePath
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
string
uri
The URI of the template to deploy. Use either the uri or id property, but not both.