Create an Azure Cosmos DB account SQL API with autoscale
This template will create an Azure Cosmos account for Core (SQL) API, provisioned for two regions, a database, a container configured for autoscale throughput showing multiple indexing and policy options.
Below are the parameters which can be user configured in the parameters file or template including:
- Consistency Level: Select from one of the 5 consistency levels: Strong, Bounded Staleness, Session, Consistent Prefix, Eventual.
- Primary Region: Enter location for the primary write region.
- Secondary Region: Enter location for secondary read region.
- System Managed Failover: Select whether to enable system managed failover on the account.
- Database Name: Enter the database name for the account.
- Container Name: Enter the name for the container for the account.
- Autoscale Max Throughput: Enter the maximum RU/s autoscale throughput for the container (default and minimum is 1000).
Tags: Microsoft.DocumentDB/databaseAccounts, Microsoft.DocumentDB/databaseAccounts/sqlDatabases, Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers