Microsoft.DocumentDB locations 2021-10-15

Bicep resource definition

The locations 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.DocumentDB/locations resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.DocumentDB/locations@2021-10-15' = {
  name: 'string'
}

Property values

Microsoft.DocumentDB/locations

Name Description Value
name The resource name string (required)

ARM template resource definition

The locations 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.DocumentDB/locations resource, add the following JSON to your template.

{
  "type": "Microsoft.DocumentDB/locations",
  "apiVersion": "2021-10-15",
  "name": "string"
}

Property values

Microsoft.DocumentDB/locations

Name Description Value
apiVersion The api version '2021-10-15'
name The resource name string (required)
type The resource type 'Microsoft.DocumentDB/locations'

Terraform (AzAPI provider) resource definition

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

  • Subscription

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.DocumentDB/locations resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DocumentDB/locations@2021-10-15"
  name = "string"
}

Property values

Microsoft.DocumentDB/locations

Name Description Value
name The resource name string (required)
type The resource type "Microsoft.DocumentDB/locations@2021-10-15"