Skip to content

Latest commit

 

History

History

101-cosmosdb-create-multi-region-account

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Create a Multi-Region Azure Cosmos DB Database Account

This template will create an Azure Cosmos DB Database Account with the two specifed regions, the provided name, and the Offer Type set to Standard.

By not setting the optional Default Consistency Level parameter, the account will be created with the default consistency level of Session. To set the Default Consistency Level to another value, see 101-create-documentdb-account-consistencypolicy.

This template creates a database account with only one read region. To create the database account with more than one read region, add it to the 'locations' array in the azuredeploy.json file. Failover priority values must be unique and greater than 0 for read regions.