Microsoft.Resources deployments 2016-02-01

Remarks

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.

Resource format

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

Name Description Value
name The resource name string (required)
properties The deployment properties. DeploymentPropertiesOrDeploymentPropertiesExtended
Name Description Value
contentVersion If included it must match the ContentVersion in the template. string
uri URI referencing the template. string (required)
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.

Resource format

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

Name Description Value
apiVersion The api version '2016-02-01'
name The resource name string (required)
properties The deployment properties. DeploymentPropertiesOrDeploymentPropertiesExtended
type The resource type 'Microsoft.Resources/deployments'
Name Description Value
contentVersion If included it must match the ContentVersion in the template. string
uri URI referencing the template. string (required)
Name Description Value
contentVersion If included it must match the ContentVersion in the template. string
uri URI referencing the template. string (required)

Terraform (AzAPI provider) resource definition

The deployments resource type can be deployed with operations that target:

  • Resource groups

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.

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

Name Description Value
name The resource name string (required)
properties The deployment properties. DeploymentPropertiesOrDeploymentPropertiesExtended
type The resource type "Microsoft.Resources/deployments@2016-02-01"
Name Description Value
contentVersion If included it must match the ContentVersion in the template. string
uri URI referencing the template. string (required)
Name Description Value
contentVersion If included it must match the ContentVersion in the template. string
uri URI referencing the template. string (required)