[mgmt] cosmosdb release (#31123)
https://github.com/Azure/sdk-release-request/issues/5471
This commit is contained in:
Родитель
4a15893c53
Коммит
f6fca08c34
|
@ -1,15 +1,18 @@
|
|||
# Release History
|
||||
|
||||
## 16.0.1 (Unreleased)
|
||||
|
||||
|
||||
## 16.1.0 (2024-10-08)
|
||||
|
||||
### Features Added
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
### Bugs Fixed
|
||||
|
||||
### Other Changes
|
||||
|
||||
- Added Interface ErrorAdditionalInfo
|
||||
- Added Interface ErrorDetail
|
||||
- Interface ErrorResponse has a new optional parameter error
|
||||
- Interface RestoreParametersBase has a new optional parameter restoreWithTtlDisabled
|
||||
- Enum KnownServerVersion has a new value Seven0
|
||||
- Interface ErrorResponse no longer has parameter code
|
||||
- Interface ErrorResponse no longer has parameter message
|
||||
|
||||
|
||||
## 16.0.0 (2024-06-24)
|
||||
|
||||
### Features Added
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"commit": "768c1f32bbfdcea80bdadf92dc2fba2c114c2dda",
|
||||
"commit": "e048fbb9268458be5114ab9903808161601cd879",
|
||||
"readme": "specification/cosmos-db/resource-manager/readme.md",
|
||||
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\cosmos-db\\resource-manager\\readme.md --use=@autorest/typescript@6.0.23 --generate-sample=true",
|
||||
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\cosmos-db\\resource-manager\\readme.md --use=@autorest/typescript@6.0.27 --generate-sample=true",
|
||||
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
|
||||
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.11",
|
||||
"use": "@autorest/typescript@6.0.23"
|
||||
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.13",
|
||||
"use": "@autorest/typescript@6.0.27"
|
||||
}
|
|
@ -2,5 +2,5 @@
|
|||
"AssetsRepo": "Azure/azure-sdk-assets",
|
||||
"AssetsRepoPrefixPath": "js",
|
||||
"TagPrefix": "js/cosmosdb/arm-cosmosdb",
|
||||
"Tag": "js/cosmosdb/arm-cosmosdb_9072a2f1d4"
|
||||
"Tag": "js/cosmosdb/arm-cosmosdb_4bc8b2a758"
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"sdk-type": "mgmt",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "A generated SDK for CosmosDBManagementClient.",
|
||||
"version": "16.0.1",
|
||||
"version": "16.1.0",
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
},
|
||||
|
@ -31,7 +31,7 @@
|
|||
"@azure-tools/test-credential": "^1.1.0",
|
||||
"@azure-tools/test-recorder": "^3.0.0",
|
||||
"@azure/dev-tool": "^1.0.0",
|
||||
"@azure/identity": "^4.0.1",
|
||||
"@azure/identity": "^4.2.1",
|
||||
"@types/chai": "^4.2.8",
|
||||
"@types/mocha": "^10.0.0",
|
||||
"@types/node": "^18.0.0",
|
||||
|
|
|
@ -643,11 +643,6 @@ export interface ClientEncryptionPolicy {
|
|||
policyFormatVersion: number;
|
||||
}
|
||||
|
||||
// @public
|
||||
export interface CloudError {
|
||||
error?: ErrorResponse;
|
||||
}
|
||||
|
||||
// @public
|
||||
export interface ClusterKey {
|
||||
name?: string;
|
||||
|
@ -1462,10 +1457,24 @@ export type DedicatedGatewayType = string;
|
|||
// @public
|
||||
export type DefaultConsistencyLevel = "Eventual" | "Session" | "BoundedStaleness" | "Strong" | "ConsistentPrefix";
|
||||
|
||||
// @public
|
||||
export interface ErrorAdditionalInfo {
|
||||
readonly info?: Record<string, unknown>;
|
||||
readonly type?: string;
|
||||
}
|
||||
|
||||
// @public
|
||||
export interface ErrorDetail {
|
||||
readonly additionalInfo?: ErrorAdditionalInfo[];
|
||||
readonly code?: string;
|
||||
readonly details?: ErrorDetail[];
|
||||
readonly message?: string;
|
||||
readonly target?: string;
|
||||
}
|
||||
|
||||
// @public
|
||||
export interface ErrorResponse {
|
||||
code?: string;
|
||||
message?: string;
|
||||
error?: ErrorDetail;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
|
@ -2114,6 +2123,7 @@ export enum KnownServerVersion {
|
|||
Five0 = "5.0",
|
||||
Four0 = "4.0",
|
||||
Four2 = "4.2",
|
||||
Seven0 = "7.0",
|
||||
Six0 = "6.0",
|
||||
Three2 = "3.2",
|
||||
Three6 = "3.6"
|
||||
|
@ -3701,6 +3711,7 @@ export interface RestoreParameters extends RestoreParametersBase {
|
|||
export interface RestoreParametersBase {
|
||||
restoreSource?: string;
|
||||
restoreTimestampInUtc?: Date;
|
||||
restoreWithTtlDisabled?: boolean;
|
||||
}
|
||||
|
||||
// @public
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Create or update a managed Cassandra cluster. When updating, you must specify all writable properties. To update only some properties, use PATCH.
|
||||
*
|
||||
* @summary Create or update a managed Cassandra cluster. When updating, you must specify all writable properties. To update only some properties, use PATCH.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBManagedCassandraClusterCreate.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraClusterCreate.json
|
||||
*/
|
||||
async function cosmosDbManagedCassandraClusterCreate() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Deallocate the Managed Cassandra Cluster and Associated Data Centers. Deallocation will deallocate the host virtual machine of this cluster, and reserved the data disk. This won't do anything on an already deallocated cluster. Use Start to restart the cluster.
|
||||
*
|
||||
* @summary Deallocate the Managed Cassandra Cluster and Associated Data Centers. Deallocation will deallocate the host virtual machine of this cluster, and reserved the data disk. This won't do anything on an already deallocated cluster. Use Start to restart the cluster.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBManagedCassandraClusterDeallocate.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraClusterDeallocate.json
|
||||
*/
|
||||
async function cosmosDbManagedCassandraClusterDeallocate() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Deletes a managed Cassandra cluster.
|
||||
*
|
||||
* @summary Deletes a managed Cassandra cluster.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBManagedCassandraClusterDelete.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraClusterDelete.json
|
||||
*/
|
||||
async function cosmosDbManagedCassandraClusterDelete() {
|
||||
const subscriptionId =
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Get the properties of a managed Cassandra cluster.
|
||||
*
|
||||
* @summary Get the properties of a managed Cassandra cluster.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBManagedCassandraClusterGet.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraClusterGet.json
|
||||
*/
|
||||
async function cosmosDbManagedCassandraClusterGet() {
|
||||
const subscriptionId =
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Invoke a command like nodetool for cassandra maintenance
|
||||
*
|
||||
* @summary Invoke a command like nodetool for cassandra maintenance
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBManagedCassandraCommand.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraCommand.json
|
||||
*/
|
||||
async function cosmosDbManagedCassandraCommand() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to List all managed Cassandra clusters in this resource group.
|
||||
*
|
||||
* @summary List all managed Cassandra clusters in this resource group.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBManagedCassandraClusterListByResourceGroup.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraClusterListByResourceGroup.json
|
||||
*/
|
||||
async function cosmosDbManagedCassandraClusterListByResourceGroup() {
|
||||
const subscriptionId =
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to List all managed Cassandra clusters in this subscription.
|
||||
*
|
||||
* @summary List all managed Cassandra clusters in this subscription.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBManagedCassandraClusterListBySubscription.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraClusterListBySubscription.json
|
||||
*/
|
||||
async function cosmosDbManagedCassandraClusterListBySubscription() {
|
||||
const subscriptionId =
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Start the Managed Cassandra Cluster and Associated Data Centers. Start will start the host virtual machine of this cluster with reserved data disk. This won't do anything on an already running cluster. Use Deallocate to deallocate the cluster.
|
||||
*
|
||||
* @summary Start the Managed Cassandra Cluster and Associated Data Centers. Start will start the host virtual machine of this cluster with reserved data disk. This won't do anything on an already running cluster. Use Deallocate to deallocate the cluster.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBManagedCassandraClusterStart.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraClusterStart.json
|
||||
*/
|
||||
async function cosmosDbManagedCassandraClusterStart() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Gets the CPU, memory, and disk usage statistics for each Cassandra node in a cluster.
|
||||
*
|
||||
* @summary Gets the CPU, memory, and disk usage statistics for each Cassandra node in a cluster.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBManagedCassandraStatus.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraStatus.json
|
||||
*/
|
||||
async function cosmosDbManagedCassandraStatus() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Updates some of the properties of a managed Cassandra cluster.
|
||||
*
|
||||
* @summary Updates some of the properties of a managed Cassandra cluster.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBManagedCassandraClusterPatch.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraClusterPatch.json
|
||||
*/
|
||||
async function cosmosDbManagedCassandraClusterPatch() {
|
||||
const subscriptionId =
|
||||
|
|
|
@ -21,7 +21,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Create or update a managed Cassandra data center. When updating, overwrite all properties. To update only some properties, use PATCH.
|
||||
*
|
||||
* @summary Create or update a managed Cassandra data center. When updating, overwrite all properties. To update only some properties, use PATCH.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBManagedCassandraDataCenterCreate.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraDataCenterCreate.json
|
||||
*/
|
||||
async function cosmosDbManagedCassandraDataCenterCreate() {
|
||||
const subscriptionId =
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Delete a managed Cassandra data center.
|
||||
*
|
||||
* @summary Delete a managed Cassandra data center.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBManagedCassandraDataCenterDelete.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraDataCenterDelete.json
|
||||
*/
|
||||
async function cosmosDbManagedCassandraDataCenterDelete() {
|
||||
const subscriptionId =
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Get the properties of a managed Cassandra data center.
|
||||
*
|
||||
* @summary Get the properties of a managed Cassandra data center.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBManagedCassandraDataCenterGet.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraDataCenterGet.json
|
||||
*/
|
||||
async function cosmosDbManagedCassandraDataCenterGet() {
|
||||
const subscriptionId =
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to List all data centers in a particular managed Cassandra cluster.
|
||||
*
|
||||
* @summary List all data centers in a particular managed Cassandra cluster.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBManagedCassandraDataCenterList.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraDataCenterList.json
|
||||
*/
|
||||
async function cosmosDbManagedCassandraDataCenterList() {
|
||||
const subscriptionId =
|
||||
|
|
|
@ -21,7 +21,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Update some of the properties of a managed Cassandra data center.
|
||||
*
|
||||
* @summary Update some of the properties of a managed Cassandra data center.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBManagedCassandraDataCenterPatch.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraDataCenterPatch.json
|
||||
*/
|
||||
async function cosmosDbManagedCassandraDataCenterUpdate() {
|
||||
const subscriptionId =
|
||||
|
|
|
@ -21,7 +21,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Create or update an Azure Cosmos DB Cassandra keyspace
|
||||
*
|
||||
* @summary Create or update an Azure Cosmos DB Cassandra keyspace
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBCassandraKeyspaceCreateUpdate.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraKeyspaceCreateUpdate.json
|
||||
*/
|
||||
async function cosmosDbCassandraKeyspaceCreateUpdate() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -21,7 +21,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Create or update an Azure Cosmos DB Cassandra Table
|
||||
*
|
||||
* @summary Create or update an Azure Cosmos DB Cassandra Table
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBCassandraTableCreateUpdate.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraTableCreateUpdate.json
|
||||
*/
|
||||
async function cosmosDbCassandraTableCreateUpdate() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Deletes an existing Azure Cosmos DB Cassandra keyspace.
|
||||
*
|
||||
* @summary Deletes an existing Azure Cosmos DB Cassandra keyspace.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBCassandraKeyspaceDelete.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraKeyspaceDelete.json
|
||||
*/
|
||||
async function cosmosDbCassandraKeyspaceDelete() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Deletes an existing Azure Cosmos DB Cassandra table.
|
||||
*
|
||||
* @summary Deletes an existing Azure Cosmos DB Cassandra table.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBCassandraTableDelete.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraTableDelete.json
|
||||
*/
|
||||
async function cosmosDbCassandraTableDelete() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name.
|
||||
*
|
||||
* @summary Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBCassandraKeyspaceGet.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraKeyspaceGet.json
|
||||
*/
|
||||
async function cosmosDbCassandraKeyspaceGet() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Gets the RUs per second of the Cassandra Keyspace under an existing Azure Cosmos DB database account with the provided name.
|
||||
*
|
||||
* @summary Gets the RUs per second of the Cassandra Keyspace under an existing Azure Cosmos DB database account with the provided name.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBCassandraKeyspaceThroughputGet.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraKeyspaceThroughputGet.json
|
||||
*/
|
||||
async function cosmosDbCassandraKeyspaceThroughputGet() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Gets the Cassandra table under an existing Azure Cosmos DB database account.
|
||||
*
|
||||
* @summary Gets the Cassandra table under an existing Azure Cosmos DB database account.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBCassandraTableGet.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraTableGet.json
|
||||
*/
|
||||
async function cosmosDbCassandraTableGet() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Gets the RUs per second of the Cassandra table under an existing Azure Cosmos DB database account with the provided name.
|
||||
*
|
||||
* @summary Gets the RUs per second of the Cassandra table under an existing Azure Cosmos DB database account with the provided name.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBCassandraTableThroughputGet.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraTableThroughputGet.json
|
||||
*/
|
||||
async function cosmosDbCassandraTableThroughputGet() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Lists the Cassandra keyspaces under an existing Azure Cosmos DB database account.
|
||||
*
|
||||
* @summary Lists the Cassandra keyspaces under an existing Azure Cosmos DB database account.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBCassandraKeyspaceList.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraKeyspaceList.json
|
||||
*/
|
||||
async function cosmosDbCassandraKeyspaceList() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Lists the Cassandra table under an existing Azure Cosmos DB database account.
|
||||
*
|
||||
* @summary Lists the Cassandra table under an existing Azure Cosmos DB database account.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBCassandraTableList.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraTableList.json
|
||||
*/
|
||||
async function cosmosDbCassandraTableList() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Migrate an Azure Cosmos DB Cassandra Keyspace from manual throughput to autoscale
|
||||
*
|
||||
* @summary Migrate an Azure Cosmos DB Cassandra Keyspace from manual throughput to autoscale
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBCassandraKeyspaceMigrateToAutoscale.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraKeyspaceMigrateToAutoscale.json
|
||||
*/
|
||||
async function cosmosDbCassandraKeyspaceMigrateToAutoscale() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Migrate an Azure Cosmos DB Cassandra Keyspace from autoscale to manual throughput
|
||||
*
|
||||
* @summary Migrate an Azure Cosmos DB Cassandra Keyspace from autoscale to manual throughput
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBCassandraKeyspaceMigrateToManualThroughput.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraKeyspaceMigrateToManualThroughput.json
|
||||
*/
|
||||
async function cosmosDbCassandraKeyspaceMigrateToManualThroughput() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Migrate an Azure Cosmos DB Cassandra table from manual throughput to autoscale
|
||||
*
|
||||
* @summary Migrate an Azure Cosmos DB Cassandra table from manual throughput to autoscale
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBCassandraTableMigrateToAutoscale.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraTableMigrateToAutoscale.json
|
||||
*/
|
||||
async function cosmosDbCassandraTableMigrateToAutoscale() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Migrate an Azure Cosmos DB Cassandra table from autoscale to manual throughput
|
||||
*
|
||||
* @summary Migrate an Azure Cosmos DB Cassandra table from autoscale to manual throughput
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBCassandraTableMigrateToManualThroughput.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraTableMigrateToManualThroughput.json
|
||||
*/
|
||||
async function cosmosDbCassandraTableMigrateToManualThroughput() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -21,7 +21,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Update RUs per second of an Azure Cosmos DB Cassandra Keyspace
|
||||
*
|
||||
* @summary Update RUs per second of an Azure Cosmos DB Cassandra Keyspace
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBCassandraKeyspaceThroughputUpdate.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraKeyspaceThroughputUpdate.json
|
||||
*/
|
||||
async function cosmosDbCassandraKeyspaceThroughputUpdate() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -21,7 +21,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Update RUs per second of an Azure Cosmos DB Cassandra table
|
||||
*
|
||||
* @summary Update RUs per second of an Azure Cosmos DB Cassandra table
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBCassandraTableThroughputUpdate.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraTableThroughputUpdate.json
|
||||
*/
|
||||
async function cosmosDbCassandraTableThroughputUpdate() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Retrieves metric definitions for the given collection.
|
||||
*
|
||||
* @summary Retrieves metric definitions for the given collection.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBCollectionGetMetricDefinitions.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCollectionGetMetricDefinitions.json
|
||||
*/
|
||||
async function cosmosDbCollectionGetMetricDefinitions() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Retrieves the metrics determined by the given filter for the given database account and collection.
|
||||
*
|
||||
* @summary Retrieves the metrics determined by the given filter for the given database account and collection.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBCollectionGetMetrics.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCollectionGetMetrics.json
|
||||
*/
|
||||
async function cosmosDbCollectionGetMetrics() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -21,7 +21,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Retrieves the usages (most recent storage data) for the given collection.
|
||||
*
|
||||
* @summary Retrieves the usages (most recent storage data) for the given collection.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBCollectionGetUsages.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCollectionGetUsages.json
|
||||
*/
|
||||
async function cosmosDbCollectionGetUsages() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Retrieves the metrics determined by the given filter for the given collection, split by partition.
|
||||
*
|
||||
* @summary Retrieves the metrics determined by the given filter for the given collection, split by partition.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBCollectionPartitionGetMetrics.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCollectionPartitionGetMetrics.json
|
||||
*/
|
||||
async function cosmosDbDatabaseAccountRegionGetMetrics() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -21,7 +21,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Retrieves the usages (most recent storage data) for the given collection, split by partition.
|
||||
*
|
||||
* @summary Retrieves the usages (most recent storage data) for the given collection, split by partition.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBCollectionPartitionGetUsages.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCollectionPartitionGetUsages.json
|
||||
*/
|
||||
async function cosmosDbCollectionGetUsages() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Retrieves the metrics determined by the given filter for the given collection and region, split by partition.
|
||||
*
|
||||
* @summary Retrieves the metrics determined by the given filter for the given collection and region, split by partition.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBCollectionPartitionRegionGetMetrics.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCollectionPartitionRegionGetMetrics.json
|
||||
*/
|
||||
async function cosmosDbDatabaseAccountRegionGetMetrics() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Retrieves the metrics determined by the given filter for the given database account, collection and region.
|
||||
*
|
||||
* @summary Retrieves the metrics determined by the given filter for the given database account, collection and region.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRegionCollectionGetMetrics.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRegionCollectionGetMetrics.json
|
||||
*/
|
||||
async function cosmosDbRegionCollectionGetMetrics() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Retrieves the metrics determined by the given filter for the given database account and region.
|
||||
*
|
||||
* @summary Retrieves the metrics determined by the given filter for the given database account and region.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDatabaseAccountRegionGetMetrics.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountRegionGetMetrics.json
|
||||
*/
|
||||
async function cosmosDbDatabaseAccountRegionGetMetrics() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to 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.
|
||||
*
|
||||
* @summary 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.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDatabaseAccountCheckNameExists.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountCheckNameExists.json
|
||||
*/
|
||||
async function cosmosDbDatabaseAccountCheckNameExists() {
|
||||
const subscriptionId =
|
||||
|
|
|
@ -21,7 +21,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account.
|
||||
*
|
||||
* @summary Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDatabaseAccountCreateMax.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountCreateMax.json
|
||||
*/
|
||||
async function cosmosDbDatabaseAccountCreateMax() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
@ -102,7 +102,7 @@ async function cosmosDbDatabaseAccountCreateMax() {
|
|||
* This sample demonstrates how to Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account.
|
||||
*
|
||||
* @summary Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDatabaseAccountCreateMin.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountCreateMin.json
|
||||
*/
|
||||
async function cosmosDbDatabaseAccountCreateMin() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
@ -134,7 +134,7 @@ async function cosmosDbDatabaseAccountCreateMin() {
|
|||
* This sample demonstrates how to Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account.
|
||||
*
|
||||
* @summary Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestoreDatabaseAccountCreateUpdate.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestoreDatabaseAccountCreateUpdate.json
|
||||
*/
|
||||
async function cosmosDbRestoreDatabaseAccountCreateUpdateJson() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
@ -181,6 +181,7 @@ async function cosmosDbRestoreDatabaseAccountCreateUpdateJson() {
|
|||
restoreSource:
|
||||
"/subscriptions/subid/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/1a97b4bb-f6a0-430e-ade1-638d781830cc",
|
||||
restoreTimestampInUtc: new Date("2021-03-11T22:05:09Z"),
|
||||
restoreWithTtlDisabled: false,
|
||||
},
|
||||
tags: {},
|
||||
};
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Deletes an existing Azure Cosmos DB database account.
|
||||
*
|
||||
* @summary Deletes an existing Azure Cosmos DB database account.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDatabaseAccountDelete.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountDelete.json
|
||||
*/
|
||||
async function cosmosDbDatabaseAccountDelete() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -21,7 +21,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to 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.
|
||||
*
|
||||
* @summary 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.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDatabaseAccountFailoverPriorityChange.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountFailoverPriorityChange.json
|
||||
*/
|
||||
async function cosmosDbDatabaseAccountFailoverPriorityChange() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Lists the read-only access keys for the specified Azure Cosmos DB database account.
|
||||
*
|
||||
* @summary Lists the read-only access keys for the specified Azure Cosmos DB database account.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDatabaseAccountListReadOnlyKeys.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountListReadOnlyKeys.json
|
||||
*/
|
||||
async function cosmosDbDatabaseAccountListReadOnlyKeys() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Retrieves the properties of an existing Azure Cosmos DB database account.
|
||||
*
|
||||
* @summary Retrieves the properties of an existing Azure Cosmos DB database account.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDatabaseAccountGet.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountGet.json
|
||||
*/
|
||||
async function cosmosDbDatabaseAccountGet() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Lists all the Azure Cosmos DB database accounts available under the given resource group.
|
||||
*
|
||||
* @summary Lists all the Azure Cosmos DB database accounts available under the given resource group.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDatabaseAccountListByResourceGroup.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountListByResourceGroup.json
|
||||
*/
|
||||
async function cosmosDbDatabaseAccountListByResourceGroup() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Lists the connection strings for the specified Azure Cosmos DB database account.
|
||||
*
|
||||
* @summary Lists the connection strings for the specified Azure Cosmos DB database account.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDatabaseAccountListConnectionStrings.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountListConnectionStrings.json
|
||||
*/
|
||||
async function cosmosDbDatabaseAccountListConnectionStrings() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
@ -37,7 +37,7 @@ async function cosmosDbDatabaseAccountListConnectionStrings() {
|
|||
* This sample demonstrates how to Lists the connection strings for the specified Azure Cosmos DB database account.
|
||||
*
|
||||
* @summary Lists the connection strings for the specified Azure Cosmos DB database account.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDatabaseAccountListConnectionStringsMongo.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountListConnectionStringsMongo.json
|
||||
*/
|
||||
async function cosmosDbDatabaseAccountListConnectionStringsMongo() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Lists the access keys for the specified Azure Cosmos DB database account.
|
||||
*
|
||||
* @summary Lists the access keys for the specified Azure Cosmos DB database account.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDatabaseAccountListKeys.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountListKeys.json
|
||||
*/
|
||||
async function cosmosDbDatabaseAccountListKeys() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Retrieves metric definitions for the given database account.
|
||||
*
|
||||
* @summary Retrieves metric definitions for the given database account.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json
|
||||
*/
|
||||
async function cosmosDbDatabaseAccountGetMetricDefinitions() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Retrieves the metrics determined by the given filter for the given database account.
|
||||
*
|
||||
* @summary Retrieves the metrics determined by the given filter for the given database account.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDatabaseAccountGetMetrics.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountGetMetrics.json
|
||||
*/
|
||||
async function cosmosDbDatabaseAccountGetMetrics() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Lists the read-only access keys for the specified Azure Cosmos DB database account.
|
||||
*
|
||||
* @summary Lists the read-only access keys for the specified Azure Cosmos DB database account.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDatabaseAccountListReadOnlyKeys.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountListReadOnlyKeys.json
|
||||
*/
|
||||
async function cosmosDbDatabaseAccountListReadOnlyKeys() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Lists all the Azure Cosmos DB database accounts available under the subscription.
|
||||
*
|
||||
* @summary Lists all the Azure Cosmos DB database accounts available under the subscription.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDatabaseAccountList.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountList.json
|
||||
*/
|
||||
async function cosmosDbDatabaseAccountList() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -21,7 +21,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Retrieves the usages (most recent data) for the given database account.
|
||||
*
|
||||
* @summary Retrieves the usages (most recent data) for the given database account.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDatabaseAccountGetUsages.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountGetUsages.json
|
||||
*/
|
||||
async function cosmosDbDatabaseAccountGetUsages() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -21,7 +21,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Offline the specified region for the specified Azure Cosmos DB database account.
|
||||
*
|
||||
* @summary Offline the specified region for the specified Azure Cosmos DB database account.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDatabaseAccountOfflineRegion.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountOfflineRegion.json
|
||||
*/
|
||||
async function cosmosDbDatabaseAccountOfflineRegion() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -21,7 +21,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Online the specified region for the specified Azure Cosmos DB database account.
|
||||
*
|
||||
* @summary Online the specified region for the specified Azure Cosmos DB database account.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDatabaseAccountOnlineRegion.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountOnlineRegion.json
|
||||
*/
|
||||
async function cosmosDbDatabaseAccountOnlineRegion() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -21,7 +21,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Regenerates an access key for the specified Azure Cosmos DB database account.
|
||||
*
|
||||
* @summary Regenerates an access key for the specified Azure Cosmos DB database account.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDatabaseAccountRegenerateKey.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountRegenerateKey.json
|
||||
*/
|
||||
async function cosmosDbDatabaseAccountRegenerateKey() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -21,7 +21,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Updates the properties of an existing Azure Cosmos DB database account.
|
||||
*
|
||||
* @summary Updates the properties of an existing Azure Cosmos DB database account.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDatabaseAccountPatch.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountPatch.json
|
||||
*/
|
||||
async function cosmosDbDatabaseAccountPatch() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Retrieves metric definitions for the given database.
|
||||
*
|
||||
* @summary Retrieves metric definitions for the given database.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDatabaseGetMetricDefinitions.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseGetMetricDefinitions.json
|
||||
*/
|
||||
async function cosmosDbDatabaseGetMetricDefinitions() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Retrieves the metrics determined by the given filter for the given database account and database.
|
||||
*
|
||||
* @summary Retrieves the metrics determined by the given filter for the given database account and database.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDatabaseGetMetrics.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseGetMetrics.json
|
||||
*/
|
||||
async function cosmosDbDatabaseGetMetrics() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -21,7 +21,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Retrieves the usages (most recent data) for the given database.
|
||||
*
|
||||
* @summary Retrieves the usages (most recent data) for the given database.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDatabaseGetUsages.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseGetUsages.json
|
||||
*/
|
||||
async function cosmosDbDatabaseGetUsages() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -21,7 +21,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Create or update an Azure Cosmos DB Gremlin database
|
||||
*
|
||||
* @summary Create or update an Azure Cosmos DB Gremlin database
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBGremlinDatabaseCreateUpdate.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinDatabaseCreateUpdate.json
|
||||
*/
|
||||
async function cosmosDbGremlinDatabaseCreateUpdate() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -21,7 +21,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Create or update an Azure Cosmos DB Gremlin graph
|
||||
*
|
||||
* @summary Create or update an Azure Cosmos DB Gremlin graph
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBGremlinGraphCreateUpdate.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinGraphCreateUpdate.json
|
||||
*/
|
||||
async function cosmosDbGremlinGraphCreateUpdate() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Deletes an existing Azure Cosmos DB Gremlin database.
|
||||
*
|
||||
* @summary Deletes an existing Azure Cosmos DB Gremlin database.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBGremlinDatabaseDelete.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinDatabaseDelete.json
|
||||
*/
|
||||
async function cosmosDbGremlinDatabaseDelete() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Deletes an existing Azure Cosmos DB Gremlin graph.
|
||||
*
|
||||
* @summary Deletes an existing Azure Cosmos DB Gremlin graph.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBGremlinGraphDelete.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinGraphDelete.json
|
||||
*/
|
||||
async function cosmosDbGremlinGraphDelete() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Gets the Gremlin databases under an existing Azure Cosmos DB database account with the provided name.
|
||||
*
|
||||
* @summary Gets the Gremlin databases under an existing Azure Cosmos DB database account with the provided name.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBGremlinDatabaseGet.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinDatabaseGet.json
|
||||
*/
|
||||
async function cosmosDbGremlinDatabaseGet() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Gets the RUs per second of the Gremlin database under an existing Azure Cosmos DB database account with the provided name.
|
||||
*
|
||||
* @summary Gets the RUs per second of the Gremlin database under an existing Azure Cosmos DB database account with the provided name.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBGremlinDatabaseThroughputGet.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinDatabaseThroughputGet.json
|
||||
*/
|
||||
async function cosmosDbGremlinDatabaseThroughputGet() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Gets the Gremlin graph under an existing Azure Cosmos DB database account.
|
||||
*
|
||||
* @summary Gets the Gremlin graph under an existing Azure Cosmos DB database account.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBGremlinGraphGet.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinGraphGet.json
|
||||
*/
|
||||
async function cosmosDbGremlinGraphGet() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Gets the Gremlin graph throughput under an existing Azure Cosmos DB database account with the provided name.
|
||||
*
|
||||
* @summary Gets the Gremlin graph throughput under an existing Azure Cosmos DB database account with the provided name.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBGremlinGraphThroughputGet.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinGraphThroughputGet.json
|
||||
*/
|
||||
async function cosmosDbGremlinGraphThroughputGet() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Lists the Gremlin databases under an existing Azure Cosmos DB database account.
|
||||
*
|
||||
* @summary Lists the Gremlin databases under an existing Azure Cosmos DB database account.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBGremlinDatabaseList.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinDatabaseList.json
|
||||
*/
|
||||
async function cosmosDbGremlinDatabaseList() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Lists the Gremlin graph under an existing Azure Cosmos DB database account.
|
||||
*
|
||||
* @summary Lists the Gremlin graph under an existing Azure Cosmos DB database account.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBGremlinGraphList.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinGraphList.json
|
||||
*/
|
||||
async function cosmosDbGremlinGraphList() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Migrate an Azure Cosmos DB Gremlin database from manual throughput to autoscale
|
||||
*
|
||||
* @summary Migrate an Azure Cosmos DB Gremlin database from manual throughput to autoscale
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBGremlinDatabaseMigrateToAutoscale.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinDatabaseMigrateToAutoscale.json
|
||||
*/
|
||||
async function cosmosDbGremlinDatabaseMigrateToAutoscale() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Migrate an Azure Cosmos DB Gremlin database from autoscale to manual throughput
|
||||
*
|
||||
* @summary Migrate an Azure Cosmos DB Gremlin database from autoscale to manual throughput
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBGremlinDatabaseMigrateToManualThroughput.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinDatabaseMigrateToManualThroughput.json
|
||||
*/
|
||||
async function cosmosDbGremlinDatabaseMigrateToManualThroughput() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Migrate an Azure Cosmos DB Gremlin graph from manual throughput to autoscale
|
||||
*
|
||||
* @summary Migrate an Azure Cosmos DB Gremlin graph from manual throughput to autoscale
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBGremlinGraphMigrateToAutoscale.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinGraphMigrateToAutoscale.json
|
||||
*/
|
||||
async function cosmosDbGremlinGraphMigrateToAutoscale() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Migrate an Azure Cosmos DB Gremlin graph from autoscale to manual throughput
|
||||
*
|
||||
* @summary Migrate an Azure Cosmos DB Gremlin graph from autoscale to manual throughput
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBGremlinGraphMigrateToManualThroughput.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinGraphMigrateToManualThroughput.json
|
||||
*/
|
||||
async function cosmosDbGremlinGraphMigrateToManualThroughput() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -21,7 +21,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Retrieves continuous backup information for a gremlin graph.
|
||||
*
|
||||
* @summary Retrieves continuous backup information for a gremlin graph.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBGremlinGraphBackupInformation.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinGraphBackupInformation.json
|
||||
*/
|
||||
async function cosmosDbGremlinGraphBackupInformation() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -21,7 +21,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Update RUs per second of an Azure Cosmos DB Gremlin database
|
||||
*
|
||||
* @summary Update RUs per second of an Azure Cosmos DB Gremlin database
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBGremlinDatabaseThroughputUpdate.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinDatabaseThroughputUpdate.json
|
||||
*/
|
||||
async function cosmosDbGremlinDatabaseThroughputUpdate() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -21,7 +21,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Update RUs per second of an Azure Cosmos DB Gremlin graph
|
||||
*
|
||||
* @summary Update RUs per second of an Azure Cosmos DB Gremlin graph
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBGremlinGraphThroughputUpdate.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinGraphThroughputUpdate.json
|
||||
*/
|
||||
async function cosmosDbGremlinGraphThroughputUpdate() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Get the properties of an existing Cosmos DB location
|
||||
*
|
||||
* @summary Get the properties of an existing Cosmos DB location
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBLocationGet.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBLocationGet.json
|
||||
*/
|
||||
async function cosmosDbLocationGet() {
|
||||
const subscriptionId =
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to List Cosmos DB locations and their properties
|
||||
*
|
||||
* @summary List Cosmos DB locations and their properties
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBLocationList.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBLocationList.json
|
||||
*/
|
||||
async function cosmosDbLocationList() {
|
||||
const subscriptionId =
|
||||
|
|
|
@ -21,7 +21,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Create or update an Azure Cosmos DB MongoDB Collection
|
||||
*
|
||||
* @summary Create or update an Azure Cosmos DB MongoDB Collection
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBCollectionCreateUpdate.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionCreateUpdate.json
|
||||
*/
|
||||
async function cosmosDbMongoDbcollectionCreateUpdate() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -21,7 +21,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Create or updates Azure Cosmos DB MongoDB database
|
||||
*
|
||||
* @summary Create or updates Azure Cosmos DB MongoDB database
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBDatabaseCreateUpdate.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBDatabaseCreateUpdate.json
|
||||
*/
|
||||
async function cosmosDbMongoDbdatabaseCreateUpdate() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -21,7 +21,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Creates or updates an Azure Cosmos DB Mongo Role Definition.
|
||||
*
|
||||
* @summary Creates or updates an Azure Cosmos DB Mongo Role Definition.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBRoleDefinitionCreateUpdate.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBRoleDefinitionCreateUpdate.json
|
||||
*/
|
||||
async function cosmosDbMongoDbroleDefinitionCreateUpdate() {
|
||||
const subscriptionId =
|
||||
|
|
|
@ -21,7 +21,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Creates or updates an Azure Cosmos DB Mongo User Definition.
|
||||
*
|
||||
* @summary Creates or updates an Azure Cosmos DB Mongo User Definition.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBUserDefinitionCreateUpdate.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBUserDefinitionCreateUpdate.json
|
||||
*/
|
||||
async function cosmosDbMongoDbuserDefinitionCreateUpdate() {
|
||||
const subscriptionId =
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Deletes an existing Azure Cosmos DB MongoDB Collection.
|
||||
*
|
||||
* @summary Deletes an existing Azure Cosmos DB MongoDB Collection.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBCollectionDelete.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionDelete.json
|
||||
*/
|
||||
async function cosmosDbMongoDbcollectionDelete() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Deletes an existing Azure Cosmos DB MongoDB database.
|
||||
*
|
||||
* @summary Deletes an existing Azure Cosmos DB MongoDB database.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBDatabaseDelete.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBDatabaseDelete.json
|
||||
*/
|
||||
async function cosmosDbMongoDbdatabaseDelete() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Deletes an existing Azure Cosmos DB Mongo Role Definition.
|
||||
*
|
||||
* @summary Deletes an existing Azure Cosmos DB Mongo Role Definition.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBRoleDefinitionDelete.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBRoleDefinitionDelete.json
|
||||
*/
|
||||
async function cosmosDbMongoDbroleDefinitionDelete() {
|
||||
const subscriptionId =
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Deletes an existing Azure Cosmos DB Mongo User Definition.
|
||||
*
|
||||
* @summary Deletes an existing Azure Cosmos DB Mongo User Definition.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBUserDefinitionDelete.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBUserDefinitionDelete.json
|
||||
*/
|
||||
async function cosmosDbMongoDbuserDefinitionDelete() {
|
||||
const subscriptionId =
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Gets the MongoDB collection under an existing Azure Cosmos DB database account.
|
||||
*
|
||||
* @summary Gets the MongoDB collection under an existing Azure Cosmos DB database account.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBCollectionGet.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionGet.json
|
||||
*/
|
||||
async function cosmosDbMongoDbcollectionGet() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Gets the RUs per second of the MongoDB collection under an existing Azure Cosmos DB database account with the provided name.
|
||||
*
|
||||
* @summary Gets the RUs per second of the MongoDB collection under an existing Azure Cosmos DB database account with the provided name.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBCollectionThroughputGet.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionThroughputGet.json
|
||||
*/
|
||||
async function cosmosDbMongoDbcollectionThroughputGet() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Gets the MongoDB databases under an existing Azure Cosmos DB database account with the provided name.
|
||||
*
|
||||
* @summary Gets the MongoDB databases under an existing Azure Cosmos DB database account with the provided name.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBDatabaseGet.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBDatabaseGet.json
|
||||
*/
|
||||
async function cosmosDbMongoDbdatabaseGet() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Gets the RUs per second of the MongoDB database under an existing Azure Cosmos DB database account with the provided name.
|
||||
*
|
||||
* @summary Gets the RUs per second of the MongoDB database under an existing Azure Cosmos DB database account with the provided name.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBDatabaseThroughputGet.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBDatabaseThroughputGet.json
|
||||
*/
|
||||
async function cosmosDbMongoDbdatabaseThroughputGet() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Retrieves the properties of an existing Azure Cosmos DB Mongo Role Definition with the given Id.
|
||||
*
|
||||
* @summary Retrieves the properties of an existing Azure Cosmos DB Mongo Role Definition with the given Id.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBRoleDefinitionGet.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBRoleDefinitionGet.json
|
||||
*/
|
||||
async function cosmosDbMongoRoleDefinitionGet() {
|
||||
const subscriptionId =
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Retrieves the properties of an existing Azure Cosmos DB Mongo User Definition with the given Id.
|
||||
*
|
||||
* @summary Retrieves the properties of an existing Azure Cosmos DB Mongo User Definition with the given Id.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBUserDefinitionGet.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBUserDefinitionGet.json
|
||||
*/
|
||||
async function cosmosDbMongoDbuserDefinitionGet() {
|
||||
const subscriptionId =
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Lists the MongoDB collection under an existing Azure Cosmos DB database account.
|
||||
*
|
||||
* @summary Lists the MongoDB collection under an existing Azure Cosmos DB database account.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBCollectionList.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionList.json
|
||||
*/
|
||||
async function cosmosDbMongoDbcollectionList() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
|
@ -18,7 +18,7 @@ dotenv.config();
|
|||
* This sample demonstrates how to Lists the MongoDB databases under an existing Azure Cosmos DB database account.
|
||||
*
|
||||
* @summary Lists the MongoDB databases under an existing Azure Cosmos DB database account.
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBDatabaseList.json
|
||||
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBDatabaseList.json
|
||||
*/
|
||||
async function cosmosDbMongoDbdatabaseList() {
|
||||
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче