Skip to content

Latest commit

 

History

History
 
 

101-cosmosdb-create

Create an Azure Cosmos DB account for Core (SQL) API, a database, and a container

   

   

   

##[error]D:_work\1\test\ci-scripts\Validate-ReadMe.ps1 : Readme is missing badge: https://azurequickstartsservice.blob.core.windows.net/badges/101-cosmosdb-create/FairfaxLastTestDate.svg

This template will create an Azure Cosmos account for Core (SQL) API, provisioned for two regions, then provision a database, a container with dedicated throughput showing multiple indexing options.

Tags : CosmosDB

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. Default is Session.
  • 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.
  • Container Name: Enter the name for the container with dedicated throughput.
  • Throughput: Enter the RU/s for the dedicated container (default is 400).