InternalServerError when provisioning CosmosDB Mongo Database with Autoscaling through REST API
Hello,
I want to provision a CosmosDB Account that contains a database with autoscaling throughput by using this API:
https://learn.microsoft.com/en-us/rest/api/cosmos-db-resource-provider/2021-04-01-preview/mongo-db-resources/create-update-mongo-db-database
I am using ansible for creation of the account by using the azure.azcollection.azure_rm_cosmosdbaccount
module.
The body of my REST request looks like this:
"body": {
"location": "westeurope",
"properties": {
"options": {
"autoscaleSettings": {
"maxThroughput": 4000
}
},
"resource": {
"id": "database"
}
}
},
Operation name
Write MongoDB database
Time stamp
Tue Mar 08 2022 14:13:52 GMT+0100 (Central European Standard Time)
Event initiated by
payAsYouGoApplication
Error code
ResourceOperationFailure
Message
The resource operation completed with terminal provisioning state 'Failed'.
Previously I did get meaningful error messages, now I am kind of at a loss.
Thanks for your help