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 be between 3 and 50 characters.

Create Or Update

Creates or updates an Azure Cosmos DB database account.

Create Update Cassandra Keyspace

Create or update an Azure Cosmos DB Cassandra keyspace

Create Update Cassandra Table

Create or update an Azure Cosmos DB Cassandra Table

Create Update Gremlin Database

Create or update an Azure Cosmos DB Gremlin database

Create Update Gremlin Graph

Create or update an Azure Cosmos DB Gremlin graph

Create Update Mongo DB Collection

Create or update an Azure Cosmos DB MongoDB Collection

Create Update Mongo DB Database

Create or updates Azure Cosmos DB MongoDB database

Create Update Sql Container

Create or update an Azure Cosmos DB SQL container

Create Update Sql Database

Create or update an Azure Cosmos DB SQL database

Create Update Table

Create or update an Azure Cosmos DB Table

Delete

Deletes an existing Azure Cosmos DB database account.

Delete Cassandra Keyspace

Deletes an existing Azure Cosmos DB Cassandra keyspace.

Delete Cassandra Table

Deletes an existing Azure Cosmos DB Cassandra table.

Delete Gremlin Database

Deletes an existing Azure Cosmos DB Gremlin database.

Delete Gremlin Graph

Deletes an existing Azure Cosmos DB Gremlin graph.

Delete Mongo DB Collection

Deletes an existing Azure Cosmos DB MongoDB Collection.

Delete Mongo DB Database

Deletes an existing Azure Cosmos DB MongoDB database.

Delete Sql Container

Deletes an existing Azure Cosmos DB SQL container.

Delete Sql Database

Deletes an existing Azure Cosmos DB SQL database.

Delete Table

Deletes an existing Azure Cosmos DB Table.

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 priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.

Get

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

Get Cassandra Keyspace

Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name.

Get Cassandra Keyspace Throughput

Gets the RUs per second of the Cassandra Keyspace under an existing Azure Cosmos DB database account with the provided name.

Get Cassandra Table

Gets the Cassandra table under an existing Azure Cosmos DB database account.

Get Cassandra Table Throughput

Gets the RUs per second of the Cassandra table under an existing Azure Cosmos DB database account with the provided name.

Get Gremlin Database

Gets the Gremlin databases under an existing Azure Cosmos DB database account with the provided name.

Get Gremlin Database Throughput

Gets the RUs per second of the Gremlin database under an existing Azure Cosmos DB database account with the provided name.

Get Gremlin Graph

Gets the Gremlin graph under an existing Azure Cosmos DB database account.

Get Gremlin Graph Throughput

Gets the Gremlin graph throughput under an existing Azure Cosmos DB database account with the provided name.

Get Mongo DB Collection

Gets the MongoDB collection under an existing Azure Cosmos DB database account.

Get Mongo DB Collection Throughput

Gets the RUs per second of the MongoDB collection under an existing Azure Cosmos DB database account with the provided name.

Get Mongo DB Database

Gets the MongoDB databases under an existing Azure Cosmos DB database account with the provided name.

Get Mongo DB Database Throughput

Gets the RUs per second of the MongoDB database under an existing Azure Cosmos DB database account with the provided name.

Get Read Only Keys

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

Get Sql Container

Gets the SQL container under an existing Azure Cosmos DB database account.

Get Sql Container Throughput

Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account.

Get Sql Database

Gets the SQL database under an existing Azure Cosmos DB database account with the provided name.

Get Sql Database Throughput

Gets the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the provided name.

Get Table

Gets the Tables under an existing Azure Cosmos DB database account with the provided name.

Get Table Throughput

Gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name.

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 Cassandra Keyspaces

Lists the Cassandra keyspaces under an existing Azure Cosmos DB database account.

List Cassandra Tables

Lists the Cassandra table under an existing Azure Cosmos DB database account.

List Connection Strings

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

List Gremlin Databases

Lists the Gremlin databases under an existing Azure Cosmos DB database account.

List Gremlin Graphs

Lists the Gremlin graph under an existing 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 Mongo DB Collections

Lists the MongoDB collection under an existing Azure Cosmos DB database account.

List Mongo DB Databases

Lists the MongoDB databases under an existing Azure Cosmos DB database account.

List Read Only Keys

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

List Sql Containers

Lists the SQL container under an existing Azure Cosmos DB database account.

List Sql Databases

Lists the SQL databases under an existing Azure Cosmos DB database account.

List Tables

Lists the Tables under an existing 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.

Patch

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

Regenerate Key

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

Update Cassandra Keyspace Throughput

Update RUs per second of an Azure Cosmos DB Cassandra Keyspace

Update Cassandra Table Throughput

Update RUs per second of an Azure Cosmos DB Cassandra table

Update Gremlin Database Throughput

Update RUs per second of an Azure Cosmos DB Gremlin database

Update Gremlin Graph Throughput

Update RUs per second of an Azure Cosmos DB Gremlin graph

Update Mongo DB Collection Throughput

Update the RUs per second of an Azure Cosmos DB MongoDB collection

Update Mongo DB Database Throughput

Update RUs per second of the an Azure Cosmos DB MongoDB database

Update Sql Container Throughput

Update RUs per second of an Azure Cosmos DB SQL container

Update Sql Database Throughput

Update RUs per second of an Azure Cosmos DB SQL database

Update Table Throughput

Update RUs per second of an Azure Cosmos DB Table