Share via


Database Accounts

Operations

Check Name Exists

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 b...

Create Or Update

Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account.

Delete

Deletes an existing Azure Cosmos DB database account.

Failover Priority Change

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 prio...

Get

Retrieves the properties of an existing Azure Cosmos DB database account.

Get Read Only Keys

Lists the read-only access keys for the specified Azure Cosmos DB database account.

List

Lists all the Azure Cosmos DB database accounts available under the subscription.

List By Resource Group

Lists all the Azure Cosmos DB database accounts available under the given resource group.

List Connection Strings

Lists the connection strings for the specified Azure Cosmos DB database account.

List Keys

Lists the access keys for the specified Azure Cosmos DB database account.

List Metric Definitions

Retrieves metric definitions for the given database account.

List Metrics

Retrieves the metrics determined by the given filter for the given database account.

List Read Only Keys

Lists the read-only access keys for the specified Azure Cosmos DB database account.

List Usages

Retrieves the usages (most recent data) for the given database account.

Offline Region

Offline the specified region for the specified Azure Cosmos DB database account.

Online Region

Online the specified region for the specified Azure Cosmos DB database account.

Regenerate Key

Regenerates an access key for the specified Azure Cosmos DB database account.

Update

Updates the properties of an existing Azure Cosmos DB database account.