Skip to content

Files

Latest commit

b9cb6e6 · Oct 15, 2019

History

History
This branch is 17073 commits behind Azure/azure-quickstart-templates:master.

101-cosmosdb-sql-container-sprocs

Create an Azure Cosmos DB SQL API container with stored procedure, trigger and user defined function

   

   

   

This template creates an Azure Cosmos account for SQL (Core) 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.
  • 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.
  • Throughput: Enter the Ru/s for the container (default is 400).