DocumentDB general availability (now part of Azure Cosmos DB)
Further information can be found in the Azure Cosmos DB: REST API Reference
Azure Cosmos DB Database Service Resource Provider REST API
Lists all of the available Cosmos DB Resource Provider operations.
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
Name | Data Type | Description |
---|---|---|
OperationListResult
|
Result of the request to list Resource Provider operations. It contains a list of operations and a URL link to get the next set of results. |
nextLink
|
string |
URL to get the next set of operation list results if there are any. |
||||||||||
value
|
array [Operation] |
List of operations supported by the Resource Provider. |
||||||||||
Properties
|
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.
Name | Data Type | Description |
---|---|---|
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
Lists all the Azure Cosmos DB database accounts available under the subscription.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
Name | Data Type | Description |
---|---|---|
DatabaseAccountsListResult
|
The List operation response, that contains the database accounts and their properties. |
value
|
array [DatabaseAccount] |
List of database account and their properties. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Properties
|
Retrieves metric definitions for the given collection.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
databaseRid
|
string |
Cosmos DB database rid. |
collectionRid
|
string |
Cosmos DB collection rid. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
Name | Data Type | Description |
---|---|---|
MetricDefinitionsListResult
|
The response to a list metric definitions request. |
value
|
array [MetricDefinition] |
The list of metric definitions for the account. |
|||||||||||||||||||
Properties
|
Retrieves the metrics determined by the given filter for the given database account and collection.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
databaseRid
|
string |
Cosmos DB database rid. |
collectionRid
|
string |
Cosmos DB collection rid. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
$filter
|
string |
An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq. |
Name | Data Type | Description |
---|---|---|
MetricListResult
|
The response to a list metrics request. |
value
|
array [Metric] |
The list of metrics for the account. |
||||||||||||||||||||||
Properties
|
Retrieves the metrics determined by the given filter for the given partition key range id.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
databaseRid
|
string |
Cosmos DB database rid. |
collectionRid
|
string |
Cosmos DB collection rid. |
partitionKeyRangeId
|
string |
Partition Key Range Id for which to get data. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
$filter
|
string |
An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq. |
Name | Data Type | Description |
---|---|---|
PartitionMetricListResult
|
The response to a list partition metrics request. |
value
|
array [PartitionMetric] |
The list of partition-level metrics for the account. |
|||||||||||||||||||||||||||||||||||||||||||||||||
Properties
Extends
Metric
Metric data Properties
|
Retrieves the metrics determined by the given filter for the given collection, split by partition.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
databaseRid
|
string |
Cosmos DB database rid. |
collectionRid
|
string |
Cosmos DB collection rid. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
$filter
|
string |
An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq. |
Name | Data Type | Description |
---|---|---|
PartitionMetricListResult
|
The response to a list partition metrics request. |
value
|
array [PartitionMetric] |
The list of partition-level metrics for the account. |
|||||||||||||||||||||||||||||||||||||||||||||||||
Properties
Extends
Metric
Metric data Properties
|
Retrieves the usages (most recent storage data) for the given collection, split by partition.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
databaseRid
|
string |
Cosmos DB database rid. |
collectionRid
|
string |
Cosmos DB collection rid. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
$filter
|
string |
An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of multiple names). |
Name | Data Type | Description |
---|---|---|
PartitionUsagesResult
|
The response to a list partition level usage request. |
value
|
array [PartitionUsage] |
The list of partition-level usages for the database. A usage is a point in time metric |
|||||||||||||||||||||||||||||||||||||||||||
Properties
Extends
Usage
The usage data for a usage request. Properties
|
Retrieves the usages (most recent storage data) for the given collection.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
databaseRid
|
string |
Cosmos DB database rid. |
collectionRid
|
string |
Cosmos DB collection rid. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
$filter
|
string |
An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of multiple names). |
Name | Data Type | Description |
---|---|---|
UsagesResult
|
The response to a list usage request. |
value
|
array [Usage] |
The list of usages for the database. A usage is a point in time metric |
|||||||||||||||||||
Properties
|
Retrieves metric definitions for the given database.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
databaseRid
|
string |
Cosmos DB database rid. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
Name | Data Type | Description |
---|---|---|
MetricDefinitionsListResult
|
The response to a list metric definitions request. |
value
|
array [MetricDefinition] |
The list of metric definitions for the account. |
|||||||||||||||||||
Properties
|
Retrieves the metrics determined by the given filter for the given database account and database.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
databaseRid
|
string |
Cosmos DB database rid. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
$filter
|
string |
An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq. |
Name | Data Type | Description |
---|---|---|
MetricListResult
|
The response to a list metrics request. |
value
|
array [Metric] |
The list of metrics for the account. |
||||||||||||||||||||||
Properties
|
Retrieves the usages (most recent data) for the given database.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
databaseRid
|
string |
Cosmos DB database rid. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
$filter
|
string |
An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of multiple names). |
Name | Data Type | Description |
---|---|---|
UsagesResult
|
The response to a list usage request. |
value
|
array [Usage] |
The list of usages for the database. A usage is a point in time metric |
|||||||||||||||||||
Properties
|
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.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
Name | Data Type | Description |
---|---|---|
FailoverPolicies
|
The list of new failover policies for the failover priority change. |
failoverPolicies
|
array [FailoverPolicy] |
List of failover policies. |
|||||||||||||
Properties
|
Lists the connection strings for the specified Azure Cosmos DB database account.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
Name | Data Type | Description |
---|---|---|
DatabaseAccountListConnectionStringsResult
|
The connection strings for the given database account. |
connectionStrings
|
array [DatabaseAccountConnectionString] |
An array that contains the connection strings for the Cosmos DB account. |
||||||||||
Properties
|
Lists the access keys for the specified Azure Cosmos DB database account.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
Name | Data Type | Description |
---|---|---|
DatabaseAccountListKeysResult
|
The access keys for the given database account. |
primaryMasterKey
|
string Read-only |
Base 64 encoded value of the primary read-write key. |
||||||||||
properties
|
DatabaseAccountListReadOnlyKeysResult | |||||||||||
Properties
|
||||||||||||
secondaryMasterKey
|
string Read-only |
Base 64 encoded value of the secondary read-write key. |
Retrieves metric definitions for the given database account.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
Name | Data Type | Description |
---|---|---|
MetricDefinitionsListResult
|
The response to a list metric definitions request. |
value
|
array [MetricDefinition] |
The list of metric definitions for the account. |
|||||||||||||||||||
Properties
|
Retrieves the metrics determined by the given filter for the given database account.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
$filter
|
string |
An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq. |
Name | Data Type | Description |
---|---|---|
MetricListResult
|
The response to a list metrics request. |
value
|
array [Metric] |
The list of metrics for the account. |
||||||||||||||||||||||
Properties
|
Offline the specified region for the specified Azure Cosmos DB database account.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
Name | Data Type | Description |
---|---|---|
RegionForOnlineOffline
|
Cosmos DB region to online or offline. |
region
|
string |
Cosmos DB region, with spaces between words and each word capitalized. |
Name | Data Type | Description |
---|---|---|
ErrorResponse
|
Error Response. |
code
|
string |
Error code. |
message
|
string |
Error message indicating why the operation failed. |
Online the specified region for the specified Azure Cosmos DB database account.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
Name | Data Type | Description |
---|---|---|
RegionForOnlineOffline
|
Cosmos DB region to online or offline. |
region
|
string |
Cosmos DB region, with spaces between words and each word capitalized. |
Name | Data Type | Description |
---|---|---|
ErrorResponse
|
Error Response. |
code
|
string |
Error code. |
message
|
string |
Error message indicating why the operation failed. |
Retrieves the metrics determined by the given filter for the given database account. This url is only for PBS and Replication Latency data
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
$filter
|
string |
An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq. |
Name | Data Type | Description |
---|---|---|
PercentileMetricListResult
|
The response to a list percentile metrics request. |
value
|
array [PercentileMetric] |
The list of percentile metrics for the account. |
||||||||||||||||||||||
Properties
|
Lists the read-only access keys for the specified Azure Cosmos DB database account.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
Name | Data Type | Description |
---|---|---|
DatabaseAccountListReadOnlyKeysResult
|
The read-only access keys for the given database account. |
primaryReadonlyMasterKey
|
string Read-only |
Base 64 encoded value of the primary read-only key. |
secondaryReadonlyMasterKey
|
string Read-only |
Base 64 encoded value of the secondary read-only key. |
Lists the read-only access keys for the specified Azure Cosmos DB database account.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
Name | Data Type | Description |
---|---|---|
DatabaseAccountListReadOnlyKeysResult
|
The read-only access keys for the given database account. |
primaryReadonlyMasterKey
|
string Read-only |
Base 64 encoded value of the primary read-only key. |
secondaryReadonlyMasterKey
|
string Read-only |
Base 64 encoded value of the secondary read-only key. |
Regenerates an access key for the specified Azure Cosmos DB database account.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
Name | Data Type | Description |
---|---|---|
DatabaseAccountRegenerateKeyParameters
|
object |
Parameters to regenerate the keys within the database account. |
keyKind
|
string Allowed values: - primary - secondary - primaryReadonly - secondaryReadonly |
The access key to regenerate. |
Retrieves the metrics determined by the given filter for the given database account, collection and region.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
region
|
string |
Cosmos DB region, with spaces between words and each word capitalized. |
databaseRid
|
string |
Cosmos DB database rid. |
collectionRid
|
string |
Cosmos DB collection rid. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
$filter
|
string |
An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq. |
Name | Data Type | Description |
---|---|---|
MetricListResult
|
The response to a list metrics request. |
value
|
array [Metric] |
The list of metrics for the account. |
||||||||||||||||||||||
Properties
|
Retrieves the metrics determined by the given filter for the given partition key range id and region.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
region
|
string |
Cosmos DB region, with spaces between words and each word capitalized. |
databaseRid
|
string |
Cosmos DB database rid. |
collectionRid
|
string |
Cosmos DB collection rid. |
partitionKeyRangeId
|
string |
Partition Key Range Id for which to get data. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
$filter
|
string |
An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq. |
Name | Data Type | Description |
---|---|---|
PartitionMetricListResult
|
The response to a list partition metrics request. |
value
|
array [PartitionMetric] |
The list of partition-level metrics for the account. |
|||||||||||||||||||||||||||||||||||||||||||||||||
Properties
Extends
Metric
Metric data Properties
|
Retrieves the metrics determined by the given filter for the given collection and region, split by partition.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
region
|
string |
Cosmos DB region, with spaces between words and each word capitalized. |
databaseRid
|
string |
Cosmos DB database rid. |
collectionRid
|
string |
Cosmos DB collection rid. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
$filter
|
string |
An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq. |
Name | Data Type | Description |
---|---|---|
PartitionMetricListResult
|
The response to a list partition metrics request. |
value
|
array [PartitionMetric] |
The list of partition-level metrics for the account. |
|||||||||||||||||||||||||||||||||||||||||||||||||
Properties
Extends
Metric
Metric data Properties
|
Retrieves the metrics determined by the given filter for the given database account and region.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
region
|
string |
Cosmos DB region, with spaces between words and each word capitalized. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
$filter
|
string |
An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq. |
Name | Data Type | Description |
---|---|---|
MetricListResult
|
The response to a list metrics request. |
value
|
array [Metric] |
The list of metrics for the account. |
||||||||||||||||||||||
Properties
|
Retrieves the metrics determined by the given filter for the given account, source and target region. This url is only for PBS and Replication Latency data
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
sourceRegion
|
string |
Source region from which data is written. Cosmos DB region, with spaces between words and each word capitalized. |
targetRegion
|
string |
Target region to which data is written. Cosmos DB region, with spaces between words and each word capitalized. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
$filter
|
string |
An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq. |
Name | Data Type | Description |
---|---|---|
PercentileMetricListResult
|
The response to a list percentile metrics request. |
value
|
array [PercentileMetric] |
The list of percentile metrics for the account. |
||||||||||||||||||||||
Properties
|
Retrieves the metrics determined by the given filter for the given account target region. This url is only for PBS and Replication Latency data
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
targetRegion
|
string |
Target region to which data is written. Cosmos DB region, with spaces between words and each word capitalized. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
$filter
|
string |
An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq. |
Name | Data Type | Description |
---|---|---|
PercentileMetricListResult
|
The response to a list percentile metrics request. |
value
|
array [PercentileMetric] |
The list of percentile metrics for the account. |
||||||||||||||||||||||
Properties
|
Retrieves the usages (most recent data) for the given database account.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
$filter
|
string |
An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of multiple names). |
Name | Data Type | Description |
---|---|---|
UsagesResult
|
The response to a list usage request. |
value
|
array [Usage] |
The list of usages for the database. A usage is a point in time metric |
|||||||||||||||||||
Properties
|
Deletes an existing Azure Cosmos DB database account.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
Retrieves the properties of an existing Azure Cosmos DB database account.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
Name | Data Type | Description |
---|---|---|
DatabaseAccount
|
object |
An Azure Cosmos DB database account. |
kind
|
string Default value: GlobalDocumentDB Allowed values: - GlobalDocumentDB - MongoDB - Parse |
Indicates the type of database account. This can only be set at database account creation. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
properties
|
DatabaseAccountProperties | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Properties
|
Patches the properties of an existing Azure Cosmos DB database account.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
Name | Data Type | Description |
---|---|---|
DatabaseAccountPatchParameters
|
object |
Parameters for patching Azure Cosmos DB database account properties. |
properties
|
DatabaseAccountPatchProperties | ||||||||
Properties
|
|||||||||
tags
|
Tags | ||||||||
|
Name | Data Type | Description |
---|---|---|
DatabaseAccount
|
object |
An Azure Cosmos DB database account. |
kind
|
string Default value: GlobalDocumentDB Allowed values: - GlobalDocumentDB - MongoDB - Parse |
Indicates the type of database account. This can only be set at database account creation. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
properties
|
DatabaseAccountProperties | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Properties
|
Creates or updates an Azure Cosmos DB database account.
Name | Data Type | Description |
---|---|---|
subscriptionId
|
string |
Azure subscription ID. |
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
accountName
|
string Minimum: 3 Maximum: 50 |
Cosmos DB database account name. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
Name | Data Type | Description |
---|---|---|
DatabaseAccountCreateUpdateParameters
|
object |
Parameters to create and update Cosmos DB database accounts. |
kind
|
string Default value: GlobalDocumentDB Allowed values: - GlobalDocumentDB - MongoDB - Parse |
Indicates the type of database account. This can only be set at database account creation. |
|||||||||||||||||||||||||||||||
properties
|
DatabaseAccountCreateUpdateProperties | ||||||||||||||||||||||||||||||||
Properties
|
Name | Data Type | Description |
---|---|---|
DatabaseAccount
|
object |
An Azure Cosmos DB database account. |
kind
|
string Default value: GlobalDocumentDB Allowed values: - GlobalDocumentDB - MongoDB - Parse |
Indicates the type of database account. This can only be set at database account creation. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
properties
|
DatabaseAccountProperties | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Properties
|
Lists all the Azure Cosmos DB database accounts available under the given resource group.
Name | Data Type | Description |
---|---|---|
resourceGroupName
|
string Pattern: ^[-\w\._\(\)]+$ Minimum: 1 Maximum: 90 |
Name of an Azure resource group. |
subscriptionId
|
string |
Azure subscription ID. |
Name | Data Type | Description |
---|---|---|
api-version
|
string |
Version of the API to be used with the client request. The current version is 2015-04-08. |
Name | Data Type | Description |
---|---|---|
DatabaseAccountsListResult
|
The List operation response, that contains the database accounts and their properties. |
value
|
array [DatabaseAccount] |
List of database account and their properties. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Properties
|
An Azure Cosmos DB database account.
Name | Data Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
kind
|
string Default value: GlobalDocumentDB Allowed values: - GlobalDocumentDB - MongoDB - Parse |
Indicates the type of database account. This can only be set at database account creation. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
properties
|
DatabaseAccountProperties | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Properties
|
Connection string for the Cosmos DB account
Name | Data Type | Description |
---|---|---|
connectionString
|
string Read-only |
Value of the connection string |
description
|
string Read-only |
Description of the connection string |
Parameters to create and update Cosmos DB database accounts.
Name | Data Type | Description | |||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
kind
|
string Default value: GlobalDocumentDB Allowed values: - GlobalDocumentDB - MongoDB - Parse |
Indicates the type of database account. This can only be set at database account creation. |
|||||||||||||||||||||||||||||||
properties
|
DatabaseAccountCreateUpdateProperties | ||||||||||||||||||||||||||||||||
Properties
|
Properties to create and update Azure Cosmos DB database accounts.
Name | Data Type | Description |
---|---|---|
capabilities
|
array [Capability] |
List of Cosmos DB capabilities for the account |
consistencyPolicy
|
ConsistencyPolicy |
The consistency policy for the Cosmos DB account. |
databaseAccountOfferType
|
DatabaseAccountOfferType | |
enableAutomaticFailover
|
boolean |
Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. |
enableMultipleWriteLocations
|
boolean |
Enables the account to write in multiple locations |
ipRangeFilter
|
IPRangeFilter |
Cosmos DB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces. |
isVirtualNetworkFilterEnabled
|
boolean |
Flag to indicate whether to enable/disable Virtual Network ACL rules. |
locations
|
array [Location] |
An array that contains the georeplication locations enabled for the Cosmos DB account. |
virtualNetworkRules
|
array [VirtualNetworkRule] |
List of Virtual Network ACL rules configured for the Cosmos DB account. |
The connection strings for the given database account.
Name | Data Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
connectionStrings
|
array [DatabaseAccountConnectionString] |
An array that contains the connection strings for the Cosmos DB account. |
||||||||||
Properties
|
The access keys for the given database account.
Name | Data Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
primaryMasterKey
|
string Read-only |
Base 64 encoded value of the primary read-write key. |
||||||||||
properties
|
DatabaseAccountListReadOnlyKeysResult | |||||||||||
Properties
|
||||||||||||
secondaryMasterKey
|
string Read-only |
Base 64 encoded value of the secondary read-write key. |
The read-only access keys for the given database account.
Name | Data Type | Description |
---|---|---|
primaryReadonlyMasterKey
|
string Read-only |
Base 64 encoded value of the primary read-only key. |
secondaryReadonlyMasterKey
|
string Read-only |
Base 64 encoded value of the secondary read-only key. |
Parameters for patching Azure Cosmos DB database account properties.
Name | Data Type | Description | |||||||
---|---|---|---|---|---|---|---|---|---|
properties
|
DatabaseAccountPatchProperties | ||||||||
Properties
|
|||||||||
tags
|
Tags | ||||||||
|
Properties to update Azure Cosmos DB database accounts.
Name | Data Type | Description |
---|---|---|
capabilities
|
array [Capability] |
List of Cosmos DB capabilities for the account |
Properties for the database account.
Name | Data Type | Description | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
capabilities
|
array [Capability] |
List of Cosmos DB capabilities for the account |
|||||||||||||
consistencyPolicy
|
ConsistencyPolicy |
The consistency policy for the Cosmos DB database account. |
|||||||||||||
databaseAccountOfferType
|
DatabaseAccountOfferType Read-only |
The offer type for the Cosmos DB database account. Default value: Standard. |
|||||||||||||
documentEndpoint
|
string Read-only |
The connection endpoint for the Cosmos DB database account. |
|||||||||||||
enableAutomaticFailover
|
boolean |
Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. |
|||||||||||||
enableMultipleWriteLocations
|
boolean |
Enables the account to write in multiple locations |
|||||||||||||
failoverPolicies
|
array [FailoverPolicy] |
An array that contains the regions ordered by their failover priorities. |
|||||||||||||
Properties
|
|||||||||||||||
ipRangeFilter
|
IPRangeFilter |
Cosmos DB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces. |
|||||||||||||
isVirtualNetworkFilterEnabled
|
boolean |
Flag to indicate whether to enable/disable Virtual Network ACL rules. |
|||||||||||||
provisioningState
|
ProvisioningState | ||||||||||||||
readLocations
|
array [Location] Read-only |
An array that contains of the read locations enabled for the Cosmos DB account. |
|||||||||||||
virtualNetworkRules
|
array [VirtualNetworkRule] |
List of Virtual Network ACL rules configured for the Cosmos DB account. |
|||||||||||||
writeLocations
|
array [Location] Read-only |
An array that contains the write location for the Cosmos DB account. |
Parameters to regenerate the keys within the database account.
Name | Data Type | Description |
---|---|---|
keyKind
|
string Allowed values: - primary - secondary - primaryReadonly - secondaryReadonly |
The access key to regenerate. |
The List operation response, that contains the database accounts and their properties.
Name | Data Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
value
|
array [DatabaseAccount] |
List of database account and their properties. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Properties
|
Error Response.
Name | Data Type | Description |
---|---|---|
code
|
string |
Error code. |
message
|
string |
Error message indicating why the operation failed. |
The list of new failover policies for the failover priority change.
Name | Data Type | Description | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
failoverPolicies
|
array [FailoverPolicy] |
List of failover policies. |
|||||||||||||
Properties
|
The failover policy for a given region of a database account.
Name | Data Type | Description |
---|---|---|
failoverPriority
|
integer Minimum: 0 |
The failover priority of the region. 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. |
id
|
string Read-only |
The unique identifier of the region in which the database account replicates to. Example: <accountName>-<locationName>. |
locationName
|
string |
The name of the region in which the database account exists. |
Metric data
Name | Data Type | Description |
---|---|---|
endTime
|
dateTime Read-only |
The end time for the metric (ISO-8601 format). |
metricValues
|
array [MetricValue] Read-only |
The metric values for the specified time window and timestep. |
name
|
MetricName Read-only |
The name information for the metric. |
startTime
|
dateTime Read-only |
The start time for the metric (ISO-8601 format). |
timeGrain
|
string Read-only |
The time grain to be used to summarize the metric values. |
unit
|
UnitType |
The unit of the metric. |
The definition of a metric.
Name | Data Type | Description |
---|---|---|
metricAvailabilities
|
array [MetricAvailability] Read-only |
The list of metric availabilities for the account. |
name
|
MetricName Read-only |
The name information for the metric. |
primaryAggregationType
|
string Read-only Allowed values: - None - Average - Total - Minimimum - Maximum - Last |
The primary aggregation type of the metric. |
resourceUri
|
string Read-only |
The resource uri of the database. |
unit
|
UnitType |
The unit of the metric. |
The response to a list metric definitions request.
Name | Data Type | Description | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
value
|
array [MetricDefinition] |
The list of metric definitions for the account. |
|||||||||||||||||||
Properties
|
The response to a list metrics request.
Name | Data Type | Description | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
value
|
array [Metric] |
The list of metrics for the account. |
||||||||||||||||||||||
Properties
|
REST API operation
Name | Data Type | Description |
---|---|---|
display
|
||
name
|
string |
Operation name: {provider}/{resource}/{operation} |
Result of the request to list Resource Provider operations. It contains a list of operations and a URL link to get the next set of results.
Name | Data Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
nextLink
|
string |
URL to get the next set of operation list results if there are any. |
||||||||||
value
|
array [Operation] |
List of operations supported by the Resource Provider. |
||||||||||
Properties
|
The metric values for a single partition.
Name | Data Type | Description |
---|---|---|
endTime
|
dateTime Read-only |
The end time for the metric (ISO-8601 format). |
metricValues
|
array [MetricValue] Read-only |
The metric values for the specified time window and timestep. |
name
|
MetricName Read-only |
The name information for the metric. |
startTime
|
dateTime Read-only |
The start time for the metric (ISO-8601 format). |
timeGrain
|
string Read-only |
The time grain to be used to summarize the metric values. |
unit
|
UnitType |
The unit of the metric. |
partitionId
|
string Read-only |
The partition id (GUID identifier) of the metric values. |
partitionKeyRangeId
|
string Read-only |
The partition key range id (integer identifier) of the metric values. |
Metric data
Name | Data Type | Description |
---|---|---|
endTime
|
dateTime Read-only |
The end time for the metric (ISO-8601 format). |
metricValues
|
array [MetricValue] Read-only |
The metric values for the specified time window and timestep. |
name
|
MetricName Read-only |
The name information for the metric. |
startTime
|
dateTime Read-only |
The start time for the metric (ISO-8601 format). |
timeGrain
|
string Read-only |
The time grain to be used to summarize the metric values. |
unit
|
UnitType |
The unit of the metric. |
The response to a list partition metrics request.
Name | Data Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
value
|
array [PartitionMetric] |
The list of partition-level metrics for the account. |
|||||||||||||||||||||||||||||||||||||||||||||||||
Properties
Extends
Metric
Metric data Properties
|
The partition level usage data for a usage request.
Name | Data Type | Description |
---|---|---|
currentValue
|
integer Read-only |
Current value for this metric |
limit
|
integer Read-only |
Maximum value for this metric |
name
|
MetricName Read-only |
The name information for the metric. |
quotaPeriod
|
string Read-only |
The quota period used to summarize the usage values. |
unit
|
UnitType |
The unit of the metric. |
partitionId
|
string Read-only |
The partition id (GUID identifier) of the usages. |
partitionKeyRangeId
|
string Read-only |
The partition key range id (integer identifier) of the usages. |
The usage data for a usage request.
Name | Data Type | Description |
---|---|---|
currentValue
|
integer Read-only |
Current value for this metric |
limit
|
integer Read-only |
Maximum value for this metric |
name
|
MetricName Read-only |
The name information for the metric. |
quotaPeriod
|
string Read-only |
The quota period used to summarize the usage values. |
unit
|
UnitType |
The unit of the metric. |
The response to a list partition level usage request.
Name | Data Type | Description | |||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
value
|
array [PartitionUsage] |
The list of partition-level usages for the database. A usage is a point in time metric |
|||||||||||||||||||||||||||||||||||||||||||
Properties
Extends
Usage
The usage data for a usage request. Properties
|
Percentile Metric data
Name | Data Type | Description |
---|---|---|
endTime
|
dateTime Read-only |
The end time for the metric (ISO-8601 format). |
metricValues
|
array [PercentileMetricValue] Read-only |
The percentile metric values for the specified time window and timestep. |
name
|
MetricName Read-only |
The name information for the metric. |
startTime
|
dateTime Read-only |
The start time for the metric (ISO-8601 format). |
timeGrain
|
string Read-only |
The time grain to be used to summarize the metric values. |
unit
|
UnitType |
The unit of the metric. |
The response to a list percentile metrics request.
Name | Data Type | Description | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
value
|
array [PercentileMetric] |
The list of percentile metrics for the account. |
||||||||||||||||||||||
Properties
|
Cosmos DB region to online or offline.
Name | Data Type | Description |
---|---|---|
region
|
string |
Cosmos DB region, with spaces between words and each word capitalized. |
Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
Name | Data Type | Description |
---|---|---|
Tags
|
object |
Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". |
The usage data for a usage request.
Name | Data Type | Description |
---|---|---|
currentValue
|
integer Read-only |
Current value for this metric |
limit
|
integer Read-only |
Maximum value for this metric |
name
|
MetricName Read-only |
The name information for the metric. |
quotaPeriod
|
string Read-only |
The quota period used to summarize the usage values. |
unit
|
UnitType |
The unit of the metric. |
The response to a list usage request.
Name | Data Type | Description | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
value
|
array [Usage] |
The list of usages for the database. A usage is a point in time metric |
|||||||||||||||||||
Properties
|
'OAuth' Authentication Scheme
Reference: RFC5849, Section 3.5.1
Azure Active Directory OAuth2 Flow
Flow:implicit
https://login.microsoftonline.com/common/oauth2/authorize
user_impersonation
: Impersonate your user accountOrigin - Format | swagger |
Origin - Url | https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json |
Origin - Version | 2.0 |
Provider Name | azure.com |
Service Name | cosmos-db |
API Version | 2015-04-08 |