Microsoft.DocumentDB databaseAccounts/apis/tables/settings 2016-03-31

Bicep resource definition

The databaseAccounts/apis/tables/settings 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/databaseAccounts/apis/tables/settings resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.DocumentDB/databaseAccounts/apis/tables/settings@2016-03-31' = {
  name: 'throughput'
  parent: resourceSymbolicName
  properties: {
    resource: {
      throughput: int
    }
  }
}

Property values

databaseAccounts/apis/tables/settings

Name Description Value
name The resource name

See how to set names and types for child resources in Bicep.
'throughput'
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: tables
properties Properties to update Azure Cosmos DB resource throughput. ThroughputUpdatePropertiesOrThroughputProperties (required)

ThroughputUpdatePropertiesOrThroughputProperties

Name Description Value
resource The standard JSON format of a resource throughput ThroughputResource (required)

ThroughputResource

Name Description Value
throughput Value of the Cosmos DB resource throughput int (required)

ARM template resource definition

The databaseAccounts/apis/tables/settings 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/databaseAccounts/apis/tables/settings resource, add the following JSON to your template.

{
  "type": "Microsoft.DocumentDB/databaseAccounts/apis/tables/settings",
  "apiVersion": "2016-03-31",
  "name": "throughput",
  "properties": {
    "resource": {
      "throughput": "int"
    }
  }
}

Property values

databaseAccounts/apis/tables/settings

Name Description Value
type The resource type 'Microsoft.DocumentDB/databaseAccounts/apis/tables/settings'
apiVersion The resource api version '2016-03-31'
name The resource name

See how to set names and types for child resources in JSON ARM templates.
'throughput'
properties Properties to update Azure Cosmos DB resource throughput. ThroughputUpdatePropertiesOrThroughputProperties (required)

ThroughputUpdatePropertiesOrThroughputProperties

Name Description Value
resource The standard JSON format of a resource throughput ThroughputResource (required)

ThroughputResource

Name Description Value
throughput Value of the Cosmos DB resource throughput int (required)

Terraform (AzAPI provider) resource definition

The databaseAccounts/apis/tables/settings 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.DocumentDB/databaseAccounts/apis/tables/settings resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DocumentDB/databaseAccounts/apis/tables/settings@2016-03-31"
  name = "throughput"
  parent_id = "string"
  body = jsonencode({
    properties = {
      resource = {
        throughput = int
      }
    }
  })
}

Property values

databaseAccounts/apis/tables/settings

Name Description Value
type The resource type "Microsoft.DocumentDB/databaseAccounts/apis/tables/settings@2016-03-31"
name The resource name "throughput"
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: tables
properties Properties to update Azure Cosmos DB resource throughput. ThroughputUpdatePropertiesOrThroughputProperties (required)

ThroughputUpdatePropertiesOrThroughputProperties

Name Description Value
resource The standard JSON format of a resource throughput ThroughputResource (required)

ThroughputResource

Name Description Value
throughput Value of the Cosmos DB resource throughput int (required)