Microsoft.DocumentDB databaseAccounts/apis/keyspaces/tables 2015-11-06

The databaseAccounts/apis/keyspaces/tables resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

To create a Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables@2015-11-06' = {
  name: 'string'
  properties: {
    options: {}
    resource: {
      defaultTtl: int
      id: 'string'
      schema: {
        clusterKeys: [
          {
            name: 'string'
            orderBy: 'string'
          }
        ]
        columns: [
          {
            name: 'string'
            type: 'string'
          }
        ]
        partitionKeys: [
          {
            name: 'string'
          }
        ]
      }
    }
  }
}

Property values

databaseAccounts/apis/keyspaces/tables

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2015-11-06'
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
string (required)
properties The properties of an Azure Cosmos DB Cassandra table CassandraTableCreateUpdateProperties (required)

CassandraTableCreateUpdateProperties

Name Description Value
options object (required)
resource CassandraTableResource (required)

CassandraTableResource

Name Description Value
defaultTtl int
id string (required)
schema CassandraSchema

CassandraSchema

Name Description Value
clusterKeys ClusterKey[]
columns Column[]
partitionKeys CassandraPartitionKey[]

ClusterKey

Name Description Value
name string
orderBy string

Column

Name Description Value
name string
type string

CassandraPartitionKey

Name Description Value
name string