Home > Mobile >  where to find a list of configurable capabilities of azure cosmos db account?
where to find a list of configurable capabilities of azure cosmos db account?

Time:03-22

I am trying to enable server side retry in a cosmos db (v4.0) account features. It can be easily done via az cli and azure portal. However, I am not sure how to do it via ARM template, as I do not know what the list of capabilities are allowed values when configuring capabilities. Alternatively, can this be done using the old powershell module AzureRM (not az module)?

CodePudding user response:

To enable this feature, add the following JSON in the capabilities node in your ARM template:

{
    "name": "DisableRateLimitingResponses"
}

so your capabilities node would look something like:

"capabilities": [
    {
        "name": "EnableMongo"
    },
    {
        "name": "DisableRateLimitingResponses"
    }
],

To have this feature disabled, do not include the above mentioned JSON in your capabilities node.

  • Related