Create a collection running the following command.

We use the id as the partition key and configure 100 request units per second (RU/s).

az cosmosdb sql container create --resource-group {RESOURCE_GROUP} --account-name {COSMOS_NAME} --database-name {DATABASE_NAME} --name {COLLECTION_NAME} --partition-key-path /id --throughput 100

Comments