Azure cosmos db account
Capacity mode
Provisioned throughput
Serverless
https://learn.microsoft.com/en-us/azure/cosmos-db/throughput-serverless
You need to add a container named 'items' to the Cosmos DB, and add an item to it. You can use the
JSON file in the resources of this task for the item details. Create a new database named 'myStore'
for this container, and remember that a database is a collection of containers.
Expand the myStore database and click the items container. (If you're shown a pop-up window with
a training video, close it.)
In the Data Explorer toolbar, click New Item.
https://parveensingh.com/cosmos-db-parition-keys/
Make sure the data is updated with Cosmos DB's fields.
Deploying app from cloud shell (Upload zip)
az webapp deploy -g Regroup_7ofJrvlxG6IzDUu9r -n webapp5131 --src-path
MyStoreWebApp.zip
Under App service setting Environment variable add URI and key
Test the app
In each consistency level, we measure the consistency and availability
supported by it. Here, consistency means that every read operation should be
current with the latest writes and availability means that every request
should get a response.
https://www.c-sharpcorner.com/article/diving-deep-into-different-consistency-levels-of-azure-
cosmos-db/