Microsoft.DocumentDB locations 2024-02-15-preview

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@2024-02-15-preview' = {
  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": "2024-02-15-preview",
  "name": "string"
}

Property values

Microsoft.DocumentDB/locations

Name Description Value
apiVersion The api version '2024-02-15-preview'
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@2024-02-15-preview"
  name = "string"
}

Property values

Microsoft.DocumentDB/locations

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