get | SELECT | accountName, resourceGroupName, subscriptionId | Retrieves the properties of an existing Azure Cosmos DB database account. |
list | SELECT | subscriptionId | Lists all the Azure Cosmos DB database accounts available under the subscription. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Lists all the Azure Cosmos DB database accounts available under the given resource group. |
create_or_update | INSERT | accountName, resourceGroupName, subscriptionId, data__properties | Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account. |
delete | DELETE | accountName, resourceGroupName, subscriptionId | Deletes an existing Azure Cosmos DB database account. |
_list | EXEC | subscriptionId | Lists all the Azure Cosmos DB database accounts available under the subscription. |
_list_by_resource_group | EXEC | resourceGroupName, subscriptionId | Lists all the Azure Cosmos DB database accounts available under the given resource group. |
check_name_exists | EXEC | accountName | Checks that the Azure Cosmos DB account name already exists. A valid account name may contain only lowercase letters, numbers, and the '-' character, and must be between 3 and 50 characters. |
failover_priority_change | EXEC | accountName, resourceGroupName, subscriptionId, data__failoverPolicies | Changes the failover priority for the Azure Cosmos DB database account. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. |
offline_region | EXEC | accountName, resourceGroupName, subscriptionId, data__region | Offline the specified region for the specified Azure Cosmos DB database account. |
online_region | EXEC | accountName, resourceGroupName, subscriptionId, data__region | Online the specified region for the specified Azure Cosmos DB database account. |
regenerate_key | EXEC | accountName, resourceGroupName, subscriptionId, data__keyKind | Regenerates an access key for the specified Azure Cosmos DB database account. |
update | EXEC | accountName, resourceGroupName, subscriptionId | Updates the properties of an existing Azure Cosmos DB database account. |