Create an Azure Cosmos account for Table API with autoscale

Azure Public Test Date Azure Public Test Result

Azure US Gov Last Test Date Azure US Gov Last Test Result

Best Practice Check Cred Scan Check

Bicep Version

Deploy To Azure

Deploy To Azure Gov


This template will create an Azure Cosmos account for Table API, provisioned for two regions, then provision a table with autoscale throughput.

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.
  • Primary Region: Enter location for primary region.
  • Secondary Region: Enter location for secondary region.
  • System Managed Failover: Select whether to enable system managed failover on the account.
  • Table Name: Enter the table name for the account.
  • Autoscale Max Throughput: Enter the maximum autoscale RU/s for the table (default and minimum is 1000).

Tags: Microsoft.DocumentDB/databaseAccounts, Microsoft.DocumentDB/databaseAccounts/tables