Microsoft.DocumentDB databaseAccounts/apis/keyspaces

Template format

To create a Microsoft.DocumentDB/databaseAccounts/apis/keyspaces resource, add the following JSON to the resources section of your template.

  "name": "string",
  "type": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces",
  "apiVersion": "2016-03-31",
  "properties": {
    "resource": {
      "id": "string"
    "options": {}
  "resources": []

Property values

The following tables describe the values you need to set in the schema.

Microsoft.DocumentDB/databaseAccounts/apis/keyspaces object

Name Type Required Value
name string Yes Cosmos DB keyspace name.
type enum Yes keyspaces

See Set name and type for child resources.
apiVersion enum Yes 2016-03-31
properties object Yes Properties to create and update Azure Cosmos DB Cassandra keyspace. - CassandraKeyspaceCreateUpdateProperties object
resources array No tables

CassandraKeyspaceCreateUpdateProperties object

Name Type Required Value
resource object Yes The standard JSON format of a Cassandra keyspace - CassandraKeyspaceResource object
options object Yes A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.

CassandraKeyspaceResource object

Name Type Required Value
id string Yes Name of the Cosmos DB Cassandra keyspace