Create Azure Cosmos with SQL API and multiple containers
This template will create Azure Cosmos account for Core (SQL) API, a database and multiple containers with name and paritionKey as specified. Once deployed you can keep adding containers, by adding the name and partitionKey to the containers array.
Below are the parameters which can be user configured in the parameters file:
- accountName: Enter the database name for the account.
- databaseName: Enter the database name for the account.
- containers: List of containers specifying the name and the partitionKey for each of them
Tags: Microsoft.DocumentDB/databaseAccounts, Microsoft.DocumentDB/databaseAccounts/apis/databases, Microsoft.DocumentDb/databaseAccounts/apis/databases/containers