npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/azure_cosmos_db

v5.0.0

Published

DataFire integration for Cosmos DB

Downloads

6

Readme

@datafire/azure_cosmos_db

Client library for Cosmos DB

Installation and Usage

npm install --save @datafire/azure_cosmos_db
let azure_cosmos_db = require('@datafire/azure_cosmos_db').create({
  access_token: "",
  refresh_token: "",
  client_id: "",
  client_secret: "",
  redirect_uri: ""
});

.then(data => {
  console.log(data);
});

Description

Azure Cosmos DB Database Service Resource Provider REST API

Actions

DatabaseAccounts_CheckNameExists

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.

azure_cosmos_db.DatabaseAccounts_CheckNameExists({
  "accountName": "",
  "api-version": ""
}, context)

Input

  • input object
    • accountName required string: Cosmos DB database account name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

Output schema unknown

Operations_List

Lists all of the available Cosmos DB Resource Provider operations.

azure_cosmos_db.Operations_List({
  "api-version": ""
}, context)

Input

  • input object
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

DatabaseAccounts_List

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

azure_cosmos_db.DatabaseAccounts_List({
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • subscriptionId required string: Azure subscription ID.

Output

DatabaseAccounts_ListByResourceGroup

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

azure_cosmos_db.DatabaseAccounts_ListByResourceGroup({
  "resourceGroupName": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceGroupName required string: Name of an Azure resource group.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • subscriptionId required string: Azure subscription ID.

Output

DatabaseAccounts_Delete

Deletes an existing Azure Cosmos DB database account.

azure_cosmos_db.DatabaseAccounts_Delete({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

Output schema unknown

DatabaseAccounts_Get

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

azure_cosmos_db.DatabaseAccounts_Get({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

DatabaseAccounts_Update

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

azure_cosmos_db.DatabaseAccounts_Update({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "api-version": "",
  "updateParameters": {}
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • updateParameters required DatabaseAccountUpdateParameters

Output

DatabaseAccounts_CreateOrUpdate

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

azure_cosmos_db.DatabaseAccounts_CreateOrUpdate({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "api-version": "",
  "createUpdateParameters": {
    "properties": {
      "locations": [],
      "databaseAccountOfferType": ""
    }
  }
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • createUpdateParameters required DatabaseAccountCreateUpdateParameters

Output

CassandraResources_ListCassandraKeyspaces

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

azure_cosmos_db.CassandraResources_ListCassandraKeyspaces({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

CassandraResources_DeleteCassandraKeyspace

Deletes an existing Azure Cosmos DB Cassandra keyspace.

azure_cosmos_db.CassandraResources_DeleteCassandraKeyspace({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "keyspaceName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • keyspaceName required string: Cosmos DB keyspace name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

Output schema unknown

CassandraResources_GetCassandraKeyspace

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

azure_cosmos_db.CassandraResources_GetCassandraKeyspace({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "keyspaceName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • keyspaceName required string: Cosmos DB keyspace name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

CassandraResources_CreateUpdateCassandraKeyspace

Create or update an Azure Cosmos DB Cassandra keyspace

azure_cosmos_db.CassandraResources_CreateUpdateCassandraKeyspace({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "keyspaceName": "",
  "api-version": "",
  "createUpdateCassandraKeyspaceParameters": {
    "properties": {
      "resource": {
        "id": ""
      },
      "options": {}
    }
  }
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • keyspaceName required string: Cosmos DB keyspace name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • createUpdateCassandraKeyspaceParameters required CassandraKeyspaceCreateUpdateParameters

Output

CassandraResources_ListCassandraTables

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

azure_cosmos_db.CassandraResources_ListCassandraTables({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "keyspaceName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • keyspaceName required string: Cosmos DB keyspace name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

CassandraResources_DeleteCassandraTable

Deletes an existing Azure Cosmos DB Cassandra table.

azure_cosmos_db.CassandraResources_DeleteCassandraTable({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "keyspaceName": "",
  "tableName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • keyspaceName required string: Cosmos DB keyspace name.
    • tableName required string: Cosmos DB table name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

Output schema unknown

CassandraResources_GetCassandraTable

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

azure_cosmos_db.CassandraResources_GetCassandraTable({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "keyspaceName": "",
  "tableName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • keyspaceName required string: Cosmos DB keyspace name.
    • tableName required string: Cosmos DB table name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

CassandraResources_CreateUpdateCassandraTable

Create or update an Azure Cosmos DB Cassandra Table

azure_cosmos_db.CassandraResources_CreateUpdateCassandraTable({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "keyspaceName": "",
  "tableName": "",
  "api-version": "",
  "createUpdateCassandraTableParameters": {
    "properties": {
      "resource": {
        "id": ""
      },
      "options": {}
    }
  }
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • keyspaceName required string: Cosmos DB keyspace name.
    • tableName required string: Cosmos DB table name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • createUpdateCassandraTableParameters required CassandraTableCreateUpdateParameters

Output

CassandraResources_GetCassandraTableThroughput

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

azure_cosmos_db.CassandraResources_GetCassandraTableThroughput({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "keyspaceName": "",
  "tableName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • keyspaceName required string: Cosmos DB keyspace name.
    • tableName required string: Cosmos DB table name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

CassandraResources_UpdateCassandraTableThroughput

Update RUs per second of an Azure Cosmos DB Cassandra table

azure_cosmos_db.CassandraResources_UpdateCassandraTableThroughput({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "keyspaceName": "",
  "tableName": "",
  "api-version": "",
  "updateThroughputParameters": {
    "properties": {
      "resource": {
        "throughput": 0
      }
    }
  }
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • keyspaceName required string: Cosmos DB keyspace name.
    • tableName required string: Cosmos DB table name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • updateThroughputParameters required ThroughputSettingsUpdateParameters

Output

CassandraResources_GetCassandraKeyspaceThroughput

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

azure_cosmos_db.CassandraResources_GetCassandraKeyspaceThroughput({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "keyspaceName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • keyspaceName required string: Cosmos DB keyspace name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

CassandraResources_UpdateCassandraKeyspaceThroughput

Update RUs per second of an Azure Cosmos DB Cassandra Keyspace

azure_cosmos_db.CassandraResources_UpdateCassandraKeyspaceThroughput({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "keyspaceName": "",
  "api-version": "",
  "updateThroughputParameters": {
    "properties": {
      "resource": {
        "throughput": 0
      }
    }
  }
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • keyspaceName required string: Cosmos DB keyspace name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • updateThroughputParameters required ThroughputSettingsUpdateParameters

Output

Collection_ListMetricDefinitions

Retrieves metric definitions for the given collection.

azure_cosmos_db.Collection_ListMetricDefinitions({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseRid": "",
  "collectionRid": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseRid required string: Cosmos DB database rid.
    • collectionRid required string: Cosmos DB collection rid.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

Collection_ListMetrics

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

azure_cosmos_db.Collection_ListMetrics({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseRid": "",
  "collectionRid": "",
  "api-version": "",
  "$filter": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseRid required string: Cosmos DB database rid.
    • collectionRid required string: Cosmos DB collection rid.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • $filter required string: An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq.

Output

PartitionKeyRangeId_ListMetrics

Retrieves the metrics determined by the given filter for the given partition key range id.

azure_cosmos_db.PartitionKeyRangeId_ListMetrics({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseRid": "",
  "collectionRid": "",
  "partitionKeyRangeId": "",
  "api-version": "",
  "$filter": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseRid required string: Cosmos DB database rid.
    • collectionRid required string: Cosmos DB collection rid.
    • partitionKeyRangeId required string: Partition Key Range Id for which to get data.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • $filter required string: An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq.

Output

CollectionPartition_ListMetrics

Retrieves the metrics determined by the given filter for the given collection, split by partition.

azure_cosmos_db.CollectionPartition_ListMetrics({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseRid": "",
  "collectionRid": "",
  "api-version": "",
  "$filter": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseRid required string: Cosmos DB database rid.
    • collectionRid required string: Cosmos DB collection rid.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • $filter required string: An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq.

Output

CollectionPartition_ListUsages

Retrieves the usages (most recent storage data) for the given collection, split by partition.

azure_cosmos_db.CollectionPartition_ListUsages({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseRid": "",
  "collectionRid": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseRid required string: Cosmos DB database rid.
    • collectionRid required string: Cosmos DB collection rid.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • $filter string: An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of multiple names).

Output

Collection_ListUsages

Retrieves the usages (most recent storage data) for the given collection.

azure_cosmos_db.Collection_ListUsages({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseRid": "",
  "collectionRid": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseRid required string: Cosmos DB database rid.
    • collectionRid required string: Cosmos DB collection rid.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • $filter string: An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of multiple names).

Output

Database_ListMetricDefinitions

Retrieves metric definitions for the given database.

azure_cosmos_db.Database_ListMetricDefinitions({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseRid": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseRid required string: Cosmos DB database rid.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

Database_ListMetrics

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

azure_cosmos_db.Database_ListMetrics({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseRid": "",
  "api-version": "",
  "$filter": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseRid required string: Cosmos DB database rid.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • $filter required string: An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq.

Output

Database_ListUsages

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

azure_cosmos_db.Database_ListUsages({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseRid": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseRid required string: Cosmos DB database rid.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • $filter string: An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of multiple names).

Output

DatabaseAccounts_FailoverPriorityChange

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.

azure_cosmos_db.DatabaseAccounts_FailoverPriorityChange({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "api-version": "",
  "failoverParameters": null
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • failoverParameters required FailoverPolicies

Output

Output schema unknown

GremlinResources_ListGremlinDatabases

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

azure_cosmos_db.GremlinResources_ListGremlinDatabases({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

GremlinResources_DeleteGremlinDatabase

Deletes an existing Azure Cosmos DB Gremlin database.

azure_cosmos_db.GremlinResources_DeleteGremlinDatabase({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseName required string: Cosmos DB database name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

Output schema unknown

GremlinResources_GetGremlinDatabase

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

azure_cosmos_db.GremlinResources_GetGremlinDatabase({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseName required string: Cosmos DB database name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

GremlinResources_CreateUpdateGremlinDatabase

Create or update an Azure Cosmos DB Gremlin database

azure_cosmos_db.GremlinResources_CreateUpdateGremlinDatabase({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseName": "",
  "api-version": "",
  "createUpdateGremlinDatabaseParameters": {
    "properties": {
      "resource": {
        "id": ""
      },
      "options": {}
    }
  }
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseName required string: Cosmos DB database name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • createUpdateGremlinDatabaseParameters required GremlinDatabaseCreateUpdateParameters

Output

GremlinResources_ListGremlinGraphs

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

azure_cosmos_db.GremlinResources_ListGremlinGraphs({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseName required string: Cosmos DB database name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

GremlinResources_DeleteGremlinGraph

Deletes an existing Azure Cosmos DB Gremlin graph.

azure_cosmos_db.GremlinResources_DeleteGremlinGraph({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseName": "",
  "graphName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseName required string: Cosmos DB database name.
    • graphName required string: Cosmos DB graph name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

Output schema unknown

GremlinResources_GetGremlinGraph

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

azure_cosmos_db.GremlinResources_GetGremlinGraph({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseName": "",
  "graphName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseName required string: Cosmos DB database name.
    • graphName required string: Cosmos DB graph name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

GremlinResources_CreateUpdateGremlinGraph

Create or update an Azure Cosmos DB Gremlin graph

azure_cosmos_db.GremlinResources_CreateUpdateGremlinGraph({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseName": "",
  "graphName": "",
  "api-version": "",
  "createUpdateGremlinGraphParameters": {
    "properties": {
      "resource": {
        "id": ""
      },
      "options": {}
    }
  }
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseName required string: Cosmos DB database name.
    • graphName required string: Cosmos DB graph name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • createUpdateGremlinGraphParameters required GremlinGraphCreateUpdateParameters

Output

GremlinResources_GetGremlinGraphThroughput

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

azure_cosmos_db.GremlinResources_GetGremlinGraphThroughput({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseName": "",
  "graphName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseName required string: Cosmos DB database name.
    • graphName required string: Cosmos DB graph name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

GremlinResources_UpdateGremlinGraphThroughput

Update RUs per second of an Azure Cosmos DB Gremlin graph

azure_cosmos_db.GremlinResources_UpdateGremlinGraphThroughput({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseName": "",
  "graphName": "",
  "api-version": "",
  "updateThroughputParameters": {
    "properties": {
      "resource": {
        "throughput": 0
      }
    }
  }
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseName required string: Cosmos DB database name.
    • graphName required string: Cosmos DB graph name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • updateThroughputParameters required ThroughputSettingsUpdateParameters

Output

GremlinResources_GetGremlinDatabaseThroughput

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

azure_cosmos_db.GremlinResources_GetGremlinDatabaseThroughput({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseName required string: Cosmos DB database name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

GremlinResources_UpdateGremlinDatabaseThroughput

Update RUs per second of an Azure Cosmos DB Gremlin database

azure_cosmos_db.GremlinResources_UpdateGremlinDatabaseThroughput({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseName": "",
  "api-version": "",
  "updateThroughputParameters": {
    "properties": {
      "resource": {
        "throughput": 0
      }
    }
  }
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseName required string: Cosmos DB database name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • updateThroughputParameters required ThroughputSettingsUpdateParameters

Output

DatabaseAccounts_ListConnectionStrings

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

azure_cosmos_db.DatabaseAccounts_ListConnectionStrings({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

DatabaseAccounts_ListKeys

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

azure_cosmos_db.DatabaseAccounts_ListKeys({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

DatabaseAccounts_ListMetricDefinitions

Retrieves metric definitions for the given database account.

azure_cosmos_db.DatabaseAccounts_ListMetricDefinitions({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

DatabaseAccounts_ListMetrics

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

azure_cosmos_db.DatabaseAccounts_ListMetrics({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "api-version": "",
  "$filter": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • $filter required string: An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq.

Output

MongoDBResources_ListMongoDBDatabases

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

azure_cosmos_db.MongoDBResources_ListMongoDBDatabases({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

MongoDBResources_DeleteMongoDBDatabase

Deletes an existing Azure Cosmos DB MongoDB database.

azure_cosmos_db.MongoDBResources_DeleteMongoDBDatabase({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseName required string: Cosmos DB database name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

Output schema unknown

MongoDBResources_GetMongoDBDatabase

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

azure_cosmos_db.MongoDBResources_GetMongoDBDatabase({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseName required string: Cosmos DB database name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

MongoDBResources_CreateUpdateMongoDBDatabase

Create or updates Azure Cosmos DB MongoDB database

azure_cosmos_db.MongoDBResources_CreateUpdateMongoDBDatabase({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseName": "",
  "api-version": "",
  "createUpdateMongoDBDatabaseParameters": {
    "properties": {
      "resource": {
        "id": ""
      },
      "options": {}
    }
  }
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseName required string: Cosmos DB database name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • createUpdateMongoDBDatabaseParameters required MongoDBDatabaseCreateUpdateParameters

Output

MongoDBResources_ListMongoDBCollections

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

azure_cosmos_db.MongoDBResources_ListMongoDBCollections({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseName required string: Cosmos DB database name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

MongoDBResources_DeleteMongoDBCollection

Deletes an existing Azure Cosmos DB MongoDB Collection.

azure_cosmos_db.MongoDBResources_DeleteMongoDBCollection({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseName": "",
  "collectionName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseName required string: Cosmos DB database name.
    • collectionName required string: Cosmos DB collection name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

Output schema unknown

MongoDBResources_GetMongoDBCollection

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

azure_cosmos_db.MongoDBResources_GetMongoDBCollection({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseName": "",
  "collectionName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseName required string: Cosmos DB database name.
    • collectionName required string: Cosmos DB collection name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

MongoDBResources_CreateUpdateMongoDBCollection

Create or update an Azure Cosmos DB MongoDB Collection

azure_cosmos_db.MongoDBResources_CreateUpdateMongoDBCollection({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseName": "",
  "collectionName": "",
  "api-version": "",
  "createUpdateMongoDBCollectionParameters": {
    "properties": {
      "resource": {
        "id": ""
      },
      "options": {}
    }
  }
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseName required string: Cosmos DB database name.
    • collectionName required string: Cosmos DB collection name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • createUpdateMongoDBCollectionParameters required MongoDBCollectionCreateUpdateParameters

Output

MongoDBResources_GetMongoDBCollectionThroughput

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

azure_cosmos_db.MongoDBResources_GetMongoDBCollectionThroughput({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseName": "",
  "collectionName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseName required string: Cosmos DB database name.
    • collectionName required string: Cosmos DB collection name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

MongoDBResources_UpdateMongoDBCollectionThroughput

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

azure_cosmos_db.MongoDBResources_UpdateMongoDBCollectionThroughput({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseName": "",
  "collectionName": "",
  "api-version": "",
  "updateThroughputParameters": {
    "properties": {
      "resource": {
        "throughput": 0
      }
    }
  }
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseName required string: Cosmos DB database name.
    • collectionName required string: Cosmos DB collection name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • updateThroughputParameters required ThroughputSettingsUpdateParameters

Output

MongoDBResources_GetMongoDBDatabaseThroughput

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

azure_cosmos_db.MongoDBResources_GetMongoDBDatabaseThroughput({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseName required string: Cosmos DB database name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

MongoDBResources_UpdateMongoDBDatabaseThroughput

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

azure_cosmos_db.MongoDBResources_UpdateMongoDBDatabaseThroughput({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "databaseName": "",
  "api-version": "",
  "updateThroughputParameters": {
    "properties": {
      "resource": {
        "throughput": 0
      }
    }
  }
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • databaseName required string: Cosmos DB database name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • updateThroughputParameters required ThroughputSettingsUpdateParameters

Output

DatabaseAccounts_OfflineRegion

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

azure_cosmos_db.DatabaseAccounts_OfflineRegion({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "api-version": "",
  "regionParameterForOffline": null
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • regionParameterForOffline required RegionForOnlineOffline

Output

Output schema unknown

DatabaseAccounts_OnlineRegion

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

azure_cosmos_db.DatabaseAccounts_OnlineRegion({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "api-version": "",
  "regionParameterForOnline": null
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • regionParameterForOnline required RegionForOnlineOffline

Output

Output schema unknown

Percentile_ListMetrics

Retrieves the metrics determined by the given filter for the given database account. This url is only for PBS and Replication Latency data

azure_cosmos_db.Percentile_ListMetrics({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "api-version": "",
  "$filter": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • $filter required string: An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq.

Output

DatabaseAccounts_GetReadOnlyKeys

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

azure_cosmos_db.DatabaseAccounts_GetReadOnlyKeys({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

DatabaseAccounts_ListReadOnlyKeys

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

azure_cosmos_db.DatabaseAccounts_ListReadOnlyKeys({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.

Output

DatabaseAccounts_RegenerateKey

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

azure_cosmos_db.DatabaseAccounts_RegenerateKey({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "api-version": "",
  "keyToRegenerate": {
    "keyKind": ""
  }
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • keyToRegenerate required DatabaseAccountRegenerateKeyParameters

Output

Output schema unknown

CollectionRegion_ListMetrics

Retrieves the metrics determined by the given filter for the given database account, collection and region.

azure_cosmos_db.CollectionRegion_ListMetrics({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "region": "",
  "databaseRid": "",
  "collectionRid": "",
  "api-version": "",
  "$filter": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • region required string: Cosmos DB region, with spaces between words and each word capitalized.
    • databaseRid required string: Cosmos DB database rid.
    • collectionRid required string: Cosmos DB collection rid.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • $filter required string: An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq.

Output

PartitionKeyRangeIdRegion_ListMetrics

Retrieves the metrics determined by the given filter for the given partition key range id and region.

azure_cosmos_db.PartitionKeyRangeIdRegion_ListMetrics({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "region": "",
  "databaseRid": "",
  "collectionRid": "",
  "partitionKeyRangeId": "",
  "api-version": "",
  "$filter": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • region required string: Cosmos DB region, with spaces between words and each word capitalized.
    • databaseRid required string: Cosmos DB database rid.
    • collectionRid required string: Cosmos DB collection rid.
    • partitionKeyRangeId required string: Partition Key Range Id for which to get data.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • $filter required string: An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq.

Output

CollectionPartitionRegion_ListMetrics

Retrieves the metrics determined by the given filter for the given collection and region, split by partition.

azure_cosmos_db.CollectionPartitionRegion_ListMetrics({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "region": "",
  "databaseRid": "",
  "collectionRid": "",
  "api-version": "",
  "$filter": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • region required string: Cosmos DB region, with spaces between words and each word capitalized.
    • databaseRid required string: Cosmos DB database rid.
    • collectionRid required string: Cosmos DB collection rid.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • $filter required string: An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq.

Output

DatabaseAccountRegion_ListMetrics

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

azure_cosmos_db.DatabaseAccountRegion_ListMetrics({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "region": "",
  "api-version": "",
  "$filter": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • region required string: Cosmos DB region, with spaces between words and each word capitalized.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • $filter required string: An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq.

Output

PercentileSourceTarget_ListMetrics

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

azure_cosmos_db.PercentileSourceTarget_ListMetrics({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "sourceRegion": "",
  "targetRegion": "",
  "api-version": "",
  "$filter": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID.
    • resourceGroupName required string: Name of an Azure resource group.
    • accountName required string: Cosmos DB database account name.
    • sourceRegion required string: Source region from which data is written. Cosmos DB region, with spaces between words and each word capitalized.
    • targetRegion required string: Target region to which data is written. Cosmos DB region, with spaces between words and each word capitalized.
    • api-version required string: Version of the API to be used with the client request. The current version is 2019-08-01.
    • $filter required string: An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value