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

Leave a Comment

All fields are required. Your email address will not be published.