Microsoft.DocumentDB (stable:2020-04-01)

2025/10/23 • 126 new, 126 deleted methods

DatabaseAccounts_Get (new)
Description :  Retrieves the properties of an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
kind: enum ,
properties:
{
provisioningState: string ,
documentEndpoint: string ,
databaseAccountOfferType: enum ,
ipRules:
[
{
ipAddressOrRange: string ,
}
,
]
,
isVirtualNetworkFilterEnabled: boolean ,
enableAutomaticFailover: boolean ,
consistencyPolicy:
{
defaultConsistencyLevel: enum ,
maxStalenessPrefix: integer ,
maxIntervalInSeconds: integer ,
}
,
capabilities:
[
{
name: string ,
}
,
]
,
writeLocations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
readLocations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
locations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
failoverPolicies:
[
{
id: string ,
locationName: string ,
failoverPriority: integer ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
ignoreMissingVNetServiceEndpoint: boolean ,
}
,
]
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
enableMultipleWriteLocations: boolean ,
enableCassandraConnector: boolean ,
connectorOffer: enum ,
disableKeyBasedMetadataWriteAccess: boolean ,
keyVaultKeyUri: string ,
publicNetworkAccess: enum ,
enableFreeTier: boolean ,
apiProperties:
{
serverVersion: enum ,
}
,
enableAnalyticalStorage: boolean ,
cors:
[
{
allowedOrigins: string ,
allowedMethods: string ,
allowedHeaders: string ,
exposedHeaders: string ,
maxAgeInSeconds: integer ,
}
,
]
,
}
,
}
DatabaseAccounts_Update (new)
Description :  Updates the properties of an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
updateParameters:
{
tags: object ,
location: string ,
properties:
{
consistencyPolicy:
{
defaultConsistencyLevel: enum ,
maxStalenessPrefix: integer ,
maxIntervalInSeconds: integer ,
}
,
locations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
ipRules:
[
{
ipAddressOrRange: string ,
}
,
]
,
isVirtualNetworkFilterEnabled: boolean ,
enableAutomaticFailover: boolean ,
capabilities:
[
{
name: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
ignoreMissingVNetServiceEndpoint: boolean ,
}
,
]
,
enableMultipleWriteLocations: boolean ,
enableCassandraConnector: boolean ,
connectorOffer: enum ,
disableKeyBasedMetadataWriteAccess: boolean ,
keyVaultKeyUri: string ,
publicNetworkAccess: enum ,
enableFreeTier: boolean ,
apiProperties:
{
serverVersion: enum ,
}
,
enableAnalyticalStorage: boolean ,
cors:
[
{
allowedOrigins: string ,
allowedMethods: string ,
allowedHeaders: string ,
exposedHeaders: string ,
maxAgeInSeconds: integer ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
kind: enum ,
properties:
{
provisioningState: string ,
documentEndpoint: string ,
databaseAccountOfferType: enum ,
ipRules:
[
{
ipAddressOrRange: string ,
}
,
]
,
isVirtualNetworkFilterEnabled: boolean ,
enableAutomaticFailover: boolean ,
consistencyPolicy:
{
defaultConsistencyLevel: enum ,
maxStalenessPrefix: integer ,
maxIntervalInSeconds: integer ,
}
,
capabilities:
[
{
name: string ,
}
,
]
,
writeLocations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
readLocations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
locations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
failoverPolicies:
[
{
id: string ,
locationName: string ,
failoverPriority: integer ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
ignoreMissingVNetServiceEndpoint: boolean ,
}
,
]
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
enableMultipleWriteLocations: boolean ,
enableCassandraConnector: boolean ,
connectorOffer: enum ,
disableKeyBasedMetadataWriteAccess: boolean ,
keyVaultKeyUri: string ,
publicNetworkAccess: enum ,
enableFreeTier: boolean ,
apiProperties:
{
serverVersion: enum ,
}
,
enableAnalyticalStorage: boolean ,
cors:
[
{
allowedOrigins: string ,
allowedMethods: string ,
allowedHeaders: string ,
exposedHeaders: string ,
maxAgeInSeconds: integer ,
}
,
]
,
}
,
}
DatabaseAccounts_CreateOrUpdate (new)
Description :  Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
createUpdateParameters:
{
kind: enum ,
properties:
{
consistencyPolicy:
{
defaultConsistencyLevel: enum ,
maxStalenessPrefix: integer ,
maxIntervalInSeconds: integer ,
}
,
locations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
databaseAccountOfferType: enum ,
ipRules:
[
{
ipAddressOrRange: string ,
}
,
]
,
isVirtualNetworkFilterEnabled: boolean ,
enableAutomaticFailover: boolean ,
capabilities:
[
{
name: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
ignoreMissingVNetServiceEndpoint: boolean ,
}
,
]
,
enableMultipleWriteLocations: boolean ,
enableCassandraConnector: boolean ,
connectorOffer: enum ,
disableKeyBasedMetadataWriteAccess: boolean ,
keyVaultKeyUri: string ,
publicNetworkAccess: enum ,
enableFreeTier: boolean ,
apiProperties:
{
serverVersion: enum ,
}
,
enableAnalyticalStorage: boolean ,
cors:
[
{
allowedOrigins: string ,
allowedMethods: string ,
allowedHeaders: string ,
exposedHeaders: string ,
maxAgeInSeconds: integer ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
kind: enum ,
properties:
{
provisioningState: string ,
documentEndpoint: string ,
databaseAccountOfferType: enum ,
ipRules:
[
{
ipAddressOrRange: string ,
}
,
]
,
isVirtualNetworkFilterEnabled: boolean ,
enableAutomaticFailover: boolean ,
consistencyPolicy:
{
defaultConsistencyLevel: enum ,
maxStalenessPrefix: integer ,
maxIntervalInSeconds: integer ,
}
,
capabilities:
[
{
name: string ,
}
,
]
,
writeLocations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
readLocations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
locations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
failoverPolicies:
[
{
id: string ,
locationName: string ,
failoverPriority: integer ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
ignoreMissingVNetServiceEndpoint: boolean ,
}
,
]
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
enableMultipleWriteLocations: boolean ,
enableCassandraConnector: boolean ,
connectorOffer: enum ,
disableKeyBasedMetadataWriteAccess: boolean ,
keyVaultKeyUri: string ,
publicNetworkAccess: enum ,
enableFreeTier: boolean ,
apiProperties:
{
serverVersion: enum ,
}
,
enableAnalyticalStorage: boolean ,
cors:
[
{
allowedOrigins: string ,
allowedMethods: string ,
allowedHeaders: string ,
exposedHeaders: string ,
maxAgeInSeconds: integer ,
}
,
]
,
}
,
}
DatabaseAccounts_Delete (new)
Description :  Deletes an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
DatabaseAccounts_FailoverPriorityChange (new)
Description :  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.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/failoverPriorityChange
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
failoverParameters:
{
failoverPolicies:
[
{
id: string ,
locationName: string ,
failoverPriority: integer ,
}
,
]
,
}
,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
DatabaseAccounts_List (new)
Description :  Lists all the Azure Cosmos DB database accounts available under the subscription.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/databaseAccounts
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
kind: enum ,
properties:
{
provisioningState: string ,
documentEndpoint: string ,
databaseAccountOfferType: enum ,
ipRules:
[
{
ipAddressOrRange: string ,
}
,
]
,
isVirtualNetworkFilterEnabled: boolean ,
enableAutomaticFailover: boolean ,
consistencyPolicy:
{
defaultConsistencyLevel: enum ,
maxStalenessPrefix: integer ,
maxIntervalInSeconds: integer ,
}
,
capabilities:
[
{
name: string ,
}
,
]
,
writeLocations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
readLocations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
locations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
failoverPolicies:
[
{
id: string ,
locationName: string ,
failoverPriority: integer ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
ignoreMissingVNetServiceEndpoint: boolean ,
}
,
]
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
enableMultipleWriteLocations: boolean ,
enableCassandraConnector: boolean ,
connectorOffer: enum ,
disableKeyBasedMetadataWriteAccess: boolean ,
keyVaultKeyUri: string ,
publicNetworkAccess: enum ,
enableFreeTier: boolean ,
apiProperties:
{
serverVersion: enum ,
}
,
enableAnalyticalStorage: boolean ,
cors:
[
{
allowedOrigins: string ,
allowedMethods: string ,
allowedHeaders: string ,
exposedHeaders: string ,
maxAgeInSeconds: integer ,
}
,
]
,
}
,
}
,
]
,
}
DatabaseAccounts_ListByResourceGroup (new)
Description :  Lists all the Azure Cosmos DB database accounts available under the given resource group.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
kind: enum ,
properties:
{
provisioningState: string ,
documentEndpoint: string ,
databaseAccountOfferType: enum ,
ipRules:
[
{
ipAddressOrRange: string ,
}
,
]
,
isVirtualNetworkFilterEnabled: boolean ,
enableAutomaticFailover: boolean ,
consistencyPolicy:
{
defaultConsistencyLevel: enum ,
maxStalenessPrefix: integer ,
maxIntervalInSeconds: integer ,
}
,
capabilities:
[
{
name: string ,
}
,
]
,
writeLocations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
readLocations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
locations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
failoverPolicies:
[
{
id: string ,
locationName: string ,
failoverPriority: integer ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
ignoreMissingVNetServiceEndpoint: boolean ,
}
,
]
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
enableMultipleWriteLocations: boolean ,
enableCassandraConnector: boolean ,
connectorOffer: enum ,
disableKeyBasedMetadataWriteAccess: boolean ,
keyVaultKeyUri: string ,
publicNetworkAccess: enum ,
enableFreeTier: boolean ,
apiProperties:
{
serverVersion: enum ,
}
,
enableAnalyticalStorage: boolean ,
cors:
[
{
allowedOrigins: string ,
allowedMethods: string ,
allowedHeaders: string ,
exposedHeaders: string ,
maxAgeInSeconds: integer ,
}
,
]
,
}
,
}
,
]
,
}
DatabaseAccounts_ListKeys (new)
Description :  Lists the access keys for the specified Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/listKeys
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
primaryMasterKey: string ,
secondaryMasterKey: string ,
}
DatabaseAccounts_ListConnectionStrings (new)
Description :  Lists the connection strings for the specified Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/listConnectionStrings
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
connectionStrings:
[
{
connectionString: string ,
description: string ,
}
,
]
,
}
DatabaseAccounts_OfflineRegion (new)
Description :  Offline the specified region for the specified Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/offlineRegion
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
regionParameterForOffline:
{
region: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
DatabaseAccounts_OnlineRegion (new)
Description :  Online the specified region for the specified Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/onlineRegion
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
regionParameterForOnline:
{
region: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
DatabaseAccounts_GetReadOnlyKeys (new)
Description :  Lists the read-only access keys for the specified Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/readonlykeys
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
primaryReadonlyMasterKey: string ,
secondaryReadonlyMasterKey: string ,
}
DatabaseAccounts_ListReadOnlyKeys (new)
Description :  Lists the read-only access keys for the specified Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/readonlykeys
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
primaryReadonlyMasterKey: string ,
secondaryReadonlyMasterKey: string ,
}
DatabaseAccounts_RegenerateKey (new)
Description :  Regenerates an access key for the specified Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/regenerateKey
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
keyToRegenerate:
{
keyKind: enum ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{}
DatabaseAccounts_CheckNameExists (new)
Description :  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.
Reference :  Link ¶

⚼ Request

HEAD:  /providers/Microsoft.DocumentDB/databaseAccountNames/{accountName}
{
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (404)

{}
Operations_List (new)
Description :  Lists all of the available Cosmos DB Resource Provider operations.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.DocumentDB/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
Provider: string ,
Resource: string ,
Operation: string ,
Description: string ,
}
,
}
,
]
,
nextLink: string ,
}
DatabaseAccounts_ListMetrics (new)
Description :  Retrieves the metrics determined by the given filter for the given database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/metrics
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
startTime: string ,
endTime: string ,
timeGrain: string ,
unit: enum ,
name:
{
value: string ,
localizedValue: string ,
}
,
metricValues:
[
{
_count: number ,
average: number ,
maximum: number ,
minimum: number ,
timestamp: string ,
total: number ,
}
,
]
,
}
,
]
,
}
Database_ListMetrics (new)
Description :  Retrieves the metrics determined by the given filter for the given database account and database.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/metrics
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseRid: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
startTime: string ,
endTime: string ,
timeGrain: string ,
unit: enum ,
name:
{
value: string ,
localizedValue: string ,
}
,
metricValues:
[
{
_count: number ,
average: number ,
maximum: number ,
minimum: number ,
timestamp: string ,
total: number ,
}
,
]
,
}
,
]
,
}
Collection_ListMetrics (new)
Description :  Retrieves the metrics determined by the given filter for the given database account and collection.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/metrics
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseRid: string ,
collectionRid: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
startTime: string ,
endTime: string ,
timeGrain: string ,
unit: enum ,
name:
{
value: string ,
localizedValue: string ,
}
,
metricValues:
[
{
_count: number ,
average: number ,
maximum: number ,
minimum: number ,
timestamp: string ,
total: number ,
}
,
]
,
}
,
]
,
}
CollectionRegion_ListMetrics (new)
Description :  Retrieves the metrics determined by the given filter for the given database account, collection and region.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/region/{region}/databases/{databaseRid}/collections/{collectionRid}/metrics
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
region: string ,
databaseRid: string ,
collectionRid: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
startTime: string ,
endTime: string ,
timeGrain: string ,
unit: enum ,
name:
{
value: string ,
localizedValue: string ,
}
,
metricValues:
[
{
_count: number ,
average: number ,
maximum: number ,
minimum: number ,
timestamp: string ,
total: number ,
}
,
]
,
}
,
]
,
}
DatabaseAccountRegion_ListMetrics (new)
Description :  Retrieves the metrics determined by the given filter for the given database account and region.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/region/{region}/metrics
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
region: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
startTime: string ,
endTime: string ,
timeGrain: string ,
unit: enum ,
name:
{
value: string ,
localizedValue: string ,
}
,
metricValues:
[
{
_count: number ,
average: number ,
maximum: number ,
minimum: number ,
timestamp: string ,
total: number ,
}
,
]
,
}
,
]
,
}
PercentileSourceTarget_ListMetrics (new)
Description :  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
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sourceRegion/{sourceRegion}/targetRegion/{targetRegion}/percentile/metrics
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
sourceRegion: string ,
targetRegion: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
startTime: string ,
endTime: string ,
timeGrain: string ,
unit: enum ,
name:
{
value: string ,
localizedValue: string ,
}
,
metricValues:
[
{
P10: number ,
P25: number ,
P50: number ,
P75: number ,
P90: number ,
P95: number ,
P99: number ,
}
,
]
,
}
,
]
,
}
PercentileTarget_ListMetrics (new)
Description :  Retrieves the metrics determined by the given filter for the given account target region. This url is only for PBS and Replication Latency data
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/targetRegion/{targetRegion}/percentile/metrics
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
targetRegion: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
startTime: string ,
endTime: string ,
timeGrain: string ,
unit: enum ,
name:
{
value: string ,
localizedValue: string ,
}
,
metricValues:
[
{
P10: number ,
P25: number ,
P50: number ,
P75: number ,
P90: number ,
P95: number ,
P99: number ,
}
,
]
,
}
,
]
,
}
Percentile_ListMetrics (new)
Description :  Retrieves the metrics determined by the given filter for the given database account. This url is only for PBS and Replication Latency data
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/percentile/metrics
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
startTime: string ,
endTime: string ,
timeGrain: string ,
unit: enum ,
name:
{
value: string ,
localizedValue: string ,
}
,
metricValues:
[
{
P10: number ,
P25: number ,
P50: number ,
P75: number ,
P90: number ,
P95: number ,
P99: number ,
}
,
]
,
}
,
]
,
}
CollectionPartitionRegion_ListMetrics (new)
Description :  Retrieves the metrics determined by the given filter for the given collection and region, split by partition.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/region/{region}/databases/{databaseRid}/collections/{collectionRid}/partitions/metrics
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
region: string ,
databaseRid: string ,
collectionRid: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
partitionId: string ,
partitionKeyRangeId: string ,
}
,
]
,
}
CollectionPartition_ListMetrics (new)
Description :  Retrieves the metrics determined by the given filter for the given collection, split by partition.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/partitions/metrics
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseRid: string ,
collectionRid: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
partitionId: string ,
partitionKeyRangeId: string ,
}
,
]
,
}
PartitionKeyRangeId_ListMetrics (new)
Description :  Retrieves the metrics determined by the given filter for the given partition key range id.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/partitionKeyRangeId/{partitionKeyRangeId}/metrics
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseRid: string ,
collectionRid: string ,
partitionKeyRangeId: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
partitionId: string ,
partitionKeyRangeId: string ,
}
,
]
,
}
PartitionKeyRangeIdRegion_ListMetrics (new)
Description :  Retrieves the metrics determined by the given filter for the given partition key range id and region.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/region/{region}/databases/{databaseRid}/collections/{collectionRid}/partitionKeyRangeId/{partitionKeyRangeId}/metrics
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
region: string ,
databaseRid: string ,
collectionRid: string ,
partitionKeyRangeId: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
partitionId: string ,
partitionKeyRangeId: string ,
}
,
]
,
}
DatabaseAccounts_ListUsages (new)
Description :  Retrieves the usages (most recent data) for the given database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/usages
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
unit: enum ,
name:
{
value: string ,
localizedValue: string ,
}
,
quotaPeriod: string ,
limit: integer ,
currentValue: integer ,
}
,
]
,
}
Database_ListUsages (new)
Description :  Retrieves the usages (most recent data) for the given database.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/usages
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseRid: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
unit: enum ,
name:
{
value: string ,
localizedValue: string ,
}
,
quotaPeriod: string ,
limit: integer ,
currentValue: integer ,
}
,
]
,
}
Collection_ListUsages (new)
Description :  Retrieves the usages (most recent storage data) for the given collection.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/usages
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseRid: string ,
collectionRid: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
unit: enum ,
name:
{
value: string ,
localizedValue: string ,
}
,
quotaPeriod: string ,
limit: integer ,
currentValue: integer ,
}
,
]
,
}
CollectionPartition_ListUsages (new)
Description :  Retrieves the usages (most recent storage data) for the given collection, split by partition.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/partitions/usages
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseRid: string ,
collectionRid: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
partitionId: string ,
partitionKeyRangeId: string ,
}
,
]
,
}
Database_ListMetricDefinitions (new)
Description :  Retrieves metric definitions for the given database.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/metricDefinitions
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseRid: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
metricAvailabilities:
[
{
timeGrain: string ,
retention: string ,
}
,
]
,
primaryAggregationType: enum ,
unit: enum ,
resourceUri: string ,
name:
{
value: string ,
localizedValue: string ,
}
,
}
,
]
,
}
Collection_ListMetricDefinitions (new)
Description :  Retrieves metric definitions for the given collection.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/metricDefinitions
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseRid: string ,
collectionRid: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
metricAvailabilities:
[
{
timeGrain: string ,
retention: string ,
}
,
]
,
primaryAggregationType: enum ,
unit: enum ,
resourceUri: string ,
name:
{
value: string ,
localizedValue: string ,
}
,
}
,
]
,
}
DatabaseAccounts_ListMetricDefinitions (new)
Description :  Retrieves metric definitions for the given database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/metricDefinitions
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
metricAvailabilities:
[
{
timeGrain: string ,
retention: string ,
}
,
]
,
primaryAggregationType: enum ,
unit: enum ,
resourceUri: string ,
name:
{
value: string ,
localizedValue: string ,
}
,
}
,
]
,
}
SqlResources_ListSqlDatabases (new)
Description :  Lists the SQL databases under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resource:
{
_colls: string ,
_users: string ,
}
,
options: string ,
}
,
}
,
]
,
}
SqlResources_GetSqlDatabase (new)
Description :  Gets the SQL database under an existing Azure Cosmos DB database account with the provided name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource:
{
_colls: string ,
_users: string ,
}
,
options: string ,
}
,
}
SqlResources_CreateUpdateSqlDatabase (new)
Description :  Create or update an Azure Cosmos DB SQL database
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
createUpdateSqlDatabaseParameters:
{
properties:
{
resource:
{
id: string ,
}
,
options:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
}
,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource:
{
_colls: string ,
_users: string ,
}
,
options: string ,
}
,
}
SqlResources_DeleteSqlDatabase (new)
Description :  Deletes an existing Azure Cosmos DB SQL database.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
SqlResources_GetSqlDatabaseThroughput (new)
Description :  Gets the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the provided name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_UpdateSqlDatabaseThroughput (new)
Description :  Update RUs per second of an Azure Cosmos DB SQL database
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
updateThroughputParameters:
{
properties:
{
resource:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
autoUpgradePolicy:
{
throughputPolicy:
{
isEnabled: boolean ,
incrementPercent: integer ,
}
,
}
,
targetMaxThroughput: integer ,
}
,
minimumThroughput: string ,
offerReplacePending: string ,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_MigrateSqlDatabaseToAutoscale (new)
Description :  Migrate an Azure Cosmos DB SQL database from manual throughput to autoscale
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default/migrateToAutoscale
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_MigrateSqlDatabaseToManualThroughput (new)
Description :  Migrate an Azure Cosmos DB SQL database from autoscale to manual throughput
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default/migrateToManualThroughput
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_ListSqlContainers (new)
Description :  Lists the SQL container under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resource: string ,
options: string ,
}
,
}
,
]
,
}
SqlResources_GetSqlContainer (new)
Description :  Gets the SQL container under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
SqlResources_CreateUpdateSqlContainer (new)
Description :  Create or update an Azure Cosmos DB SQL container
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
api-version: string ,
createUpdateSqlContainerParameters:
{
properties:
{
resource:
{
id: string ,
indexingPolicy:
{
automatic: boolean ,
indexingMode: enum ,
includedPaths:
[
{
path: string ,
indexes:
[
{
dataType: enum ,
precision: integer ,
kind: enum ,
}
,
]
,
}
,
]
,
excludedPaths:
[
{
path: string ,
}
,
]
,
compositeIndexes:
[
{
path: string ,
order: enum ,
}
,
]
,
spatialIndexes:
[
{
path: string ,
types:
[
string ,
]
,
}
,
]
,
}
,
partitionKey:
{
paths:
[
string ,
]
,
kind: enum ,
version: integer ,
}
,
defaultTtl: integer ,
uniqueKeyPolicy:
{
uniqueKeys:
[
{
paths:
[
string ,
]
,
}
,
]
,
}
,
conflictResolutionPolicy:
{
mode: enum ,
conflictResolutionPath: string ,
conflictResolutionProcedure: string ,
}
,
analyticalStorageTtl: integer ,
}
,
options:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
}
,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
SqlResources_DeleteSqlContainer (new)
Description :  Deletes an existing Azure Cosmos DB SQL container.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
SqlResources_GetSqlContainerThroughput (new)
Description :  Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_UpdateSqlContainerThroughput (new)
Description :  Update RUs per second of an Azure Cosmos DB SQL container
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
api-version: string ,
updateThroughputParameters:
{
properties:
{
resource:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
autoUpgradePolicy:
{
throughputPolicy:
{
isEnabled: boolean ,
incrementPercent: integer ,
}
,
}
,
targetMaxThroughput: integer ,
}
,
minimumThroughput: string ,
offerReplacePending: string ,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_MigrateSqlContainerToAutoscale (new)
Description :  Migrate an Azure Cosmos DB SQL container from manual throughput to autoscale
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default/migrateToAutoscale
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_MigrateSqlContainerToManualThroughput (new)
Description :  Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default/migrateToManualThroughput
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_ListSqlStoredProcedures (new)
Description :  Lists the SQL storedProcedure under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resource: string ,
}
,
}
,
]
,
}
SqlResources_GetSqlStoredProcedure (new)
Description :  Gets the SQL storedProcedure under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures/{storedProcedureName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
storedProcedureName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_CreateUpdateSqlStoredProcedure (new)
Description :  Create or update an Azure Cosmos DB SQL storedProcedure
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures/{storedProcedureName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
storedProcedureName: string ,
api-version: string ,
createUpdateSqlStoredProcedureParameters:
{
properties:
{
resource:
{
id: string ,
body: string ,
}
,
options:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
}
,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_DeleteSqlStoredProcedure (new)
Description :  Deletes an existing Azure Cosmos DB SQL storedProcedure.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures/{storedProcedureName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
storedProcedureName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
SqlResources_ListSqlUserDefinedFunctions (new)
Description :  Lists the SQL userDefinedFunction under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resource: string ,
}
,
}
,
]
,
}
SqlResources_GetSqlUserDefinedFunction (new)
Description :  Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/{userDefinedFunctionName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
userDefinedFunctionName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_CreateUpdateSqlUserDefinedFunction (new)
Description :  Create or update an Azure Cosmos DB SQL userDefinedFunction
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/{userDefinedFunctionName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
userDefinedFunctionName: string ,
api-version: string ,
createUpdateSqlUserDefinedFunctionParameters:
{
properties:
{
resource:
{
id: string ,
body: string ,
}
,
options:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
}
,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_DeleteSqlUserDefinedFunction (new)
Description :  Deletes an existing Azure Cosmos DB SQL userDefinedFunction.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/{userDefinedFunctionName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
userDefinedFunctionName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
SqlResources_ListSqlTriggers (new)
Description :  Lists the SQL trigger under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resource: string ,
}
,
}
,
]
,
}
SqlResources_GetSqlTrigger (new)
Description :  Gets the SQL trigger under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers/{triggerName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
triggerName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_CreateUpdateSqlTrigger (new)
Description :  Create or update an Azure Cosmos DB SQL trigger
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers/{triggerName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
triggerName: string ,
api-version: string ,
createUpdateSqlTriggerParameters:
{
properties:
{
resource:
{
id: string ,
body: string ,
triggerType: enum ,
triggerOperation: enum ,
}
,
options:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
}
,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_DeleteSqlTrigger (new)
Description :  Deletes an existing Azure Cosmos DB SQL trigger.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers/{triggerName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
triggerName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
MongoDBResources_ListMongoDBDatabases (new)
Description :  Lists the MongoDB databases under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resource: string ,
options: string ,
}
,
}
,
]
,
}
MongoDBResources_GetMongoDBDatabase (new)
Description :  Gets the MongoDB databases under an existing Azure Cosmos DB database account with the provided name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
MongoDBResources_CreateUpdateMongoDBDatabase (new)
Description :  Create or updates Azure Cosmos DB MongoDB database
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
createUpdateMongoDBDatabaseParameters:
{
properties:
{
resource:
{
id: string ,
}
,
options:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
}
,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
MongoDBResources_DeleteMongoDBDatabase (new)
Description :  Deletes an existing Azure Cosmos DB MongoDB database.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
MongoDBResources_GetMongoDBDatabaseThroughput (new)
Description :  Gets the RUs per second of the MongoDB database under an existing Azure Cosmos DB database account with the provided name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
MongoDBResources_UpdateMongoDBDatabaseThroughput (new)
Description :  Update RUs per second of the an Azure Cosmos DB MongoDB database
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
updateThroughputParameters:
{
properties:
{
resource:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
autoUpgradePolicy:
{
throughputPolicy:
{
isEnabled: boolean ,
incrementPercent: integer ,
}
,
}
,
targetMaxThroughput: integer ,
}
,
minimumThroughput: string ,
offerReplacePending: string ,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
MongoDBResources_MigrateMongoDBDatabaseToAutoscale (new)
Description :  Migrate an Azure Cosmos DB MongoDB database from manual throughput to autoscale
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default/migrateToAutoscale
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
MongoDBResources_MigrateMongoDBDatabaseToManualThroughput (new)
Description :  Migrate an Azure Cosmos DB MongoDB database from autoscale to manual throughput
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default/migrateToManualThroughput
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
MongoDBResources_ListMongoDBCollections (new)
Description :  Lists the MongoDB collection under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resource: string ,
options: string ,
}
,
}
,
]
,
}
MongoDBResources_GetMongoDBCollection (new)
Description :  Gets the MongoDB collection under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
collectionName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
MongoDBResources_CreateUpdateMongoDBCollection (new)
Description :  Create or update an Azure Cosmos DB MongoDB Collection
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
collectionName: string ,
api-version: string ,
createUpdateMongoDBCollectionParameters:
{
properties:
{
resource:
{
id: string ,
shardKey: object ,
indexes:
[
{
key:
{
keys:
[
string ,
]
,
}
,
options:
{
expireAfterSeconds: integer ,
unique: boolean ,
}
,
}
,
]
,
analyticalStorageTtl: integer ,
}
,
options:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
}
,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
MongoDBResources_DeleteMongoDBCollection (new)
Description :  Deletes an existing Azure Cosmos DB MongoDB Collection.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
collectionName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
MongoDBResources_GetMongoDBCollectionThroughput (new)
Description :  Gets the RUs per second of the MongoDB collection under an existing Azure Cosmos DB database account with the provided name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
collectionName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
MongoDBResources_UpdateMongoDBCollectionThroughput (new)
Description :  Update the RUs per second of an Azure Cosmos DB MongoDB collection
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
collectionName: string ,
api-version: string ,
updateThroughputParameters:
{
properties:
{
resource:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
autoUpgradePolicy:
{
throughputPolicy:
{
isEnabled: boolean ,
incrementPercent: integer ,
}
,
}
,
targetMaxThroughput: integer ,
}
,
minimumThroughput: string ,
offerReplacePending: string ,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
MongoDBResources_MigrateMongoDBCollectionToAutoscale (new)
Description :  Migrate an Azure Cosmos DB MongoDB collection from manual throughput to autoscale
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default/migrateToAutoscale
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
collectionName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
MongoDBResources_MigrateMongoDBCollectionToManualThroughput (new)
Description :  Migrate an Azure Cosmos DB MongoDB collection from autoscale to manual throughput
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default/migrateToManualThroughput
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
collectionName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
TableResources_ListTables (new)
Description :  Lists the Tables under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resource: string ,
options: string ,
}
,
}
,
]
,
}
TableResources_GetTable (new)
Description :  Gets the Tables under an existing Azure Cosmos DB database account with the provided name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
tableName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
TableResources_CreateUpdateTable (new)
Description :  Create or update an Azure Cosmos DB Table
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
tableName: string ,
api-version: string ,
createUpdateTableParameters:
{
properties:
{
resource:
{
id: string ,
}
,
options:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
}
,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
TableResources_DeleteTable (new)
Description :  Deletes an existing Azure Cosmos DB Table.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
tableName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
TableResources_GetTableThroughput (new)
Description :  Gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
tableName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
TableResources_UpdateTableThroughput (new)
Description :  Update RUs per second of an Azure Cosmos DB Table
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
tableName: string ,
api-version: string ,
updateThroughputParameters:
{
properties:
{
resource:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
autoUpgradePolicy:
{
throughputPolicy:
{
isEnabled: boolean ,
incrementPercent: integer ,
}
,
}
,
targetMaxThroughput: integer ,
}
,
minimumThroughput: string ,
offerReplacePending: string ,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
TableResources_MigrateTableToAutoscale (new)
Description :  Migrate an Azure Cosmos DB Table from manual throughput to autoscale
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default/migrateToAutoscale
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
tableName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
TableResources_MigrateTableToManualThroughput (new)
Description :  Migrate an Azure Cosmos DB Table from autoscale to manual throughput
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default/migrateToManualThroughput
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
tableName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
CassandraResources_ListCassandraKeyspaces (new)
Description :  Lists the Cassandra keyspaces under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resource: string ,
options: string ,
}
,
}
,
]
,
}
CassandraResources_GetCassandraKeyspace (new)
Description :  Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
CassandraResources_CreateUpdateCassandraKeyspace (new)
Description :  Create or update an Azure Cosmos DB Cassandra keyspace
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
api-version: string ,
createUpdateCassandraKeyspaceParameters:
{
properties:
{
resource:
{
id: string ,
}
,
options:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
}
,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
CassandraResources_DeleteCassandraKeyspace (new)
Description :  Deletes an existing Azure Cosmos DB Cassandra keyspace.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
CassandraResources_GetCassandraKeyspaceThroughput (new)
Description :  Gets the RUs per second of the Cassandra Keyspace under an existing Azure Cosmos DB database account with the provided name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
CassandraResources_UpdateCassandraKeyspaceThroughput (new)
Description :  Update RUs per second of an Azure Cosmos DB Cassandra Keyspace
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
api-version: string ,
updateThroughputParameters:
{
properties:
{
resource:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
autoUpgradePolicy:
{
throughputPolicy:
{
isEnabled: boolean ,
incrementPercent: integer ,
}
,
}
,
targetMaxThroughput: integer ,
}
,
minimumThroughput: string ,
offerReplacePending: string ,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
CassandraResources_MigrateCassandraKeyspaceToAutoscale (new)
Description :  Migrate an Azure Cosmos DB Cassandra Keyspace from manual throughput to autoscale
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/throughputSettings/default/migrateToAutoscale
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
CassandraResources_MigrateCassandraKeyspaceToManualThroughput (new)
Description :  Migrate an Azure Cosmos DB Cassandra Keyspace from autoscale to manual throughput
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/throughputSettings/default/migrateToManualThroughput
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
CassandraResources_ListCassandraTables (new)
Description :  Lists the Cassandra table under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resource: string ,
options: string ,
}
,
}
,
]
,
}
CassandraResources_GetCassandraTable (new)
Description :  Gets the Cassandra table under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
tableName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
CassandraResources_CreateUpdateCassandraTable (new)
Description :  Create or update an Azure Cosmos DB Cassandra Table
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
tableName: string ,
api-version: string ,
createUpdateCassandraTableParameters:
{
properties:
{
resource:
{
id: string ,
defaultTtl: integer ,
schema:
{
columns:
[
{
name: string ,
type: string ,
}
,
]
,
partitionKeys:
[
{
name: string ,
}
,
]
,
clusterKeys:
[
{
name: string ,
orderBy: string ,
}
,
]
,
}
,
analyticalStorageTtl: integer ,
}
,
options:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
}
,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
CassandraResources_DeleteCassandraTable (new)
Description :  Deletes an existing Azure Cosmos DB Cassandra table.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
tableName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
CassandraResources_GetCassandraTableThroughput (new)
Description :  Gets the RUs per second of the Cassandra table under an existing Azure Cosmos DB database account with the provided name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
tableName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
CassandraResources_UpdateCassandraTableThroughput (new)
Description :  Update RUs per second of an Azure Cosmos DB Cassandra table
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
tableName: string ,
api-version: string ,
updateThroughputParameters:
{
properties:
{
resource:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
autoUpgradePolicy:
{
throughputPolicy:
{
isEnabled: boolean ,
incrementPercent: integer ,
}
,
}
,
targetMaxThroughput: integer ,
}
,
minimumThroughput: string ,
offerReplacePending: string ,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
CassandraResources_MigrateCassandraTableToAutoscale (new)
Description :  Migrate an Azure Cosmos DB Cassandra table from manual throughput to autoscale
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}/throughputSettings/default/migrateToAutoscale
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
tableName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
CassandraResources_MigrateCassandraTableToManualThroughput (new)
Description :  Migrate an Azure Cosmos DB Cassandra table from autoscale to manual throughput
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}/throughputSettings/default/migrateToManualThroughput
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
tableName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
GremlinResources_ListGremlinDatabases (new)
Description :  Lists the Gremlin databases under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resource: string ,
options: string ,
}
,
}
,
]
,
}
GremlinResources_GetGremlinDatabase (new)
Description :  Gets the Gremlin databases under an existing Azure Cosmos DB database account with the provided name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
GremlinResources_CreateUpdateGremlinDatabase (new)
Description :  Create or update an Azure Cosmos DB Gremlin database
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
createUpdateGremlinDatabaseParameters:
{
properties:
{
resource:
{
id: string ,
}
,
options:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
}
,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
GremlinResources_DeleteGremlinDatabase (new)
Description :  Deletes an existing Azure Cosmos DB Gremlin database.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
GremlinResources_GetGremlinDatabaseThroughput (new)
Description :  Gets the RUs per second of the Gremlin database under an existing Azure Cosmos DB database account with the provided name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
GremlinResources_UpdateGremlinDatabaseThroughput (new)
Description :  Update RUs per second of an Azure Cosmos DB Gremlin database
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
updateThroughputParameters:
{
properties:
{
resource:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
autoUpgradePolicy:
{
throughputPolicy:
{
isEnabled: boolean ,
incrementPercent: integer ,
}
,
}
,
targetMaxThroughput: integer ,
}
,
minimumThroughput: string ,
offerReplacePending: string ,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
GremlinResources_MigrateGremlinDatabaseToAutoscale (new)
Description :  Migrate an Azure Cosmos DB Gremlin database from manual throughput to autoscale
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/throughputSettings/default/migrateToAutoscale
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
GremlinResources_MigrateGremlinDatabaseToManualThroughput (new)
Description :  Migrate an Azure Cosmos DB Gremlin database from autoscale to manual throughput
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/throughputSettings/default/migrateToManualThroughput
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
GremlinResources_ListGremlinGraphs (new)
Description :  Lists the Gremlin graph under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resource: string ,
options: string ,
}
,
}
,
]
,
}
GremlinResources_GetGremlinGraph (new)
Description :  Gets the Gremlin graph under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
graphName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
GremlinResources_CreateUpdateGremlinGraph (new)
Description :  Create or update an Azure Cosmos DB Gremlin graph
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
graphName: string ,
api-version: string ,
createUpdateGremlinGraphParameters:
{
properties:
{
resource:
{
id: string ,
indexingPolicy:
{
automatic: boolean ,
indexingMode: enum ,
includedPaths:
[
{
path: string ,
indexes:
[
{
dataType: enum ,
precision: integer ,
kind: enum ,
}
,
]
,
}
,
]
,
excludedPaths:
[
{
path: string ,
}
,
]
,
compositeIndexes:
[
{
path: string ,
order: enum ,
}
,
]
,
spatialIndexes:
[
{
path: string ,
types:
[
string ,
]
,
}
,
]
,
}
,
partitionKey:
{
paths:
[
string ,
]
,
kind: enum ,
version: integer ,
}
,
defaultTtl: integer ,
uniqueKeyPolicy:
{
uniqueKeys:
[
{
paths:
[
string ,
]
,
}
,
]
,
}
,
conflictResolutionPolicy:
{
mode: enum ,
conflictResolutionPath: string ,
conflictResolutionProcedure: string ,
}
,
}
,
options:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
}
,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
GremlinResources_DeleteGremlinGraph (new)
Description :  Deletes an existing Azure Cosmos DB Gremlin graph.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
graphName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
GremlinResources_GetGremlinGraphThroughput (new)
Description :  Gets the Gremlin graph throughput under an existing Azure Cosmos DB database account with the provided name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
graphName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
GremlinResources_UpdateGremlinGraphThroughput (new)
Description :  Update RUs per second of an Azure Cosmos DB Gremlin graph
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
graphName: string ,
api-version: string ,
updateThroughputParameters:
{
properties:
{
resource:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
autoUpgradePolicy:
{
throughputPolicy:
{
isEnabled: boolean ,
incrementPercent: integer ,
}
,
}
,
targetMaxThroughput: integer ,
}
,
minimumThroughput: string ,
offerReplacePending: string ,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
GremlinResources_MigrateGremlinGraphToAutoscale (new)
Description :  Migrate an Azure Cosmos DB Gremlin graph from manual throughput to autoscale
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}/throughputSettings/default/migrateToAutoscale
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
graphName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
GremlinResources_MigrateGremlinGraphToManualThroughput (new)
Description :  Migrate an Azure Cosmos DB Gremlin graph from autoscale to manual throughput
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}/throughputSettings/default/migrateToManualThroughput
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
graphName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
NotebookWorkspaces_ListByDatabaseAccount (new)
Description :  Gets the notebook workspace resources of an existing Cosmos DB account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
accountName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
notebookServerEndpoint: string ,
status: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
NotebookWorkspaces_Get (new)
Description :  Gets the notebook workspace for a Cosmos DB account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
accountName: string ,
notebookWorkspaceName: string ,
}

⚐ Response (200)

{
properties:
{
notebookServerEndpoint: string ,
status: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
NotebookWorkspaces_CreateOrUpdate (new)
Description :  Creates the notebook workspace for a Cosmos DB account.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
accountName: string ,
notebookWorkspaceName: string ,
notebookCreateUpdateParameters: object ,
}

⚐ Response (200)

{
properties:
{
notebookServerEndpoint: string ,
status: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
NotebookWorkspaces_Delete (new)
Description :  Deletes the notebook workspace for a Cosmos DB account.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
accountName: string ,
notebookWorkspaceName: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
NotebookWorkspaces_ListConnectionInfo (new)
Description :  Retrieves the connection info for the notebook workspace
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}/listConnectionInfo
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
accountName: string ,
notebookWorkspaceName: string ,
}

⚐ Response (200)

{
authToken: string ,
notebookServerEndpoint: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
NotebookWorkspaces_RegenerateAuthToken (new)
Description :  Regenerates the auth token for the notebook workspace
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}/regenerateAuthToken
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
accountName: string ,
notebookWorkspaceName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
NotebookWorkspaces_Start (new)
Description :  Starts the notebook workspace
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}/start
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
accountName: string ,
notebookWorkspaceName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
DatabaseAccounts_Get (removed)
Description :  Retrieves the properties of an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
kind: enum ,
properties:
{
provisioningState: string ,
documentEndpoint: string ,
databaseAccountOfferType: enum ,
ipRules:
[
{
ipAddressOrRange: string ,
}
,
]
,
isVirtualNetworkFilterEnabled: boolean ,
enableAutomaticFailover: boolean ,
consistencyPolicy:
{
defaultConsistencyLevel: enum ,
maxStalenessPrefix: integer ,
maxIntervalInSeconds: integer ,
}
,
capabilities:
[
{
name: string ,
}
,
]
,
writeLocations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
readLocations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
locations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
failoverPolicies:
[
{
id: string ,
locationName: string ,
failoverPriority: integer ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
ignoreMissingVNetServiceEndpoint: boolean ,
}
,
]
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
enableMultipleWriteLocations: boolean ,
enableCassandraConnector: boolean ,
connectorOffer: enum ,
disableKeyBasedMetadataWriteAccess: boolean ,
keyVaultKeyUri: string ,
publicNetworkAccess: enum ,
enableFreeTier: boolean ,
apiProperties:
{
serverVersion: enum ,
}
,
enableAnalyticalStorage: boolean ,
cors:
[
{
allowedOrigins: string ,
allowedMethods: string ,
allowedHeaders: string ,
exposedHeaders: string ,
maxAgeInSeconds: integer ,
}
,
]
,
}
,
}
DatabaseAccounts_Update (removed)
Description :  Updates the properties of an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
updateParameters:
{
tags: object ,
location: string ,
properties:
{
consistencyPolicy:
{
defaultConsistencyLevel: enum ,
maxStalenessPrefix: integer ,
maxIntervalInSeconds: integer ,
}
,
locations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
ipRules:
[
{
ipAddressOrRange: string ,
}
,
]
,
isVirtualNetworkFilterEnabled: boolean ,
enableAutomaticFailover: boolean ,
capabilities:
[
{
name: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
ignoreMissingVNetServiceEndpoint: boolean ,
}
,
]
,
enableMultipleWriteLocations: boolean ,
enableCassandraConnector: boolean ,
connectorOffer: enum ,
disableKeyBasedMetadataWriteAccess: boolean ,
keyVaultKeyUri: string ,
publicNetworkAccess: enum ,
enableFreeTier: boolean ,
apiProperties:
{
serverVersion: enum ,
}
,
enableAnalyticalStorage: boolean ,
cors:
[
{
allowedOrigins: string ,
allowedMethods: string ,
allowedHeaders: string ,
exposedHeaders: string ,
maxAgeInSeconds: integer ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
kind: enum ,
properties:
{
provisioningState: string ,
documentEndpoint: string ,
databaseAccountOfferType: enum ,
ipRules:
[
{
ipAddressOrRange: string ,
}
,
]
,
isVirtualNetworkFilterEnabled: boolean ,
enableAutomaticFailover: boolean ,
consistencyPolicy:
{
defaultConsistencyLevel: enum ,
maxStalenessPrefix: integer ,
maxIntervalInSeconds: integer ,
}
,
capabilities:
[
{
name: string ,
}
,
]
,
writeLocations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
readLocations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
locations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
failoverPolicies:
[
{
id: string ,
locationName: string ,
failoverPriority: integer ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
ignoreMissingVNetServiceEndpoint: boolean ,
}
,
]
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
enableMultipleWriteLocations: boolean ,
enableCassandraConnector: boolean ,
connectorOffer: enum ,
disableKeyBasedMetadataWriteAccess: boolean ,
keyVaultKeyUri: string ,
publicNetworkAccess: enum ,
enableFreeTier: boolean ,
apiProperties:
{
serverVersion: enum ,
}
,
enableAnalyticalStorage: boolean ,
cors:
[
{
allowedOrigins: string ,
allowedMethods: string ,
allowedHeaders: string ,
exposedHeaders: string ,
maxAgeInSeconds: integer ,
}
,
]
,
}
,
}
DatabaseAccounts_CreateOrUpdate (removed)
Description :  Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
createUpdateParameters:
{
kind: enum ,
properties:
{
consistencyPolicy:
{
defaultConsistencyLevel: enum ,
maxStalenessPrefix: integer ,
maxIntervalInSeconds: integer ,
}
,
locations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
databaseAccountOfferType: enum ,
ipRules:
[
{
ipAddressOrRange: string ,
}
,
]
,
isVirtualNetworkFilterEnabled: boolean ,
enableAutomaticFailover: boolean ,
capabilities:
[
{
name: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
ignoreMissingVNetServiceEndpoint: boolean ,
}
,
]
,
enableMultipleWriteLocations: boolean ,
enableCassandraConnector: boolean ,
connectorOffer: enum ,
disableKeyBasedMetadataWriteAccess: boolean ,
keyVaultKeyUri: string ,
publicNetworkAccess: enum ,
enableFreeTier: boolean ,
apiProperties:
{
serverVersion: enum ,
}
,
enableAnalyticalStorage: boolean ,
cors:
[
{
allowedOrigins: string ,
allowedMethods: string ,
allowedHeaders: string ,
exposedHeaders: string ,
maxAgeInSeconds: integer ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
kind: enum ,
properties:
{
provisioningState: string ,
documentEndpoint: string ,
databaseAccountOfferType: enum ,
ipRules:
[
{
ipAddressOrRange: string ,
}
,
]
,
isVirtualNetworkFilterEnabled: boolean ,
enableAutomaticFailover: boolean ,
consistencyPolicy:
{
defaultConsistencyLevel: enum ,
maxStalenessPrefix: integer ,
maxIntervalInSeconds: integer ,
}
,
capabilities:
[
{
name: string ,
}
,
]
,
writeLocations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
readLocations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
locations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
failoverPolicies:
[
{
id: string ,
locationName: string ,
failoverPriority: integer ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
ignoreMissingVNetServiceEndpoint: boolean ,
}
,
]
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
enableMultipleWriteLocations: boolean ,
enableCassandraConnector: boolean ,
connectorOffer: enum ,
disableKeyBasedMetadataWriteAccess: boolean ,
keyVaultKeyUri: string ,
publicNetworkAccess: enum ,
enableFreeTier: boolean ,
apiProperties:
{
serverVersion: enum ,
}
,
enableAnalyticalStorage: boolean ,
cors:
[
{
allowedOrigins: string ,
allowedMethods: string ,
allowedHeaders: string ,
exposedHeaders: string ,
maxAgeInSeconds: integer ,
}
,
]
,
}
,
}
DatabaseAccounts_Delete (removed)
Description :  Deletes an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
DatabaseAccounts_FailoverPriorityChange (removed)
Description :  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.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/failoverPriorityChange
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
failoverParameters:
{
failoverPolicies:
[
{
id: string ,
locationName: string ,
failoverPriority: integer ,
}
,
]
,
}
,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
DatabaseAccounts_List (removed)
Description :  Lists all the Azure Cosmos DB database accounts available under the subscription.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/databaseAccounts
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
kind: enum ,
properties:
{
provisioningState: string ,
documentEndpoint: string ,
databaseAccountOfferType: enum ,
ipRules:
[
{
ipAddressOrRange: string ,
}
,
]
,
isVirtualNetworkFilterEnabled: boolean ,
enableAutomaticFailover: boolean ,
consistencyPolicy:
{
defaultConsistencyLevel: enum ,
maxStalenessPrefix: integer ,
maxIntervalInSeconds: integer ,
}
,
capabilities:
[
{
name: string ,
}
,
]
,
writeLocations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
readLocations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
locations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
failoverPolicies:
[
{
id: string ,
locationName: string ,
failoverPriority: integer ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
ignoreMissingVNetServiceEndpoint: boolean ,
}
,
]
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
enableMultipleWriteLocations: boolean ,
enableCassandraConnector: boolean ,
connectorOffer: enum ,
disableKeyBasedMetadataWriteAccess: boolean ,
keyVaultKeyUri: string ,
publicNetworkAccess: enum ,
enableFreeTier: boolean ,
apiProperties:
{
serverVersion: enum ,
}
,
enableAnalyticalStorage: boolean ,
cors:
[
{
allowedOrigins: string ,
allowedMethods: string ,
allowedHeaders: string ,
exposedHeaders: string ,
maxAgeInSeconds: integer ,
}
,
]
,
}
,
}
,
]
,
}
DatabaseAccounts_ListByResourceGroup (removed)
Description :  Lists all the Azure Cosmos DB database accounts available under the given resource group.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
kind: enum ,
properties:
{
provisioningState: string ,
documentEndpoint: string ,
databaseAccountOfferType: enum ,
ipRules:
[
{
ipAddressOrRange: string ,
}
,
]
,
isVirtualNetworkFilterEnabled: boolean ,
enableAutomaticFailover: boolean ,
consistencyPolicy:
{
defaultConsistencyLevel: enum ,
maxStalenessPrefix: integer ,
maxIntervalInSeconds: integer ,
}
,
capabilities:
[
{
name: string ,
}
,
]
,
writeLocations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
readLocations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
locations:
[
{
id: string ,
locationName: string ,
documentEndpoint: string ,
provisioningState: string ,
failoverPriority: integer ,
isZoneRedundant: boolean ,
}
,
]
,
failoverPolicies:
[
{
id: string ,
locationName: string ,
failoverPriority: integer ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
ignoreMissingVNetServiceEndpoint: boolean ,
}
,
]
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
enableMultipleWriteLocations: boolean ,
enableCassandraConnector: boolean ,
connectorOffer: enum ,
disableKeyBasedMetadataWriteAccess: boolean ,
keyVaultKeyUri: string ,
publicNetworkAccess: enum ,
enableFreeTier: boolean ,
apiProperties:
{
serverVersion: enum ,
}
,
enableAnalyticalStorage: boolean ,
cors:
[
{
allowedOrigins: string ,
allowedMethods: string ,
allowedHeaders: string ,
exposedHeaders: string ,
maxAgeInSeconds: integer ,
}
,
]
,
}
,
}
,
]
,
}
DatabaseAccounts_ListKeys (removed)
Description :  Lists the access keys for the specified Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/listKeys
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
primaryMasterKey: string ,
secondaryMasterKey: string ,
}
DatabaseAccounts_ListConnectionStrings (removed)
Description :  Lists the connection strings for the specified Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/listConnectionStrings
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
connectionStrings:
[
{
connectionString: string ,
description: string ,
}
,
]
,
}
DatabaseAccounts_OfflineRegion (removed)
Description :  Offline the specified region for the specified Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/offlineRegion
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
regionParameterForOffline:
{
region: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
DatabaseAccounts_OnlineRegion (removed)
Description :  Online the specified region for the specified Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/onlineRegion
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
regionParameterForOnline:
{
region: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
DatabaseAccounts_GetReadOnlyKeys (removed)
Description :  Lists the read-only access keys for the specified Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/readonlykeys
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
primaryReadonlyMasterKey: string ,
secondaryReadonlyMasterKey: string ,
}
DatabaseAccounts_ListReadOnlyKeys (removed)
Description :  Lists the read-only access keys for the specified Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/readonlykeys
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
primaryReadonlyMasterKey: string ,
secondaryReadonlyMasterKey: string ,
}
DatabaseAccounts_RegenerateKey (removed)
Description :  Regenerates an access key for the specified Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/regenerateKey
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
keyToRegenerate:
{
keyKind: enum ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{}
DatabaseAccounts_CheckNameExists (removed)
Description :  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.
Reference :  Link ¶

⚼ Request

HEAD:  /providers/Microsoft.DocumentDB/databaseAccountNames/{accountName}
{
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (404)

{}
Operations_List (removed)
Description :  Lists all of the available Cosmos DB Resource Provider operations.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.DocumentDB/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
Provider: string ,
Resource: string ,
Operation: string ,
Description: string ,
}
,
}
,
]
,
nextLink: string ,
}
DatabaseAccounts_ListMetrics (removed)
Description :  Retrieves the metrics determined by the given filter for the given database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/metrics
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
startTime: string ,
endTime: string ,
timeGrain: string ,
unit: enum ,
name:
{
value: string ,
localizedValue: string ,
}
,
metricValues:
[
{
_count: number ,
average: number ,
maximum: number ,
minimum: number ,
timestamp: string ,
total: number ,
}
,
]
,
}
,
]
,
}
Database_ListMetrics (removed)
Description :  Retrieves the metrics determined by the given filter for the given database account and database.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/metrics
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseRid: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
startTime: string ,
endTime: string ,
timeGrain: string ,
unit: enum ,
name:
{
value: string ,
localizedValue: string ,
}
,
metricValues:
[
{
_count: number ,
average: number ,
maximum: number ,
minimum: number ,
timestamp: string ,
total: number ,
}
,
]
,
}
,
]
,
}
Collection_ListMetrics (removed)
Description :  Retrieves the metrics determined by the given filter for the given database account and collection.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/metrics
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseRid: string ,
collectionRid: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
startTime: string ,
endTime: string ,
timeGrain: string ,
unit: enum ,
name:
{
value: string ,
localizedValue: string ,
}
,
metricValues:
[
{
_count: number ,
average: number ,
maximum: number ,
minimum: number ,
timestamp: string ,
total: number ,
}
,
]
,
}
,
]
,
}
CollectionRegion_ListMetrics (removed)
Description :  Retrieves the metrics determined by the given filter for the given database account, collection and region.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/region/{region}/databases/{databaseRid}/collections/{collectionRid}/metrics
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
region: string ,
databaseRid: string ,
collectionRid: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
startTime: string ,
endTime: string ,
timeGrain: string ,
unit: enum ,
name:
{
value: string ,
localizedValue: string ,
}
,
metricValues:
[
{
_count: number ,
average: number ,
maximum: number ,
minimum: number ,
timestamp: string ,
total: number ,
}
,
]
,
}
,
]
,
}
DatabaseAccountRegion_ListMetrics (removed)
Description :  Retrieves the metrics determined by the given filter for the given database account and region.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/region/{region}/metrics
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
region: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
startTime: string ,
endTime: string ,
timeGrain: string ,
unit: enum ,
name:
{
value: string ,
localizedValue: string ,
}
,
metricValues:
[
{
_count: number ,
average: number ,
maximum: number ,
minimum: number ,
timestamp: string ,
total: number ,
}
,
]
,
}
,
]
,
}
PercentileSourceTarget_ListMetrics (removed)
Description :  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
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sourceRegion/{sourceRegion}/targetRegion/{targetRegion}/percentile/metrics
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
sourceRegion: string ,
targetRegion: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
startTime: string ,
endTime: string ,
timeGrain: string ,
unit: enum ,
name:
{
value: string ,
localizedValue: string ,
}
,
metricValues:
[
{
P10: number ,
P25: number ,
P50: number ,
P75: number ,
P90: number ,
P95: number ,
P99: number ,
}
,
]
,
}
,
]
,
}
PercentileTarget_ListMetrics (removed)
Description :  Retrieves the metrics determined by the given filter for the given account target region. This url is only for PBS and Replication Latency data
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/targetRegion/{targetRegion}/percentile/metrics
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
targetRegion: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
startTime: string ,
endTime: string ,
timeGrain: string ,
unit: enum ,
name:
{
value: string ,
localizedValue: string ,
}
,
metricValues:
[
{
P10: number ,
P25: number ,
P50: number ,
P75: number ,
P90: number ,
P95: number ,
P99: number ,
}
,
]
,
}
,
]
,
}
Percentile_ListMetrics (removed)
Description :  Retrieves the metrics determined by the given filter for the given database account. This url is only for PBS and Replication Latency data
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/percentile/metrics
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
startTime: string ,
endTime: string ,
timeGrain: string ,
unit: enum ,
name:
{
value: string ,
localizedValue: string ,
}
,
metricValues:
[
{
P10: number ,
P25: number ,
P50: number ,
P75: number ,
P90: number ,
P95: number ,
P99: number ,
}
,
]
,
}
,
]
,
}
CollectionPartitionRegion_ListMetrics (removed)
Description :  Retrieves the metrics determined by the given filter for the given collection and region, split by partition.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/region/{region}/databases/{databaseRid}/collections/{collectionRid}/partitions/metrics
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
region: string ,
databaseRid: string ,
collectionRid: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
partitionId: string ,
partitionKeyRangeId: string ,
}
,
]
,
}
CollectionPartition_ListMetrics (removed)
Description :  Retrieves the metrics determined by the given filter for the given collection, split by partition.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/partitions/metrics
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseRid: string ,
collectionRid: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
partitionId: string ,
partitionKeyRangeId: string ,
}
,
]
,
}
PartitionKeyRangeId_ListMetrics (removed)
Description :  Retrieves the metrics determined by the given filter for the given partition key range id.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/partitionKeyRangeId/{partitionKeyRangeId}/metrics
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseRid: string ,
collectionRid: string ,
partitionKeyRangeId: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
partitionId: string ,
partitionKeyRangeId: string ,
}
,
]
,
}
PartitionKeyRangeIdRegion_ListMetrics (removed)
Description :  Retrieves the metrics determined by the given filter for the given partition key range id and region.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/region/{region}/databases/{databaseRid}/collections/{collectionRid}/partitionKeyRangeId/{partitionKeyRangeId}/metrics
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
region: string ,
databaseRid: string ,
collectionRid: string ,
partitionKeyRangeId: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
partitionId: string ,
partitionKeyRangeId: string ,
}
,
]
,
}
DatabaseAccounts_ListUsages (removed)
Description :  Retrieves the usages (most recent data) for the given database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/usages
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
unit: enum ,
name:
{
value: string ,
localizedValue: string ,
}
,
quotaPeriod: string ,
limit: integer ,
currentValue: integer ,
}
,
]
,
}
Database_ListUsages (removed)
Description :  Retrieves the usages (most recent data) for the given database.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/usages
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseRid: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
unit: enum ,
name:
{
value: string ,
localizedValue: string ,
}
,
quotaPeriod: string ,
limit: integer ,
currentValue: integer ,
}
,
]
,
}
Collection_ListUsages (removed)
Description :  Retrieves the usages (most recent storage data) for the given collection.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/usages
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseRid: string ,
collectionRid: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
unit: enum ,
name:
{
value: string ,
localizedValue: string ,
}
,
quotaPeriod: string ,
limit: integer ,
currentValue: integer ,
}
,
]
,
}
CollectionPartition_ListUsages (removed)
Description :  Retrieves the usages (most recent storage data) for the given collection, split by partition.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/partitions/usages
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseRid: string ,
collectionRid: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
partitionId: string ,
partitionKeyRangeId: string ,
}
,
]
,
}
Database_ListMetricDefinitions (removed)
Description :  Retrieves metric definitions for the given database.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/metricDefinitions
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseRid: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
metricAvailabilities:
[
{
timeGrain: string ,
retention: string ,
}
,
]
,
primaryAggregationType: enum ,
unit: enum ,
resourceUri: string ,
name:
{
value: string ,
localizedValue: string ,
}
,
}
,
]
,
}
Collection_ListMetricDefinitions (removed)
Description :  Retrieves metric definitions for the given collection.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/metricDefinitions
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseRid: string ,
collectionRid: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
metricAvailabilities:
[
{
timeGrain: string ,
retention: string ,
}
,
]
,
primaryAggregationType: enum ,
unit: enum ,
resourceUri: string ,
name:
{
value: string ,
localizedValue: string ,
}
,
}
,
]
,
}
DatabaseAccounts_ListMetricDefinitions (removed)
Description :  Retrieves metric definitions for the given database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/metricDefinitions
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
metricAvailabilities:
[
{
timeGrain: string ,
retention: string ,
}
,
]
,
primaryAggregationType: enum ,
unit: enum ,
resourceUri: string ,
name:
{
value: string ,
localizedValue: string ,
}
,
}
,
]
,
}
SqlResources_ListSqlDatabases (removed)
Description :  Lists the SQL databases under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resource:
{
_colls: string ,
_users: string ,
}
,
options: string ,
}
,
}
,
]
,
}
SqlResources_GetSqlDatabase (removed)
Description :  Gets the SQL database under an existing Azure Cosmos DB database account with the provided name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource:
{
_colls: string ,
_users: string ,
}
,
options: string ,
}
,
}
SqlResources_CreateUpdateSqlDatabase (removed)
Description :  Create or update an Azure Cosmos DB SQL database
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
createUpdateSqlDatabaseParameters:
{
properties:
{
resource:
{
id: string ,
}
,
options:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
}
,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource:
{
_colls: string ,
_users: string ,
}
,
options: string ,
}
,
}
SqlResources_DeleteSqlDatabase (removed)
Description :  Deletes an existing Azure Cosmos DB SQL database.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
SqlResources_GetSqlDatabaseThroughput (removed)
Description :  Gets the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the provided name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_UpdateSqlDatabaseThroughput (removed)
Description :  Update RUs per second of an Azure Cosmos DB SQL database
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
updateThroughputParameters:
{
properties:
{
resource:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
autoUpgradePolicy:
{
throughputPolicy:
{
isEnabled: boolean ,
incrementPercent: integer ,
}
,
}
,
targetMaxThroughput: integer ,
}
,
minimumThroughput: string ,
offerReplacePending: string ,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_MigrateSqlDatabaseToAutoscale (removed)
Description :  Migrate an Azure Cosmos DB SQL database from manual throughput to autoscale
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default/migrateToAutoscale
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_MigrateSqlDatabaseToManualThroughput (removed)
Description :  Migrate an Azure Cosmos DB SQL database from autoscale to manual throughput
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default/migrateToManualThroughput
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_ListSqlContainers (removed)
Description :  Lists the SQL container under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resource: string ,
options: string ,
}
,
}
,
]
,
}
SqlResources_GetSqlContainer (removed)
Description :  Gets the SQL container under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
SqlResources_CreateUpdateSqlContainer (removed)
Description :  Create or update an Azure Cosmos DB SQL container
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
api-version: string ,
createUpdateSqlContainerParameters:
{
properties:
{
resource:
{
id: string ,
indexingPolicy:
{
automatic: boolean ,
indexingMode: enum ,
includedPaths:
[
{
path: string ,
indexes:
[
{
dataType: enum ,
precision: integer ,
kind: enum ,
}
,
]
,
}
,
]
,
excludedPaths:
[
{
path: string ,
}
,
]
,
compositeIndexes:
[
{
path: string ,
order: enum ,
}
,
]
,
spatialIndexes:
[
{
path: string ,
types:
[
string ,
]
,
}
,
]
,
}
,
partitionKey:
{
paths:
[
string ,
]
,
kind: enum ,
version: integer ,
}
,
defaultTtl: integer ,
uniqueKeyPolicy:
{
uniqueKeys:
[
{
paths:
[
string ,
]
,
}
,
]
,
}
,
conflictResolutionPolicy:
{
mode: enum ,
conflictResolutionPath: string ,
conflictResolutionProcedure: string ,
}
,
analyticalStorageTtl: integer ,
}
,
options:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
}
,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
SqlResources_DeleteSqlContainer (removed)
Description :  Deletes an existing Azure Cosmos DB SQL container.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
SqlResources_GetSqlContainerThroughput (removed)
Description :  Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_UpdateSqlContainerThroughput (removed)
Description :  Update RUs per second of an Azure Cosmos DB SQL container
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
api-version: string ,
updateThroughputParameters:
{
properties:
{
resource:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
autoUpgradePolicy:
{
throughputPolicy:
{
isEnabled: boolean ,
incrementPercent: integer ,
}
,
}
,
targetMaxThroughput: integer ,
}
,
minimumThroughput: string ,
offerReplacePending: string ,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_MigrateSqlContainerToAutoscale (removed)
Description :  Migrate an Azure Cosmos DB SQL container from manual throughput to autoscale
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default/migrateToAutoscale
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_MigrateSqlContainerToManualThroughput (removed)
Description :  Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default/migrateToManualThroughput
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_ListSqlStoredProcedures (removed)
Description :  Lists the SQL storedProcedure under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resource: string ,
}
,
}
,
]
,
}
SqlResources_GetSqlStoredProcedure (removed)
Description :  Gets the SQL storedProcedure under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures/{storedProcedureName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
storedProcedureName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_CreateUpdateSqlStoredProcedure (removed)
Description :  Create or update an Azure Cosmos DB SQL storedProcedure
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures/{storedProcedureName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
storedProcedureName: string ,
api-version: string ,
createUpdateSqlStoredProcedureParameters:
{
properties:
{
resource:
{
id: string ,
body: string ,
}
,
options:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
}
,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_DeleteSqlStoredProcedure (removed)
Description :  Deletes an existing Azure Cosmos DB SQL storedProcedure.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures/{storedProcedureName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
storedProcedureName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
SqlResources_ListSqlUserDefinedFunctions (removed)
Description :  Lists the SQL userDefinedFunction under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resource: string ,
}
,
}
,
]
,
}
SqlResources_GetSqlUserDefinedFunction (removed)
Description :  Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/{userDefinedFunctionName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
userDefinedFunctionName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_CreateUpdateSqlUserDefinedFunction (removed)
Description :  Create or update an Azure Cosmos DB SQL userDefinedFunction
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/{userDefinedFunctionName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
userDefinedFunctionName: string ,
api-version: string ,
createUpdateSqlUserDefinedFunctionParameters:
{
properties:
{
resource:
{
id: string ,
body: string ,
}
,
options:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
}
,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_DeleteSqlUserDefinedFunction (removed)
Description :  Deletes an existing Azure Cosmos DB SQL userDefinedFunction.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/{userDefinedFunctionName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
userDefinedFunctionName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
SqlResources_ListSqlTriggers (removed)
Description :  Lists the SQL trigger under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resource: string ,
}
,
}
,
]
,
}
SqlResources_GetSqlTrigger (removed)
Description :  Gets the SQL trigger under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers/{triggerName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
triggerName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_CreateUpdateSqlTrigger (removed)
Description :  Create or update an Azure Cosmos DB SQL trigger
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers/{triggerName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
triggerName: string ,
api-version: string ,
createUpdateSqlTriggerParameters:
{
properties:
{
resource:
{
id: string ,
body: string ,
triggerType: enum ,
triggerOperation: enum ,
}
,
options:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
}
,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
SqlResources_DeleteSqlTrigger (removed)
Description :  Deletes an existing Azure Cosmos DB SQL trigger.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers/{triggerName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
containerName: string ,
triggerName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
MongoDBResources_ListMongoDBDatabases (removed)
Description :  Lists the MongoDB databases under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resource: string ,
options: string ,
}
,
}
,
]
,
}
MongoDBResources_GetMongoDBDatabase (removed)
Description :  Gets the MongoDB databases under an existing Azure Cosmos DB database account with the provided name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
MongoDBResources_CreateUpdateMongoDBDatabase (removed)
Description :  Create or updates Azure Cosmos DB MongoDB database
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
createUpdateMongoDBDatabaseParameters:
{
properties:
{
resource:
{
id: string ,
}
,
options:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
}
,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
MongoDBResources_DeleteMongoDBDatabase (removed)
Description :  Deletes an existing Azure Cosmos DB MongoDB database.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
MongoDBResources_GetMongoDBDatabaseThroughput (removed)
Description :  Gets the RUs per second of the MongoDB database under an existing Azure Cosmos DB database account with the provided name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
MongoDBResources_UpdateMongoDBDatabaseThroughput (removed)
Description :  Update RUs per second of the an Azure Cosmos DB MongoDB database
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
updateThroughputParameters:
{
properties:
{
resource:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
autoUpgradePolicy:
{
throughputPolicy:
{
isEnabled: boolean ,
incrementPercent: integer ,
}
,
}
,
targetMaxThroughput: integer ,
}
,
minimumThroughput: string ,
offerReplacePending: string ,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
MongoDBResources_MigrateMongoDBDatabaseToAutoscale (removed)
Description :  Migrate an Azure Cosmos DB MongoDB database from manual throughput to autoscale
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default/migrateToAutoscale
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
MongoDBResources_MigrateMongoDBDatabaseToManualThroughput (removed)
Description :  Migrate an Azure Cosmos DB MongoDB database from autoscale to manual throughput
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default/migrateToManualThroughput
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
MongoDBResources_ListMongoDBCollections (removed)
Description :  Lists the MongoDB collection under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resource: string ,
options: string ,
}
,
}
,
]
,
}
MongoDBResources_GetMongoDBCollection (removed)
Description :  Gets the MongoDB collection under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
collectionName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
MongoDBResources_CreateUpdateMongoDBCollection (removed)
Description :  Create or update an Azure Cosmos DB MongoDB Collection
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
collectionName: string ,
api-version: string ,
createUpdateMongoDBCollectionParameters:
{
properties:
{
resource:
{
id: string ,
shardKey: object ,
indexes:
[
{
key:
{
keys:
[
string ,
]
,
}
,
options:
{
expireAfterSeconds: integer ,
unique: boolean ,
}
,
}
,
]
,
analyticalStorageTtl: integer ,
}
,
options:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
}
,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
MongoDBResources_DeleteMongoDBCollection (removed)
Description :  Deletes an existing Azure Cosmos DB MongoDB Collection.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
collectionName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
MongoDBResources_GetMongoDBCollectionThroughput (removed)
Description :  Gets the RUs per second of the MongoDB collection under an existing Azure Cosmos DB database account with the provided name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
collectionName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
MongoDBResources_UpdateMongoDBCollectionThroughput (removed)
Description :  Update the RUs per second of an Azure Cosmos DB MongoDB collection
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
collectionName: string ,
api-version: string ,
updateThroughputParameters:
{
properties:
{
resource:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
autoUpgradePolicy:
{
throughputPolicy:
{
isEnabled: boolean ,
incrementPercent: integer ,
}
,
}
,
targetMaxThroughput: integer ,
}
,
minimumThroughput: string ,
offerReplacePending: string ,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
MongoDBResources_MigrateMongoDBCollectionToAutoscale (removed)
Description :  Migrate an Azure Cosmos DB MongoDB collection from manual throughput to autoscale
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default/migrateToAutoscale
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
collectionName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
MongoDBResources_MigrateMongoDBCollectionToManualThroughput (removed)
Description :  Migrate an Azure Cosmos DB MongoDB collection from autoscale to manual throughput
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default/migrateToManualThroughput
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
collectionName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
TableResources_ListTables (removed)
Description :  Lists the Tables under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resource: string ,
options: string ,
}
,
}
,
]
,
}
TableResources_GetTable (removed)
Description :  Gets the Tables under an existing Azure Cosmos DB database account with the provided name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
tableName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
TableResources_CreateUpdateTable (removed)
Description :  Create or update an Azure Cosmos DB Table
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
tableName: string ,
api-version: string ,
createUpdateTableParameters:
{
properties:
{
resource:
{
id: string ,
}
,
options:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
}
,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
TableResources_DeleteTable (removed)
Description :  Deletes an existing Azure Cosmos DB Table.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
tableName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
TableResources_GetTableThroughput (removed)
Description :  Gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
tableName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
TableResources_UpdateTableThroughput (removed)
Description :  Update RUs per second of an Azure Cosmos DB Table
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
tableName: string ,
api-version: string ,
updateThroughputParameters:
{
properties:
{
resource:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
autoUpgradePolicy:
{
throughputPolicy:
{
isEnabled: boolean ,
incrementPercent: integer ,
}
,
}
,
targetMaxThroughput: integer ,
}
,
minimumThroughput: string ,
offerReplacePending: string ,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
TableResources_MigrateTableToAutoscale (removed)
Description :  Migrate an Azure Cosmos DB Table from manual throughput to autoscale
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default/migrateToAutoscale
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
tableName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
TableResources_MigrateTableToManualThroughput (removed)
Description :  Migrate an Azure Cosmos DB Table from autoscale to manual throughput
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default/migrateToManualThroughput
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
tableName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
CassandraResources_ListCassandraKeyspaces (removed)
Description :  Lists the Cassandra keyspaces under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resource: string ,
options: string ,
}
,
}
,
]
,
}
CassandraResources_GetCassandraKeyspace (removed)
Description :  Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
CassandraResources_CreateUpdateCassandraKeyspace (removed)
Description :  Create or update an Azure Cosmos DB Cassandra keyspace
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
api-version: string ,
createUpdateCassandraKeyspaceParameters:
{
properties:
{
resource:
{
id: string ,
}
,
options:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
}
,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
CassandraResources_DeleteCassandraKeyspace (removed)
Description :  Deletes an existing Azure Cosmos DB Cassandra keyspace.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
CassandraResources_GetCassandraKeyspaceThroughput (removed)
Description :  Gets the RUs per second of the Cassandra Keyspace under an existing Azure Cosmos DB database account with the provided name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
CassandraResources_UpdateCassandraKeyspaceThroughput (removed)
Description :  Update RUs per second of an Azure Cosmos DB Cassandra Keyspace
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
api-version: string ,
updateThroughputParameters:
{
properties:
{
resource:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
autoUpgradePolicy:
{
throughputPolicy:
{
isEnabled: boolean ,
incrementPercent: integer ,
}
,
}
,
targetMaxThroughput: integer ,
}
,
minimumThroughput: string ,
offerReplacePending: string ,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
CassandraResources_MigrateCassandraKeyspaceToAutoscale (removed)
Description :  Migrate an Azure Cosmos DB Cassandra Keyspace from manual throughput to autoscale
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/throughputSettings/default/migrateToAutoscale
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
CassandraResources_MigrateCassandraKeyspaceToManualThroughput (removed)
Description :  Migrate an Azure Cosmos DB Cassandra Keyspace from autoscale to manual throughput
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/throughputSettings/default/migrateToManualThroughput
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
CassandraResources_ListCassandraTables (removed)
Description :  Lists the Cassandra table under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resource: string ,
options: string ,
}
,
}
,
]
,
}
CassandraResources_GetCassandraTable (removed)
Description :  Gets the Cassandra table under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
tableName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
CassandraResources_CreateUpdateCassandraTable (removed)
Description :  Create or update an Azure Cosmos DB Cassandra Table
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
tableName: string ,
api-version: string ,
createUpdateCassandraTableParameters:
{
properties:
{
resource:
{
id: string ,
defaultTtl: integer ,
schema:
{
columns:
[
{
name: string ,
type: string ,
}
,
]
,
partitionKeys:
[
{
name: string ,
}
,
]
,
clusterKeys:
[
{
name: string ,
orderBy: string ,
}
,
]
,
}
,
analyticalStorageTtl: integer ,
}
,
options:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
}
,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
CassandraResources_DeleteCassandraTable (removed)
Description :  Deletes an existing Azure Cosmos DB Cassandra table.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
tableName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
CassandraResources_GetCassandraTableThroughput (removed)
Description :  Gets the RUs per second of the Cassandra table under an existing Azure Cosmos DB database account with the provided name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
tableName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
CassandraResources_UpdateCassandraTableThroughput (removed)
Description :  Update RUs per second of an Azure Cosmos DB Cassandra table
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
tableName: string ,
api-version: string ,
updateThroughputParameters:
{
properties:
{
resource:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
autoUpgradePolicy:
{
throughputPolicy:
{
isEnabled: boolean ,
incrementPercent: integer ,
}
,
}
,
targetMaxThroughput: integer ,
}
,
minimumThroughput: string ,
offerReplacePending: string ,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
CassandraResources_MigrateCassandraTableToAutoscale (removed)
Description :  Migrate an Azure Cosmos DB Cassandra table from manual throughput to autoscale
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}/throughputSettings/default/migrateToAutoscale
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
tableName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
CassandraResources_MigrateCassandraTableToManualThroughput (removed)
Description :  Migrate an Azure Cosmos DB Cassandra table from autoscale to manual throughput
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}/throughputSettings/default/migrateToManualThroughput
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
keyspaceName: string ,
tableName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
GremlinResources_ListGremlinDatabases (removed)
Description :  Lists the Gremlin databases under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resource: string ,
options: string ,
}
,
}
,
]
,
}
GremlinResources_GetGremlinDatabase (removed)
Description :  Gets the Gremlin databases under an existing Azure Cosmos DB database account with the provided name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
GremlinResources_CreateUpdateGremlinDatabase (removed)
Description :  Create or update an Azure Cosmos DB Gremlin database
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
createUpdateGremlinDatabaseParameters:
{
properties:
{
resource:
{
id: string ,
}
,
options:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
}
,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
GremlinResources_DeleteGremlinDatabase (removed)
Description :  Deletes an existing Azure Cosmos DB Gremlin database.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
GremlinResources_GetGremlinDatabaseThroughput (removed)
Description :  Gets the RUs per second of the Gremlin database under an existing Azure Cosmos DB database account with the provided name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
GremlinResources_UpdateGremlinDatabaseThroughput (removed)
Description :  Update RUs per second of an Azure Cosmos DB Gremlin database
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
updateThroughputParameters:
{
properties:
{
resource:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
autoUpgradePolicy:
{
throughputPolicy:
{
isEnabled: boolean ,
incrementPercent: integer ,
}
,
}
,
targetMaxThroughput: integer ,
}
,
minimumThroughput: string ,
offerReplacePending: string ,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
GremlinResources_MigrateGremlinDatabaseToAutoscale (removed)
Description :  Migrate an Azure Cosmos DB Gremlin database from manual throughput to autoscale
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/throughputSettings/default/migrateToAutoscale
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
GremlinResources_MigrateGremlinDatabaseToManualThroughput (removed)
Description :  Migrate an Azure Cosmos DB Gremlin database from autoscale to manual throughput
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/throughputSettings/default/migrateToManualThroughput
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
GremlinResources_ListGremlinGraphs (removed)
Description :  Lists the Gremlin graph under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resource: string ,
options: string ,
}
,
}
,
]
,
}
GremlinResources_GetGremlinGraph (removed)
Description :  Gets the Gremlin graph under an existing Azure Cosmos DB database account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
graphName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
GremlinResources_CreateUpdateGremlinGraph (removed)
Description :  Create or update an Azure Cosmos DB Gremlin graph
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
graphName: string ,
api-version: string ,
createUpdateGremlinGraphParameters:
{
properties:
{
resource:
{
id: string ,
indexingPolicy:
{
automatic: boolean ,
indexingMode: enum ,
includedPaths:
[
{
path: string ,
indexes:
[
{
dataType: enum ,
precision: integer ,
kind: enum ,
}
,
]
,
}
,
]
,
excludedPaths:
[
{
path: string ,
}
,
]
,
compositeIndexes:
[
{
path: string ,
order: enum ,
}
,
]
,
spatialIndexes:
[
{
path: string ,
types:
[
string ,
]
,
}
,
]
,
}
,
partitionKey:
{
paths:
[
string ,
]
,
kind: enum ,
version: integer ,
}
,
defaultTtl: integer ,
uniqueKeyPolicy:
{
uniqueKeys:
[
{
paths:
[
string ,
]
,
}
,
]
,
}
,
conflictResolutionPolicy:
{
mode: enum ,
conflictResolutionPath: string ,
conflictResolutionProcedure: string ,
}
,
}
,
options:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
}
,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
options: string ,
}
,
}
GremlinResources_DeleteGremlinGraph (removed)
Description :  Deletes an existing Azure Cosmos DB Gremlin graph.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
graphName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
GremlinResources_GetGremlinGraphThroughput (removed)
Description :  Gets the Gremlin graph throughput under an existing Azure Cosmos DB database account with the provided name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
graphName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
GremlinResources_UpdateGremlinGraphThroughput (removed)
Description :  Update RUs per second of an Azure Cosmos DB Gremlin graph
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}/throughputSettings/default
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
graphName: string ,
api-version: string ,
updateThroughputParameters:
{
properties:
{
resource:
{
throughput: integer ,
autoscaleSettings:
{
maxThroughput: integer ,
autoUpgradePolicy:
{
throughputPolicy:
{
isEnabled: boolean ,
incrementPercent: integer ,
}
,
}
,
targetMaxThroughput: integer ,
}
,
minimumThroughput: string ,
offerReplacePending: string ,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
GremlinResources_MigrateGremlinGraphToAutoscale (removed)
Description :  Migrate an Azure Cosmos DB Gremlin graph from manual throughput to autoscale
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}/throughputSettings/default/migrateToAutoscale
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
graphName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
GremlinResources_MigrateGremlinGraphToManualThroughput (removed)
Description :  Migrate an Azure Cosmos DB Gremlin graph from autoscale to manual throughput
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}/throughputSettings/default/migrateToManualThroughput
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
databaseName: string ,
graphName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resource: string ,
}
,
}
NotebookWorkspaces_ListByDatabaseAccount (removed)
Description :  Gets the notebook workspace resources of an existing Cosmos DB account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
accountName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
notebookServerEndpoint: string ,
status: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
NotebookWorkspaces_Get (removed)
Description :  Gets the notebook workspace for a Cosmos DB account.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
accountName: string ,
notebookWorkspaceName: string ,
}

⚐ Response (200)

{
properties:
{
notebookServerEndpoint: string ,
status: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
NotebookWorkspaces_CreateOrUpdate (removed)
Description :  Creates the notebook workspace for a Cosmos DB account.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
accountName: string ,
notebookWorkspaceName: string ,
notebookCreateUpdateParameters: object ,
}

⚐ Response (200)

{
properties:
{
notebookServerEndpoint: string ,
status: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
NotebookWorkspaces_Delete (removed)
Description :  Deletes the notebook workspace for a Cosmos DB account.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
accountName: string ,
notebookWorkspaceName: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
NotebookWorkspaces_ListConnectionInfo (removed)
Description :  Retrieves the connection info for the notebook workspace
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}/listConnectionInfo
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
accountName: string ,
notebookWorkspaceName: string ,
}

⚐ Response (200)

{
authToken: string ,
notebookServerEndpoint: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
NotebookWorkspaces_RegenerateAuthToken (removed)
Description :  Regenerates the auth token for the notebook workspace
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}/regenerateAuthToken
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
accountName: string ,
notebookWorkspaceName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
NotebookWorkspaces_Start (removed)
Description :  Starts the notebook workspace
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}/start
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
accountName: string ,
notebookWorkspaceName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}