Skip to content

Latest commit

 

History

History

101-cosmosdb-sql

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Create an Azure Cosmos DB containers for Core (SQL) API with two containers

This template will create an Azure Cosmos account for Core (SQL) API, provisioned for two regions, then provision a database with throughput shared across 2 containers.

Below are the parameters which can be user configured in the parameters file including:

  • Consistency Level: Select from one of the 5 consistency levels: Strong, Bounded Staleness, Session, Consistent Prefix, Eventual.
  • Multi-Region: Enter locations for primary and secondary regions.
  • Multi-Master: Select whether to enable multi-master support making both regions fully writable.
  • Automatic Failover: Select whether to enable automatic failover on the account (Ignored when Multi-Master is enabled).
  • Database Name: Enter the database name for the account.
  • Throughput: Enter the Ru/s to share across the 2 containers (default is 400).
  • Container 1 Name: Enter the name for the first container.
  • Container 2 Name: Enter the name for the second container.