Azure Resource Manager templates for Azure Cosmos DB

The following tables include links to Azure Resource Manager templates for Azure Cosmos DB:

SQL (Core) API

Template Description
Create an Azure Cosmos account, database, container This template creates a SQL (Core) API account in two regions with multi-master enabled. The Azure Cosmos account will have two containers that share database-level throughput.
Update throughput (RU/s) for a database This template updates the throughput for a database in a SQL (Core) API account.
Update throughput (RU/s) for a container This template updates the throughput for a container in a SQL (Core) API account.

MongoDB API

Template Description
Create an Azure Cosmos account, database, collection This template creates an account using Azure Cosmos DB API for MongoDB in two regions with multi-master enabled. The Azure Cosmos account will have two containers that share database-level throughput.
Update throughput (RU/s) for a database This template updates the throughput for a database in a MongoDB API account.
Update throughput (RU/s) for a collection This template updates the throughput for a container in a MongoDB API account.

Cassandra API

Template Description
Create an Azure Cosmos account, keyspace, table This template creates a Cassandra API account in two regions with multi-master enabled. The Azure Cosmos account will have two tables that share keyspace-level throughput.
Update throughput (RU/s) for a keyspace This template updates the throughput for a keyspace in a Cassandra API account.
Update throughput (RU/s) for a table This template updates the throughput for a table in a Cassandra API account.

Gremlin API

Template Description
Create an Azure Cosmos account, database, graph This template creates a Gremlin API account in two regions with multi-master enabled. The Azure Cosmos account will have two graphs that share database-level throughput.
Update throughput (RU/s) for a database This template updates the throughput for a database in a Gremlin API account.
Update throughput (RU/s) for a graph This template updates the throughput for a graph in a Gremlin API account.

Table API

Template Description
Create an Azure Cosmos account, table This template creates a Table API account in two regions with multi-master enabled. The Azure Cosmos account will have a single table.
Update throughput (RU/s) for a table This template updates the throughput for a table in a Table API account.

Tip

To enable shared throughput when using Table API, enable account-level throughput in the Azure Portal.

See ARM reference for Azure Cosmos DB page for the reference documentation.