aac
@datafire/azure_arm_cosmos_db
npm i @datafire/azure_arm_cosmos_db
aac

@datafire/azure_arm_cosmos_db

Integration registry for DataFire

by DataFire

3.0.0 (see all)License:MITTypeScript:Not Found
npm i @datafire/azure_arm_cosmos_db
Readme

@datafire/azure_arm_cosmos_db

Client library for Cosmos DB

Installation and Usage

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

azure_arm_cosmos_db.DatabaseAccounts_CheckNameExists({}).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_arm_cosmos_db.DatabaseAccounts_CheckNameExists({
  "accountName": "",
  "api-version": ""
}, context)

Parameters

  • accountName (string) required - Cosmos DB database account name.
  • api-version (string) required - Version of the API to be used with the client request. The current version is 2015-04-08.

DatabaseAccounts_List

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

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

Parameters

  • api-version (string) required - Version of the API to be used with the client request. The current version is 2015-04-08.
  • subscriptionId (string) required - Azure subscription ID.

DatabaseAccounts_ListByResourceGroup

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

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

Parameters

  • resourceGroupName (string) required - Name of an Azure resource group.
  • api-version (string) required - Version of the API to be used with the client request. The current version is 2015-04-08.
  • subscriptionId (string) required - Azure subscription ID.

DatabaseAccounts_Delete

Deletes an existing Azure Cosmos DB database account.

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

Parameters

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

DatabaseAccounts_Get

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

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

Parameters

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

DatabaseAccounts_Patch

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

azure_arm_cosmos_db.DatabaseAccounts_Patch({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "api-version": "",
  "updateParameters": {
    "tags": {}
  }
}, context)

Parameters

  • subscriptionId (string) required - Azure subscription ID.
  • resourceGroupName (string) required - Name of an Azure resource group.
  • accountName (string) required - Cosmos DB database account name.
  • api-version (string) required - Version of the API to be used with the client request. The current version is 2015-04-08.
  • updateParameters (object) required - Parameters for patching Azure Cosmos DB database account properties.

DatabaseAccounts_CreateOrUpdate

Creates or updates an Azure Cosmos DB database account.

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

Parameters

  • subscriptionId (string) required - Azure subscription ID.
  • resourceGroupName (string) required - Name of an Azure resource group.
  • accountName (string) required - Cosmos DB database account name.
  • api-version (string) required - Version of the API to be used with the client request. The current version is 2015-04-08.
  • createUpdateParameters (object) required - Parameters to create and update Cosmos DB database accounts.

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_arm_cosmos_db.DatabaseAccounts_FailoverPriorityChange({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "api-version": "",
  "failoverParameters": null
}, context)

Parameters

  • subscriptionId (string) required - Azure subscription ID.
  • resourceGroupName (string) required - Name of an Azure resource group.
  • accountName (string) required - Cosmos DB database account name.
  • api-version (string) required - Version of the API to be used with the client request. The current version is 2015-04-08.
  • failoverParameters (undefined) required - The list of new failover policies for the failover priority change.

DatabaseAccounts_ListConnectionStrings

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

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

Parameters

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

DatabaseAccounts_ListKeys

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

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

Parameters

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

DatabaseAccounts_ListReadOnlyKeys

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

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

Parameters

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

DatabaseAccounts_RegenerateKey

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

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

Parameters

  • subscriptionId (string) required - Azure subscription ID.
  • resourceGroupName (string) required - Name of an Azure resource group.
  • accountName (string) required - Cosmos DB database account name.
  • api-version (string) required - Version of the API to be used with the client request. The current version is 2015-04-08.
  • keyToRegenerate (object) required - Parameters to regenerate the keys within the database account.

Downloads/wk

4

GitHub Stars

129

LAST COMMIT

2yrs ago

MAINTAINERS

1

CONTRIBUTORS

10

OPEN ISSUES

12

OPEN PRs

16
VersionTagPublished
3.0.0
latest
5yrs ago
No alternatives found
No tutorials found
Add a tutorial

Rate & Review

100
No reviews found
Be the first to rate