Migrating between dedicated and shared throughput in Cosmos cannot be done with Bicep or ARM templates. It can only be done using PowerShell, CLI, Azure Management SDK or REST API.
Here is Azure CLI command as an example.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am not able to setup my CosmosDb account level througput as code with bicep. It is not available as stated here: https://learn.microsoft.com/en-us/azure/cosmos-db/table/manage-with-bicep
To be honest, this isn't a tip but a missing implementation.
It is impossible to create a CosmosDb account with tables without manual intervention. And you can only set the shared throughput as long no table was created yet.
Please guide me how to configure a CosmosDb Account for shared throughput without manual intervention.
Migrating between dedicated and shared throughput in Cosmos cannot be done with Bicep or ARM templates. It can only be done using PowerShell, CLI, Azure Management SDK or REST API.
Here is Azure CLI command as an example.