This template creates an Azure Cosmos account for MongoDB API, provisioned for two regions, then provision a database with throughput shared across 2 collections.
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.
- Throughput: Enter the RU/s to share across the 2 containers (default is 400).
- Server Version: Select the MongoDB server version (default is 3.6).
- Collection 1 Name: Enter the name for the first collection.
- Collection 2 Name: Enter the name for the second collection.