Create Azure Cosmos DB Core (SQL) API stored procedures

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 US Gov Visualize

This template creates an Azure Cosmos account for Core (SQL) API and a container with a stored procedure, trigger and user defined function.

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.
  • 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.
  • Throughput: Enter the RU/s for the container (default is 400).

Tags: Microsoft.DocumentDB/databaseAccounts, Microsoft.DocumentDB/databaseAccounts/sqlDatabases, Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers, Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures, Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers, Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions