diff --git a/sdk/cosmosdb/arm-cosmosdb/CHANGELOG.md b/sdk/cosmosdb/arm-cosmosdb/CHANGELOG.md index 7ddaa6b7200..517ca47500a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/CHANGELOG.md +++ b/sdk/cosmosdb/arm-cosmosdb/CHANGELOG.md @@ -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 diff --git a/sdk/cosmosdb/arm-cosmosdb/_meta.json b/sdk/cosmosdb/arm-cosmosdb/_meta.json index e5a73d993a0..f12507c6b30 100644 --- a/sdk/cosmosdb/arm-cosmosdb/_meta.json +++ b/sdk/cosmosdb/arm-cosmosdb/_meta.json @@ -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" } \ No newline at end of file diff --git a/sdk/cosmosdb/arm-cosmosdb/assets.json b/sdk/cosmosdb/arm-cosmosdb/assets.json index 01be93a7708..39bdc8cf7f5 100644 --- a/sdk/cosmosdb/arm-cosmosdb/assets.json +++ b/sdk/cosmosdb/arm-cosmosdb/assets.json @@ -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" } diff --git a/sdk/cosmosdb/arm-cosmosdb/package.json b/sdk/cosmosdb/arm-cosmosdb/package.json index f6b3e62ad18..abbd219641c 100644 --- a/sdk/cosmosdb/arm-cosmosdb/package.json +++ b/sdk/cosmosdb/arm-cosmosdb/package.json @@ -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", diff --git a/sdk/cosmosdb/arm-cosmosdb/review/arm-cosmosdb.api.md b/sdk/cosmosdb/arm-cosmosdb/review/arm-cosmosdb.api.md index 1972c32abd7..3b084d478ab 100644 --- a/sdk/cosmosdb/arm-cosmosdb/review/arm-cosmosdb.api.md +++ b/sdk/cosmosdb/arm-cosmosdb/review/arm-cosmosdb.api.md @@ -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; + 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 diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersCreateUpdateSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersCreateUpdateSample.ts index 8c37979b12c..9aa29db912b 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersCreateUpdateSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersCreateUpdateSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersDeallocateSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersDeallocateSample.ts index 54205c5b25a..a93dae39155 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersDeallocateSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersDeallocateSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersDeleteSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersDeleteSample.ts index 14227cb30c2..f36e857ab1e 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersDeleteSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersDeleteSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersGetSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersGetSample.ts index 96b503a97be..d6a23875fee 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersGetSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersGetSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersInvokeCommandSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersInvokeCommandSample.ts index 1adc9cc051f..2c64534705a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersInvokeCommandSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersInvokeCommandSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersListByResourceGroupSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersListByResourceGroupSample.ts index 2e89d9e3eac..623201af415 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersListByResourceGroupSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersListByResourceGroupSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersListBySubscriptionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersListBySubscriptionSample.ts index e13e0d385c3..18e90bc3b32 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersListBySubscriptionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersListBySubscriptionSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersStartSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersStartSample.ts index 08b960f8a65..f8d2137d5e9 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersStartSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersStartSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersStatusSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersStatusSample.ts index b079ab90a91..e94b76f3fa3 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersStatusSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersStatusSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersUpdateSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersUpdateSample.ts index 092fa4103b5..a42d0093bcb 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersUpdateSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraClustersUpdateSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraDataCentersCreateUpdateSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraDataCentersCreateUpdateSample.ts index 706a8cc2b8f..6ef2d3ae9fd 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraDataCentersCreateUpdateSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraDataCentersCreateUpdateSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraDataCentersDeleteSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraDataCentersDeleteSample.ts index d79a8621a40..9a239fbcb1e 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraDataCentersDeleteSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraDataCentersDeleteSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraDataCentersGetSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraDataCentersGetSample.ts index ab4fd7138fc..0047ae79b52 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraDataCentersGetSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraDataCentersGetSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraDataCentersListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraDataCentersListSample.ts index 456e19f0d2f..576d05aa055 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraDataCentersListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraDataCentersListSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraDataCentersUpdateSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraDataCentersUpdateSample.ts index 14e8145f2f0..98859e3dc7c 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraDataCentersUpdateSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraDataCentersUpdateSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesCreateUpdateCassandraKeyspaceSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesCreateUpdateCassandraKeyspaceSample.ts index 27c6bdfff55..864cf93e484 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesCreateUpdateCassandraKeyspaceSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesCreateUpdateCassandraKeyspaceSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesCreateUpdateCassandraTableSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesCreateUpdateCassandraTableSample.ts index baf1902bc11..c06116448f1 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesCreateUpdateCassandraTableSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesCreateUpdateCassandraTableSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesDeleteCassandraKeyspaceSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesDeleteCassandraKeyspaceSample.ts index c8a96c1e87e..e2608c30f7c 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesDeleteCassandraKeyspaceSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesDeleteCassandraKeyspaceSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesDeleteCassandraTableSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesDeleteCassandraTableSample.ts index 18a37b642b5..8222077a8d6 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesDeleteCassandraTableSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesDeleteCassandraTableSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesGetCassandraKeyspaceSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesGetCassandraKeyspaceSample.ts index 24bb5bc8c90..448768148e4 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesGetCassandraKeyspaceSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesGetCassandraKeyspaceSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesGetCassandraKeyspaceThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesGetCassandraKeyspaceThroughputSample.ts index e16992475f1..e44a9e662bf 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesGetCassandraKeyspaceThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesGetCassandraKeyspaceThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesGetCassandraTableSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesGetCassandraTableSample.ts index 527387a0bd7..27d6f1eb07a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesGetCassandraTableSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesGetCassandraTableSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesGetCassandraTableThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesGetCassandraTableThroughputSample.ts index 1027a19d15d..df268232d40 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesGetCassandraTableThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesGetCassandraTableThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesListCassandraKeyspacesSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesListCassandraKeyspacesSample.ts index 5ebe6cbbaa2..e98d5f60ae1 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesListCassandraKeyspacesSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesListCassandraKeyspacesSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesListCassandraTablesSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesListCassandraTablesSample.ts index ba56cbb6733..fa9f3730b2d 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesListCassandraTablesSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesListCassandraTablesSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesMigrateCassandraKeyspaceToAutoscaleSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesMigrateCassandraKeyspaceToAutoscaleSample.ts index a544b1fbe50..e8c82958a1f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesMigrateCassandraKeyspaceToAutoscaleSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesMigrateCassandraKeyspaceToAutoscaleSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesMigrateCassandraKeyspaceToManualThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesMigrateCassandraKeyspaceToManualThroughputSample.ts index b506981cf75..37f2d619380 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesMigrateCassandraKeyspaceToManualThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesMigrateCassandraKeyspaceToManualThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesMigrateCassandraTableToAutoscaleSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesMigrateCassandraTableToAutoscaleSample.ts index d405cd9a0dd..70ac099ce89 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesMigrateCassandraTableToAutoscaleSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesMigrateCassandraTableToAutoscaleSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesMigrateCassandraTableToManualThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesMigrateCassandraTableToManualThroughputSample.ts index 5dc9edf01a5..6de1f7ff80f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesMigrateCassandraTableToManualThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesMigrateCassandraTableToManualThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesUpdateCassandraKeyspaceThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesUpdateCassandraKeyspaceThroughputSample.ts index 17ec2c0053f..232309f65e2 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesUpdateCassandraKeyspaceThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesUpdateCassandraKeyspaceThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesUpdateCassandraTableThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesUpdateCassandraTableThroughputSample.ts index 03e45559040..f88934b54b9 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesUpdateCassandraTableThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/cassandraResourcesUpdateCassandraTableThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionListMetricDefinitionsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionListMetricDefinitionsSample.ts index 42f68abd4ee..bda2d8ec99f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionListMetricDefinitionsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionListMetricDefinitionsSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionListMetricsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionListMetricsSample.ts index 73f297a7def..5f3c3596a3e 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionListMetricsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionListMetricsSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionListUsagesSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionListUsagesSample.ts index d1a763887f4..89e355af3f7 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionListUsagesSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionListUsagesSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionPartitionListMetricsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionPartitionListMetricsSample.ts index 78d04ca8b9c..ce2952a739a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionPartitionListMetricsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionPartitionListMetricsSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionPartitionListUsagesSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionPartitionListUsagesSample.ts index 874930bc055..17dc18dcf47 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionPartitionListUsagesSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionPartitionListUsagesSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionPartitionRegionListMetricsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionPartitionRegionListMetricsSample.ts index af44e83e62e..c919465f25f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionPartitionRegionListMetricsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionPartitionRegionListMetricsSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionRegionListMetricsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionRegionListMetricsSample.ts index 833e75f21f0..9a44167086d 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionRegionListMetricsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/collectionRegionListMetricsSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountRegionListMetricsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountRegionListMetricsSample.ts index 34527a84777..a4fda3cc1d9 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountRegionListMetricsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountRegionListMetricsSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsCheckNameExistsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsCheckNameExistsSample.ts index a2bcd706a3e..26bb7288143 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsCheckNameExistsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsCheckNameExistsSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsCreateOrUpdateSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsCreateOrUpdateSample.ts index cd6647e64a6..c64adb0bf79 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsCreateOrUpdateSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsCreateOrUpdateSample.ts @@ -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: {}, }; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsDeleteSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsDeleteSample.ts index cad6840b90c..523c7f72f15 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsDeleteSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsDeleteSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsFailoverPriorityChangeSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsFailoverPriorityChangeSample.ts index ddd0983ff72..cfa64edea60 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsFailoverPriorityChangeSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsFailoverPriorityChangeSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsGetReadOnlyKeysSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsGetReadOnlyKeysSample.ts index c1c92d08542..f2198a436e9 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsGetReadOnlyKeysSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsGetReadOnlyKeysSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsGetSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsGetSample.ts index a36b80ed16e..02798121636 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsGetSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsGetSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListByResourceGroupSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListByResourceGroupSample.ts index 5d7ce9e1504..4ba64bd58a6 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListByResourceGroupSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListByResourceGroupSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListConnectionStringsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListConnectionStringsSample.ts index c3039ee1999..510b55e476c 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListConnectionStringsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListConnectionStringsSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListKeysSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListKeysSample.ts index ef96690738e..43281f97ade 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListKeysSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListKeysSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListMetricDefinitionsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListMetricDefinitionsSample.ts index 31ce213ba7a..222de7b314a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListMetricDefinitionsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListMetricDefinitionsSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListMetricsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListMetricsSample.ts index 04a4f640191..50c0e2285ff 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListMetricsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListMetricsSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListReadOnlyKeysSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListReadOnlyKeysSample.ts index 67b9265d0c9..d846eee408c 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListReadOnlyKeysSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListReadOnlyKeysSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListSample.ts index a9543a6777a..3beb0557b61 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListUsagesSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListUsagesSample.ts index e9e013f3a06..313bfa06564 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListUsagesSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsListUsagesSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsOfflineRegionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsOfflineRegionSample.ts index b3ee1706f10..08e00c491b4 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsOfflineRegionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsOfflineRegionSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsOnlineRegionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsOnlineRegionSample.ts index d2f613cc155..cc79b81a781 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsOnlineRegionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsOnlineRegionSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsRegenerateKeySample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsRegenerateKeySample.ts index e15f5a0e6e2..c52ac3e1748 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsRegenerateKeySample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsRegenerateKeySample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsUpdateSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsUpdateSample.ts index abf456e1ebe..663aeebb2e3 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsUpdateSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseAccountsUpdateSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseListMetricDefinitionsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseListMetricDefinitionsSample.ts index dc4e2bcf01d..7f6c03d7464 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseListMetricDefinitionsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseListMetricDefinitionsSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseListMetricsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseListMetricsSample.ts index 8c2e550146d..fb3867c1ba2 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseListMetricsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseListMetricsSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseListUsagesSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseListUsagesSample.ts index 2b51c91097d..1cbf771c304 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseListUsagesSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/databaseListUsagesSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesCreateUpdateGremlinDatabaseSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesCreateUpdateGremlinDatabaseSample.ts index 06d147e55c4..4fafb73abb1 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesCreateUpdateGremlinDatabaseSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesCreateUpdateGremlinDatabaseSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesCreateUpdateGremlinGraphSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesCreateUpdateGremlinGraphSample.ts index 0b69a09fee6..040d5ccb7fc 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesCreateUpdateGremlinGraphSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesCreateUpdateGremlinGraphSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesDeleteGremlinDatabaseSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesDeleteGremlinDatabaseSample.ts index c9585f02c6c..02094887f27 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesDeleteGremlinDatabaseSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesDeleteGremlinDatabaseSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesDeleteGremlinGraphSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesDeleteGremlinGraphSample.ts index bb31781d010..653bba6c6bb 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesDeleteGremlinGraphSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesDeleteGremlinGraphSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesGetGremlinDatabaseSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesGetGremlinDatabaseSample.ts index 2f3934b91d5..554e9f34733 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesGetGremlinDatabaseSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesGetGremlinDatabaseSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesGetGremlinDatabaseThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesGetGremlinDatabaseThroughputSample.ts index 7248d0ed279..a98b26e2900 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesGetGremlinDatabaseThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesGetGremlinDatabaseThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesGetGremlinGraphSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesGetGremlinGraphSample.ts index 997158433fe..d3dfedd96f2 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesGetGremlinGraphSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesGetGremlinGraphSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesGetGremlinGraphThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesGetGremlinGraphThroughputSample.ts index 34a1d2f97ab..e26152a3691 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesGetGremlinGraphThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesGetGremlinGraphThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesListGremlinDatabasesSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesListGremlinDatabasesSample.ts index 3b839e6637c..661e98055a6 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesListGremlinDatabasesSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesListGremlinDatabasesSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesListGremlinGraphsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesListGremlinGraphsSample.ts index 643d5d0cf31..31a744f0143 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesListGremlinGraphsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesListGremlinGraphsSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesMigrateGremlinDatabaseToAutoscaleSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesMigrateGremlinDatabaseToAutoscaleSample.ts index 33036300335..4adb09b6436 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesMigrateGremlinDatabaseToAutoscaleSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesMigrateGremlinDatabaseToAutoscaleSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesMigrateGremlinDatabaseToManualThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesMigrateGremlinDatabaseToManualThroughputSample.ts index 7293db53a59..c4ab65435ec 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesMigrateGremlinDatabaseToManualThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesMigrateGremlinDatabaseToManualThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesMigrateGremlinGraphToAutoscaleSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesMigrateGremlinGraphToAutoscaleSample.ts index 2056dbc0be7..d92286a9429 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesMigrateGremlinGraphToAutoscaleSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesMigrateGremlinGraphToAutoscaleSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesMigrateGremlinGraphToManualThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesMigrateGremlinGraphToManualThroughputSample.ts index 122620adb68..67f0aca908d 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesMigrateGremlinGraphToManualThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesMigrateGremlinGraphToManualThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesRetrieveContinuousBackupInformationSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesRetrieveContinuousBackupInformationSample.ts index 7fc381a29f5..d671778b47f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesRetrieveContinuousBackupInformationSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesRetrieveContinuousBackupInformationSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesUpdateGremlinDatabaseThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesUpdateGremlinDatabaseThroughputSample.ts index 4c6b588b20b..4bc023da14a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesUpdateGremlinDatabaseThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesUpdateGremlinDatabaseThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesUpdateGremlinGraphThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesUpdateGremlinGraphThroughputSample.ts index 9930e6c89e2..39c07456ded 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesUpdateGremlinGraphThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/gremlinResourcesUpdateGremlinGraphThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/locationsGetSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/locationsGetSample.ts index fe95ba527b3..af253d8fdad 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/locationsGetSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/locationsGetSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/locationsListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/locationsListSample.ts index e11a9a061ab..9b1d62738a0 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/locationsListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/locationsListSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesCreateUpdateMongoDbcollectionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesCreateUpdateMongoDbcollectionSample.ts index bda81c1d366..f33628ad243 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesCreateUpdateMongoDbcollectionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesCreateUpdateMongoDbcollectionSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesCreateUpdateMongoDbdatabaseSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesCreateUpdateMongoDbdatabaseSample.ts index 9e4602e95a4..fe349b1fcdc 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesCreateUpdateMongoDbdatabaseSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesCreateUpdateMongoDbdatabaseSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesCreateUpdateMongoRoleDefinitionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesCreateUpdateMongoRoleDefinitionSample.ts index 37219e15f88..82f01f7871b 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesCreateUpdateMongoRoleDefinitionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesCreateUpdateMongoRoleDefinitionSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesCreateUpdateMongoUserDefinitionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesCreateUpdateMongoUserDefinitionSample.ts index 6aca9732dbc..974d3b07170 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesCreateUpdateMongoUserDefinitionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesCreateUpdateMongoUserDefinitionSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesDeleteMongoDbcollectionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesDeleteMongoDbcollectionSample.ts index 9b801bb1d67..7de08adc4c1 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesDeleteMongoDbcollectionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesDeleteMongoDbcollectionSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesDeleteMongoDbdatabaseSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesDeleteMongoDbdatabaseSample.ts index cfa7c2fdd02..20413fe7087 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesDeleteMongoDbdatabaseSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesDeleteMongoDbdatabaseSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesDeleteMongoRoleDefinitionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesDeleteMongoRoleDefinitionSample.ts index 61bcc5f008b..4c9d0f2f819 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesDeleteMongoRoleDefinitionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesDeleteMongoRoleDefinitionSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesDeleteMongoUserDefinitionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesDeleteMongoUserDefinitionSample.ts index c0ab7bf7ea0..ec87f064b2d 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesDeleteMongoUserDefinitionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesDeleteMongoUserDefinitionSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesGetMongoDbcollectionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesGetMongoDbcollectionSample.ts index 62308611801..752321350c4 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesGetMongoDbcollectionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesGetMongoDbcollectionSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesGetMongoDbcollectionThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesGetMongoDbcollectionThroughputSample.ts index e868af8acb4..edc5d00b980 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesGetMongoDbcollectionThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesGetMongoDbcollectionThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesGetMongoDbdatabaseSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesGetMongoDbdatabaseSample.ts index 2c9a649bf3c..ad84e36d871 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesGetMongoDbdatabaseSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesGetMongoDbdatabaseSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesGetMongoDbdatabaseThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesGetMongoDbdatabaseThroughputSample.ts index 39042dda045..7d0fd550d7a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesGetMongoDbdatabaseThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesGetMongoDbdatabaseThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesGetMongoRoleDefinitionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesGetMongoRoleDefinitionSample.ts index 46666680383..084e5e82774 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesGetMongoRoleDefinitionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesGetMongoRoleDefinitionSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesGetMongoUserDefinitionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesGetMongoUserDefinitionSample.ts index c52b5773147..379726c2452 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesGetMongoUserDefinitionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesGetMongoUserDefinitionSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesListMongoDbcollectionsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesListMongoDbcollectionsSample.ts index 278464a591e..fe68bc94108 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesListMongoDbcollectionsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesListMongoDbcollectionsSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesListMongoDbdatabasesSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesListMongoDbdatabasesSample.ts index 6f18597ca26..cb4e88a3239 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesListMongoDbdatabasesSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesListMongoDbdatabasesSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesListMongoRoleDefinitionsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesListMongoRoleDefinitionsSample.ts index e961848cda9..5512c572d07 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesListMongoRoleDefinitionsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesListMongoRoleDefinitionsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves the list of all Azure Cosmos DB Mongo Role Definitions. * * @summary Retrieves the list of all Azure Cosmos DB Mongo Role Definitions. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBRoleDefinitionList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBRoleDefinitionList.json */ async function cosmosDbMongoDbroleDefinitionList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesListMongoUserDefinitionsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesListMongoUserDefinitionsSample.ts index e56f12b0692..6661c8a08dc 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesListMongoUserDefinitionsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesListMongoUserDefinitionsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves the list of all Azure Cosmos DB Mongo User Definition. * * @summary Retrieves the list of all Azure Cosmos DB Mongo User Definition. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBUserDefinitionList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBUserDefinitionList.json */ async function cosmosDbMongoDbuserDefinitionList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesMigrateMongoDbcollectionToAutoscaleSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesMigrateMongoDbcollectionToAutoscaleSample.ts index 8a15edf37f7..c56dded357f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesMigrateMongoDbcollectionToAutoscaleSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesMigrateMongoDbcollectionToAutoscaleSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Migrate an Azure Cosmos DB MongoDB collection from manual throughput to autoscale * * @summary Migrate an Azure Cosmos DB MongoDB collection from manual throughput to autoscale - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBCollectionMigrateToAutoscale.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionMigrateToAutoscale.json */ async function cosmosDbMongoDbcollectionMigrateToAutoscale() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesMigrateMongoDbcollectionToManualThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesMigrateMongoDbcollectionToManualThroughputSample.ts index 852d6d12f38..cd3f718ad77 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesMigrateMongoDbcollectionToManualThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesMigrateMongoDbcollectionToManualThroughputSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Migrate an Azure Cosmos DB MongoDB collection from autoscale to manual throughput * * @summary Migrate an Azure Cosmos DB MongoDB collection from autoscale to manual throughput - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBCollectionMigrateToManualThroughput.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionMigrateToManualThroughput.json */ async function cosmosDbMongoDbcollectionMigrateToManualThroughput() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesMigrateMongoDbdatabaseToAutoscaleSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesMigrateMongoDbdatabaseToAutoscaleSample.ts index 08177bd429f..1c156a52053 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesMigrateMongoDbdatabaseToAutoscaleSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesMigrateMongoDbdatabaseToAutoscaleSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Migrate an Azure Cosmos DB MongoDB database from manual throughput to autoscale * * @summary Migrate an Azure Cosmos DB MongoDB database from manual throughput to autoscale - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBDatabaseMigrateToAutoscale.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBDatabaseMigrateToAutoscale.json */ async function cosmosDbMongoDbdatabaseMigrateToAutoscale() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesMigrateMongoDbdatabaseToManualThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesMigrateMongoDbdatabaseToManualThroughputSample.ts index 49694970c53..8abefeb43e8 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesMigrateMongoDbdatabaseToManualThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesMigrateMongoDbdatabaseToManualThroughputSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Migrate an Azure Cosmos DB MongoDB database from autoscale to manual throughput * * @summary Migrate an Azure Cosmos DB MongoDB database from autoscale to manual throughput - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBDatabaseMigrateToManualThroughput.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBDatabaseMigrateToManualThroughput.json */ async function cosmosDbMongoDbdatabaseMigrateToManualThroughput() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesRetrieveContinuousBackupInformationSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesRetrieveContinuousBackupInformationSample.ts index aacce04187d..0fe95d0753b 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesRetrieveContinuousBackupInformationSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesRetrieveContinuousBackupInformationSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves continuous backup information for a Mongodb collection. * * @summary Retrieves continuous backup information for a Mongodb collection. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBCollectionBackupInformation.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionBackupInformation.json */ async function cosmosDbMongoDbcollectionBackupInformation() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesUpdateMongoDbcollectionThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesUpdateMongoDbcollectionThroughputSample.ts index 5bfb8c8e730..b0f1f625739 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesUpdateMongoDbcollectionThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesUpdateMongoDbcollectionThroughputSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Update the RUs per second of an Azure Cosmos DB MongoDB collection * * @summary Update the RUs per second of an Azure Cosmos DB MongoDB collection - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBCollectionThroughputUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionThroughputUpdate.json */ async function cosmosDbMongoDbcollectionThroughputUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesUpdateMongoDbdatabaseThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesUpdateMongoDbdatabaseThroughputSample.ts index b9756828b80..6a07c4fb479 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesUpdateMongoDbdatabaseThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/mongoDbResourcesUpdateMongoDbdatabaseThroughputSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Update RUs per second of the an Azure Cosmos DB MongoDB database * * @summary Update RUs per second of the an Azure Cosmos DB MongoDB database - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json */ async function cosmosDbMongoDbdatabaseThroughputUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesCreateOrUpdateSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesCreateOrUpdateSample.ts index 550b48c1f27..fc9628c6a2b 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesCreateOrUpdateSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesCreateOrUpdateSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Creates the notebook workspace for a Cosmos DB account. * * @summary Creates the notebook workspace for a Cosmos DB account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceCreate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceCreate.json */ async function cosmosDbNotebookWorkspaceCreate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesDeleteSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesDeleteSample.ts index 3e5ea33edb2..1d77379fc07 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesDeleteSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesDeleteSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes the notebook workspace for a Cosmos DB account. * * @summary Deletes the notebook workspace for a Cosmos DB account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceDelete.json */ async function cosmosDbNotebookWorkspaceDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesGetSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesGetSample.ts index a6be6bcf20a..994d5ba64fc 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesGetSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesGetSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the notebook workspace for a Cosmos DB account. * * @summary Gets the notebook workspace for a Cosmos DB account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceGet.json */ async function cosmosDbNotebookWorkspaceGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesListByDatabaseAccountSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesListByDatabaseAccountSample.ts index 15bdac99fb0..9c26843084a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesListByDatabaseAccountSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesListByDatabaseAccountSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the notebook workspace resources of an existing Cosmos DB account. * * @summary Gets the notebook workspace resources of an existing Cosmos DB account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceList.json */ async function cosmosDbNotebookWorkspaceList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesListConnectionInfoSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesListConnectionInfoSample.ts index 5e40b4ee87b..7fe600f8c1a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesListConnectionInfoSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesListConnectionInfoSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves the connection info for the notebook workspace * * @summary Retrieves the connection info for the notebook workspace - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceListConnectionInfo.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceListConnectionInfo.json */ async function cosmosDbNotebookWorkspaceListConnectionInfo() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesRegenerateAuthTokenSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesRegenerateAuthTokenSample.ts index ac952023419..45ed335569f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesRegenerateAuthTokenSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesRegenerateAuthTokenSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Regenerates the auth token for the notebook workspace * * @summary Regenerates the auth token for the notebook workspace - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceRegenerateAuthToken.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceRegenerateAuthToken.json */ async function cosmosDbNotebookWorkspaceRegenerateAuthToken() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesStartSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesStartSample.ts index 595cf512898..ccf1fc93462 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesStartSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/notebookWorkspacesStartSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Starts the notebook workspace * * @summary Starts the notebook workspace - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceStart.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceStart.json */ async function cosmosDbNotebookWorkspaceStart() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/operationsListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/operationsListSample.ts index 5d461d67b50..31bcaf0d6ba 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/operationsListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/operationsListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists all of the available Cosmos DB Resource Provider operations. * * @summary Lists all of the available Cosmos DB Resource Provider operations. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBOperationsList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBOperationsList.json */ async function cosmosDbOperationsList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/partitionKeyRangeIdListMetricsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/partitionKeyRangeIdListMetricsSample.ts index 4bd628fb57f..c0f080dfb3d 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/partitionKeyRangeIdListMetricsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/partitionKeyRangeIdListMetricsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves the metrics determined by the given filter for the given partition key range id. * * @summary Retrieves the metrics determined by the given filter for the given partition key range id. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPKeyRangeIdGetMetrics.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPKeyRangeIdGetMetrics.json */ async function cosmosDbDatabaseAccountRegionGetMetrics() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/partitionKeyRangeIdRegionListMetricsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/partitionKeyRangeIdRegionListMetricsSample.ts index 03e1291fb69..1b78e5e8355 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/partitionKeyRangeIdRegionListMetricsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/partitionKeyRangeIdRegionListMetricsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves the metrics determined by the given filter for the given partition key range id and region. * * @summary Retrieves the metrics determined by the given filter for the given partition key range id and region. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPKeyRangeIdRegionGetMetrics.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPKeyRangeIdRegionGetMetrics.json */ async function cosmosDbDatabaseAccountRegionGetMetrics() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/percentileListMetricsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/percentileListMetricsSample.ts index 795e60b2acc..d9e7d977569 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/percentileListMetricsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/percentileListMetricsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves the metrics determined by the given filter for the given database account. This url is only for PBS and Replication Latency data * * @summary Retrieves the metrics determined by the given filter for the given database account. This url is only for PBS and Replication Latency data - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPercentileGetMetrics.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPercentileGetMetrics.json */ async function cosmosDbDatabaseAccountRegionGetMetrics() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/percentileSourceTargetListMetricsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/percentileSourceTargetListMetricsSample.ts index d0b4e140344..c0a350e9174 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/percentileSourceTargetListMetricsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/percentileSourceTargetListMetricsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to 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 * * @summary 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 - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPercentileSourceTargetGetMetrics.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPercentileSourceTargetGetMetrics.json */ async function cosmosDbDatabaseAccountRegionGetMetrics() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/percentileTargetListMetricsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/percentileTargetListMetricsSample.ts index 5afd13667f0..f613667e150 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/percentileTargetListMetricsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/percentileTargetListMetricsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves the metrics determined by the given filter for the given account target region. This url is only for PBS and Replication Latency data * * @summary Retrieves the metrics determined by the given filter for the given account target region. This url is only for PBS and Replication Latency data - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPercentileTargetGetMetrics.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPercentileTargetGetMetrics.json */ async function cosmosDbDatabaseAccountRegionGetMetrics() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.ts index d2fa67eed7e..f3ae334175b 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Approve or reject a private endpoint connection with a given name. * * @summary Approve or reject a private endpoint connection with a given name. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateEndpointConnectionUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateEndpointConnectionUpdate.json */ async function approveOrRejectAPrivateEndpointConnectionWithAGivenName() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/privateEndpointConnectionsDeleteSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/privateEndpointConnectionsDeleteSample.ts index d6da1451325..f2f37122c12 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/privateEndpointConnectionsDeleteSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/privateEndpointConnectionsDeleteSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes a private endpoint connection with a given name. * * @summary Deletes a private endpoint connection with a given name. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateEndpointConnectionDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateEndpointConnectionDelete.json */ async function deletesAPrivateEndpointConnectionWithAGivenName() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/privateEndpointConnectionsGetSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/privateEndpointConnectionsGetSample.ts index 9a0080569d2..abaf941ce1f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/privateEndpointConnectionsGetSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/privateEndpointConnectionsGetSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets a private endpoint connection. * * @summary Gets a private endpoint connection. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateEndpointConnectionGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateEndpointConnectionGet.json */ async function getsPrivateEndpointConnection() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/privateEndpointConnectionsListByDatabaseAccountSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/privateEndpointConnectionsListByDatabaseAccountSample.ts index 3ed8c3faf52..cff86e420a9 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/privateEndpointConnectionsListByDatabaseAccountSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/privateEndpointConnectionsListByDatabaseAccountSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to List all private endpoint connections on a Cosmos DB account. * * @summary List all private endpoint connections on a Cosmos DB account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateEndpointConnectionListGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateEndpointConnectionListGet.json */ async function getsPrivateEndpointConnection() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/privateLinkResourcesGetSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/privateLinkResourcesGetSample.ts index c95be5fed2c..73c6f81ffb0 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/privateLinkResourcesGetSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/privateLinkResourcesGetSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the private link resources that need to be created for a Cosmos DB account. * * @summary Gets the private link resources that need to be created for a Cosmos DB account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateLinkResourceGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateLinkResourceGet.json */ async function getsPrivateEndpointConnection() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/privateLinkResourcesListByDatabaseAccountSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/privateLinkResourcesListByDatabaseAccountSample.ts index 4672682083f..d3170671045 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/privateLinkResourcesListByDatabaseAccountSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/privateLinkResourcesListByDatabaseAccountSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the private link resources that need to be created for a Cosmos DB account. * * @summary Gets the private link resources that need to be created for a Cosmos DB account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateLinkResourceListGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateLinkResourceListGet.json */ async function getsPrivateEndpointConnection() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableDatabaseAccountsGetByLocationSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableDatabaseAccountsGetByLocationSample.ts index 9acd64de54f..ea0752e3699 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableDatabaseAccountsGetByLocationSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableDatabaseAccountsGetByLocationSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves the properties of an existing Azure Cosmos DB restorable database account. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/*' permission. * * @summary Retrieves the properties of an existing Azure Cosmos DB restorable database account. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/*' permission. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableDatabaseAccountGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableDatabaseAccountGet.json */ async function cosmosDbRestorableDatabaseAccountGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableDatabaseAccountsListByLocationSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableDatabaseAccountsListByLocationSample.ts index a0071869eb3..a6751bf629a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableDatabaseAccountsListByLocationSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableDatabaseAccountsListByLocationSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists all the restorable Azure Cosmos DB database accounts available under the subscription and in a region. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. * * @summary Lists all the restorable Azure Cosmos DB database accounts available under the subscription and in a region. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableDatabaseAccountList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableDatabaseAccountList.json */ async function cosmosDbRestorableDatabaseAccountList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableDatabaseAccountsListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableDatabaseAccountsListSample.ts index ba091530682..dc7387049ae 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableDatabaseAccountsListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableDatabaseAccountsListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists all the restorable Azure Cosmos DB database accounts available under the subscription. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. * * @summary Lists all the restorable Azure Cosmos DB database accounts available under the subscription. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableDatabaseAccountNoLocationList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableDatabaseAccountNoLocationList.json */ async function cosmosDbRestorableDatabaseAccountNoLocationList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableGremlinDatabasesListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableGremlinDatabasesListSample.ts index 1e2724f854e..8a6e2facf22 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableGremlinDatabasesListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableGremlinDatabasesListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission * * @summary Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableGremlinDatabaseList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableGremlinDatabaseList.json */ async function cosmosDbRestorableGremlinDatabaseList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableGremlinGraphsListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableGremlinGraphsListSample.ts index b4801fd3bbf..bee2195cd1b 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableGremlinGraphsListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableGremlinGraphsListSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission * * @summary Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableGremlinGraphList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableGremlinGraphList.json */ async function cosmosDbRestorableGremlinGraphList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableGremlinResourcesListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableGremlinResourcesListSample.ts index 3e8528b6a45..7f054be648d 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableGremlinResourcesListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableGremlinResourcesListSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. * * @summary Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableGremlinResourceList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableGremlinResourceList.json */ async function cosmosDbRestorableGremlinResourceList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableMongodbCollectionsListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableMongodbCollectionsListSample.ts index c7d959cdc80..60e50ba7d55 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableMongodbCollectionsListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableMongodbCollectionsListSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB collections under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission * * @summary Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB collections under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableMongodbCollectionList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableMongodbCollectionList.json */ async function cosmosDbRestorableMongodbCollectionList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableMongodbDatabasesListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableMongodbDatabasesListSample.ts index 799b83a61dc..01eb8a9c2e4 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableMongodbDatabasesListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableMongodbDatabasesListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission * * @summary Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableMongodbDatabaseList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableMongodbDatabaseList.json */ async function cosmosDbRestorableMongodbDatabaseList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableMongodbResourcesListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableMongodbResourcesListSample.ts index 2defe3128fa..20ec7cc87dc 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableMongodbResourcesListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableMongodbResourcesListSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Return a list of database and collection combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. * * @summary Return a list of database and collection combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableMongodbResourceList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableMongodbResourceList.json */ async function cosmosDbRestorableMongodbResourceList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableSqlContainersListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableSqlContainersListSample.ts index 78e1b5779e0..532bda8c921 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableSqlContainersListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableSqlContainersListSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB SQL containers under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission * * @summary Show the event feed of all mutations done on all the Azure Cosmos DB SQL containers under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableSqlContainerList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableSqlContainerList.json */ async function cosmosDbRestorableSqlContainerList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableSqlDatabasesListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableSqlDatabasesListSample.ts index 094a1226b62..9ae92c525ae 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableSqlDatabasesListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableSqlDatabasesListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB SQL databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission * * @summary Show the event feed of all mutations done on all the Azure Cosmos DB SQL databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableSqlDatabaseList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableSqlDatabaseList.json */ async function cosmosDbRestorableSqlDatabaseList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableSqlResourcesListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableSqlResourcesListSample.ts index bd6a2faba7e..01a6a4d3d47 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableSqlResourcesListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableSqlResourcesListSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Return a list of database and container combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. * * @summary Return a list of database and container combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableSqlResourceList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableSqlResourceList.json */ async function cosmosDbRestorableSqlResourceList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableTableResourcesListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableTableResourcesListSample.ts index d4c56a2fbde..9d807a2ef8e 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableTableResourcesListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableTableResourcesListSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Return a list of tables that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. * * @summary Return a list of tables that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableTableResourceList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableTableResourceList.json */ async function cosmosDbRestorableTableResourceList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableTablesListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableTablesListSample.ts index 5c58a8f11c6..df74623ffa1 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableTablesListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/restorableTablesListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB Tables. This helps in scenario where table was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission * * @summary Show the event feed of all mutations done on all the Azure Cosmos DB Tables. This helps in scenario where table was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableTableList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableTableList.json */ async function cosmosDbRestorableTableList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/serviceCreateSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/serviceCreateSample.ts index 55805b05755..5c88a3b40b9 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/serviceCreateSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/serviceCreateSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Creates a service. * * @summary Creates a service. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDataTransferServiceCreate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDataTransferServiceCreate.json */ async function dataTransferServiceCreate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; @@ -50,7 +50,7 @@ async function dataTransferServiceCreate() { * This sample demonstrates how to Creates a service. * * @summary Creates a service. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBGraphAPIComputeServiceCreate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGraphAPIComputeServiceCreate.json */ async function graphApiComputeServiceCreate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; @@ -79,7 +79,7 @@ async function graphApiComputeServiceCreate() { * This sample demonstrates how to Creates a service. * * @summary Creates a service. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMaterializedViewsBuilderServiceCreate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMaterializedViewsBuilderServiceCreate.json */ async function materializedViewsBuilderServiceCreate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; @@ -108,7 +108,7 @@ async function materializedViewsBuilderServiceCreate() { * This sample demonstrates how to Creates a service. * * @summary Creates a service. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceCreate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceCreate.json */ async function sqlDedicatedGatewayServiceCreate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/serviceDeleteSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/serviceDeleteSample.ts index e03ac88d32e..f44ebfc0271 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/serviceDeleteSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/serviceDeleteSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes service with the given serviceName. * * @summary Deletes service with the given serviceName. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDataTransferServiceDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDataTransferServiceDelete.json */ async function dataTransferServiceDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; @@ -39,7 +39,7 @@ async function dataTransferServiceDelete() { * This sample demonstrates how to Deletes service with the given serviceName. * * @summary Deletes service with the given serviceName. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBGraphAPIComputeServiceDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGraphAPIComputeServiceDelete.json */ async function graphApiComputeServiceDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; @@ -60,7 +60,7 @@ async function graphApiComputeServiceDelete() { * This sample demonstrates how to Deletes service with the given serviceName. * * @summary Deletes service with the given serviceName. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMaterializedViewsBuilderServiceDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMaterializedViewsBuilderServiceDelete.json */ async function materializedViewsBuilderServiceDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; @@ -81,7 +81,7 @@ async function materializedViewsBuilderServiceDelete() { * This sample demonstrates how to Deletes service with the given serviceName. * * @summary Deletes service with the given serviceName. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceDelete.json */ async function sqlDedicatedGatewayServiceDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/serviceGetSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/serviceGetSample.ts index d8767d629d3..0732eba7bed 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/serviceGetSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/serviceGetSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the status of service. * * @summary Gets the status of service. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDataTransferServiceGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDataTransferServiceGet.json */ async function dataTransferServiceGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; @@ -39,7 +39,7 @@ async function dataTransferServiceGet() { * This sample demonstrates how to Gets the status of service. * * @summary Gets the status of service. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBGraphAPIComputeServiceGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGraphAPIComputeServiceGet.json */ async function graphApiComputeServiceGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; @@ -60,7 +60,7 @@ async function graphApiComputeServiceGet() { * This sample demonstrates how to Gets the status of service. * * @summary Gets the status of service. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMaterializedViewsBuilderServiceGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMaterializedViewsBuilderServiceGet.json */ async function materializedViewsBuilderServiceGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; @@ -81,7 +81,7 @@ async function materializedViewsBuilderServiceGet() { * This sample demonstrates how to Gets the status of service. * * @summary Gets the status of service. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceGet.json */ async function sqlDedicatedGatewayServiceGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/serviceListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/serviceListSample.ts index b278efcd14e..336d391272b 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/serviceListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/serviceListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the status of service. * * @summary Gets the status of service. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBServicesList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBServicesList.json */ async function cosmosDbServicesList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateClientEncryptionKeySample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateClientEncryptionKeySample.ts index 70d0d63d9af..8464bb9b02a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateClientEncryptionKeySample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateClientEncryptionKeySample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell (instead of directly). * * @summary Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell (instead of directly). - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlClientEncryptionKeyCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlClientEncryptionKeyCreateUpdate.json */ async function cosmosDbClientEncryptionKeyCreateUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subId"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlContainerSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlContainerSample.ts index 61af4967387..43bd78b7e5d 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlContainerSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlContainerSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Create or update an Azure Cosmos DB SQL container * * @summary Create or update an Azure Cosmos DB SQL container - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerCreateUpdate.json */ async function cosmosDbSqlContainerCreateUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlDatabaseSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlDatabaseSample.ts index 103bece32a6..8235f43ae8f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlDatabaseSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlDatabaseSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Create or update an Azure Cosmos DB SQL database * * @summary Create or update an Azure Cosmos DB SQL database - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseCreateUpdate.json */ async function cosmosDbSqlDatabaseCreateUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlRoleAssignmentSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlRoleAssignmentSample.ts index 1b19fb8e5a2..564419382f8 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlRoleAssignmentSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlRoleAssignmentSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Creates or updates an Azure Cosmos DB SQL Role Assignment. * * @summary Creates or updates an Azure Cosmos DB SQL Role Assignment. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleAssignmentCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleAssignmentCreateUpdate.json */ async function cosmosDbSqlRoleAssignmentCreateUpdate() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlRoleDefinitionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlRoleDefinitionSample.ts index 9060486bf2f..11bcb1c9e4f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlRoleDefinitionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlRoleDefinitionSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Creates or updates an Azure Cosmos DB SQL Role Definition. * * @summary Creates or updates an Azure Cosmos DB SQL Role Definition. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleDefinitionCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleDefinitionCreateUpdate.json */ async function cosmosDbSqlRoleDefinitionCreateUpdate() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlStoredProcedureSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlStoredProcedureSample.ts index 8514938d80c..2a7563e304f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlStoredProcedureSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlStoredProcedureSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Create or update an Azure Cosmos DB SQL storedProcedure * * @summary Create or update an Azure Cosmos DB SQL storedProcedure - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlStoredProcedureCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlStoredProcedureCreateUpdate.json */ async function cosmosDbSqlStoredProcedureCreateUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlTriggerSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlTriggerSample.ts index 5d0968ebd13..5d368f063f6 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlTriggerSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlTriggerSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Create or update an Azure Cosmos DB SQL trigger * * @summary Create or update an Azure Cosmos DB SQL trigger - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlTriggerCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlTriggerCreateUpdate.json */ async function cosmosDbSqlTriggerCreateUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlUserDefinedFunctionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlUserDefinedFunctionSample.ts index b5980a1011f..1550b414ee4 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlUserDefinedFunctionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesCreateUpdateSqlUserDefinedFunctionSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Create or update an Azure Cosmos DB SQL userDefinedFunction * * @summary Create or update an Azure Cosmos DB SQL userDefinedFunction - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlUserDefinedFunctionCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlUserDefinedFunctionCreateUpdate.json */ async function cosmosDbSqlUserDefinedFunctionCreateUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlContainerSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlContainerSample.ts index 11a1857cf84..bac3a9c1769 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlContainerSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlContainerSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes an existing Azure Cosmos DB SQL container. * * @summary Deletes an existing Azure Cosmos DB SQL container. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerDelete.json */ async function cosmosDbSqlContainerDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlDatabaseSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlDatabaseSample.ts index 58177903c79..cf1f8d3d9a8 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlDatabaseSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlDatabaseSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes an existing Azure Cosmos DB SQL database. * * @summary Deletes an existing Azure Cosmos DB SQL database. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseDelete.json */ async function cosmosDbSqlDatabaseDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlRoleAssignmentSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlRoleAssignmentSample.ts index 1f56245b95e..d6ff6547f8d 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlRoleAssignmentSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlRoleAssignmentSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes an existing Azure Cosmos DB SQL Role Assignment. * * @summary Deletes an existing Azure Cosmos DB SQL Role Assignment. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleAssignmentDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleAssignmentDelete.json */ async function cosmosDbSqlRoleAssignmentDelete() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlRoleDefinitionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlRoleDefinitionSample.ts index 79c41850b95..34ac8b1112a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlRoleDefinitionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlRoleDefinitionSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes an existing Azure Cosmos DB SQL Role Definition. * * @summary Deletes an existing Azure Cosmos DB SQL Role Definition. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleDefinitionDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleDefinitionDelete.json */ async function cosmosDbSqlRoleDefinitionDelete() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlStoredProcedureSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlStoredProcedureSample.ts index 06596f907f8..59454fe8247 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlStoredProcedureSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlStoredProcedureSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes an existing Azure Cosmos DB SQL storedProcedure. * * @summary Deletes an existing Azure Cosmos DB SQL storedProcedure. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlStoredProcedureDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlStoredProcedureDelete.json */ async function cosmosDbSqlStoredProcedureDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlTriggerSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlTriggerSample.ts index 0d6a45d04b3..4a22b5ea8cf 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlTriggerSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlTriggerSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes an existing Azure Cosmos DB SQL trigger. * * @summary Deletes an existing Azure Cosmos DB SQL trigger. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlTriggerDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlTriggerDelete.json */ async function cosmosDbSqlTriggerDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlUserDefinedFunctionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlUserDefinedFunctionSample.ts index 29af172de14..d156b9c0fc0 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlUserDefinedFunctionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesDeleteSqlUserDefinedFunctionSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes an existing Azure Cosmos DB SQL userDefinedFunction. * * @summary Deletes an existing Azure Cosmos DB SQL userDefinedFunction. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlUserDefinedFunctionDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlUserDefinedFunctionDelete.json */ async function cosmosDbSqlUserDefinedFunctionDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetClientEncryptionKeySample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetClientEncryptionKeySample.ts index 224ffa56617..09ab5079e1f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetClientEncryptionKeySample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetClientEncryptionKeySample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database. * * @summary Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlClientEncryptionKeyGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlClientEncryptionKeyGet.json */ async function cosmosDbClientEncryptionKeyGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subId"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlContainerSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlContainerSample.ts index 5bc9bd44709..93a083d8707 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlContainerSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlContainerSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the SQL container under an existing Azure Cosmos DB database account. * * @summary Gets the SQL container under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerGet.json */ async function cosmosDbSqlContainerGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlContainerThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlContainerThroughputSample.ts index b1739956fcc..7be5c830d48 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlContainerThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlContainerThroughputSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account. * * @summary Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerThroughputGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerThroughputGet.json */ async function cosmosDbSqlContainerThroughputGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlDatabaseSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlDatabaseSample.ts index 259b6828934..f345fd3eb36 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlDatabaseSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlDatabaseSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the SQL database under an existing Azure Cosmos DB database account with the provided name. * * @summary Gets the SQL 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/CosmosDBSqlDatabaseGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseGet.json */ async function cosmosDbSqlDatabaseGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlDatabaseThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlDatabaseThroughputSample.ts index b48aa0920ca..43986ac1d64 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlDatabaseThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlDatabaseThroughputSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the provided name. * * @summary Gets the RUs per second of the SQL 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/CosmosDBSqlDatabaseThroughputGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseThroughputGet.json */ async function cosmosDbSqlDatabaseThroughputGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlRoleAssignmentSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlRoleAssignmentSample.ts index 573033996d7..79f46c57894 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlRoleAssignmentSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlRoleAssignmentSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id. * * @summary Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleAssignmentGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleAssignmentGet.json */ async function cosmosDbSqlRoleAssignmentGet() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlRoleDefinitionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlRoleDefinitionSample.ts index ad9f8996b26..13d05c2e134 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlRoleDefinitionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlRoleDefinitionSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id. * * @summary Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleDefinitionGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleDefinitionGet.json */ async function cosmosDbSqlRoleDefinitionGet() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlStoredProcedureSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlStoredProcedureSample.ts index d913e6fb609..37ba6eccc10 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlStoredProcedureSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlStoredProcedureSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the SQL storedProcedure under an existing Azure Cosmos DB database account. * * @summary Gets the SQL storedProcedure under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlStoredProcedureGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlStoredProcedureGet.json */ async function cosmosDbSqlStoredProcedureGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlTriggerSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlTriggerSample.ts index bbd53cb14c2..ebb4fc931b7 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlTriggerSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlTriggerSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the SQL trigger under an existing Azure Cosmos DB database account. * * @summary Gets the SQL trigger under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlTriggerGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlTriggerGet.json */ async function cosmosDbSqlTriggerGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlUserDefinedFunctionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlUserDefinedFunctionSample.ts index 2c3365ce532..c89279383ac 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlUserDefinedFunctionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesGetSqlUserDefinedFunctionSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account. * * @summary Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlUserDefinedFunctionGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlUserDefinedFunctionGet.json */ async function cosmosDbSqlUserDefinedFunctionGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListClientEncryptionKeysSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListClientEncryptionKeysSample.ts index 3f0157eca44..24cd8331b16 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListClientEncryptionKeysSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListClientEncryptionKeysSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database. * * @summary Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlClientEncryptionKeysList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlClientEncryptionKeysList.json */ async function cosmosDbClientEncryptionKeysList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subId"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlContainersSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlContainersSample.ts index 09218124414..5cb96bbe297 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlContainersSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlContainersSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists the SQL container under an existing Azure Cosmos DB database account. * * @summary Lists the SQL container under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerList.json */ async function cosmosDbSqlContainerList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlDatabasesSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlDatabasesSample.ts index c4d982288c9..6926a1a9ac3 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlDatabasesSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlDatabasesSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists the SQL databases under an existing Azure Cosmos DB database account. * * @summary Lists the SQL 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/CosmosDBSqlDatabaseList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseList.json */ async function cosmosDbSqlDatabaseList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlRoleAssignmentsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlRoleAssignmentsSample.ts index 6c5d3512c5b..d12de3afaf4 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlRoleAssignmentsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlRoleAssignmentsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves the list of all Azure Cosmos DB SQL Role Assignments. * * @summary Retrieves the list of all Azure Cosmos DB SQL Role Assignments. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleAssignmentList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleAssignmentList.json */ async function cosmosDbSqlRoleAssignmentList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlRoleDefinitionsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlRoleDefinitionsSample.ts index 230cfcf9998..0d070fbf49c 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlRoleDefinitionsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlRoleDefinitionsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves the list of all Azure Cosmos DB SQL Role Definitions. * * @summary Retrieves the list of all Azure Cosmos DB SQL Role Definitions. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleDefinitionList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleDefinitionList.json */ async function cosmosDbSqlRoleDefinitionList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlStoredProceduresSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlStoredProceduresSample.ts index 04404d58442..a1853c23070 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlStoredProceduresSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlStoredProceduresSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists the SQL storedProcedure under an existing Azure Cosmos DB database account. * * @summary Lists the SQL storedProcedure under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlStoredProcedureList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlStoredProcedureList.json */ async function cosmosDbSqlStoredProcedureList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlTriggersSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlTriggersSample.ts index 3f0f9b09a0c..a7dd1102423 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlTriggersSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlTriggersSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists the SQL trigger under an existing Azure Cosmos DB database account. * * @summary Lists the SQL trigger under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlTriggerList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlTriggerList.json */ async function cosmosDbSqlTriggerList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlUserDefinedFunctionsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlUserDefinedFunctionsSample.ts index 5defa576b42..f1280d17c49 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlUserDefinedFunctionsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesListSqlUserDefinedFunctionsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists the SQL userDefinedFunction under an existing Azure Cosmos DB database account. * * @summary Lists the SQL userDefinedFunction under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlUserDefinedFunctionList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlUserDefinedFunctionList.json */ async function cosmosDbSqlUserDefinedFunctionList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesMigrateSqlContainerToAutoscaleSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesMigrateSqlContainerToAutoscaleSample.ts index 2bf976c24b2..911b97e420a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesMigrateSqlContainerToAutoscaleSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesMigrateSqlContainerToAutoscaleSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Migrate an Azure Cosmos DB SQL container from manual throughput to autoscale * * @summary Migrate an Azure Cosmos DB SQL container from manual throughput to autoscale - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerMigrateToAutoscale.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerMigrateToAutoscale.json */ async function cosmosDbSqlContainerMigrateToAutoscale() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesMigrateSqlContainerToManualThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesMigrateSqlContainerToManualThroughputSample.ts index b07e2196d07..774f08539db 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesMigrateSqlContainerToManualThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesMigrateSqlContainerToManualThroughputSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput * * @summary Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerMigrateToManualThroughput.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerMigrateToManualThroughput.json */ async function cosmosDbSqlContainerMigrateToManualThroughput() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesMigrateSqlDatabaseToAutoscaleSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesMigrateSqlDatabaseToAutoscaleSample.ts index 4f04248cae8..ca8b2c33140 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesMigrateSqlDatabaseToAutoscaleSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesMigrateSqlDatabaseToAutoscaleSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Migrate an Azure Cosmos DB SQL database from manual throughput to autoscale * * @summary Migrate an Azure Cosmos DB SQL database from manual throughput to autoscale - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseMigrateToAutoscale.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseMigrateToAutoscale.json */ async function cosmosDbSqlDatabaseMigrateToAutoscale() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesMigrateSqlDatabaseToManualThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesMigrateSqlDatabaseToManualThroughputSample.ts index 0d4ba70bd65..1f00bf8274a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesMigrateSqlDatabaseToManualThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesMigrateSqlDatabaseToManualThroughputSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Migrate an Azure Cosmos DB SQL database from autoscale to manual throughput * * @summary Migrate an Azure Cosmos DB SQL database from autoscale to manual throughput - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseMigrateToManualThroughput.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseMigrateToManualThroughput.json */ async function cosmosDbSqlDatabaseMigrateToManualThroughput() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesRetrieveContinuousBackupInformationSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesRetrieveContinuousBackupInformationSample.ts index 8f487e46e87..c3bd5813dc3 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesRetrieveContinuousBackupInformationSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesRetrieveContinuousBackupInformationSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves continuous backup information for a container resource. * * @summary Retrieves continuous backup information for a container resource. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerBackupInformation.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerBackupInformation.json */ async function cosmosDbSqlContainerBackupInformation() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesUpdateSqlContainerThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesUpdateSqlContainerThroughputSample.ts index abd198a6fe8..5ac2f12bb95 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesUpdateSqlContainerThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesUpdateSqlContainerThroughputSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Update RUs per second of an Azure Cosmos DB SQL container * * @summary Update RUs per second of an Azure Cosmos DB SQL container - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerThroughputUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerThroughputUpdate.json */ async function cosmosDbSqlContainerThroughputUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesUpdateSqlDatabaseThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesUpdateSqlDatabaseThroughputSample.ts index 6ce7975eed1..9b31398b3ec 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesUpdateSqlDatabaseThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/sqlResourcesUpdateSqlDatabaseThroughputSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Update RUs per second of an Azure Cosmos DB SQL database * * @summary Update RUs per second of an Azure Cosmos DB SQL database - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseThroughputUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseThroughputUpdate.json */ async function cosmosDbSqlDatabaseThroughputUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesCreateUpdateTableSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesCreateUpdateTableSample.ts index 6aad8485083..a0ed1922237 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesCreateUpdateTableSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesCreateUpdateTableSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Create or update an Azure Cosmos DB Table * * @summary Create or update an Azure Cosmos DB Table - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableCreateUpdate.json */ async function cosmosDbTableReplace() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesDeleteTableSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesDeleteTableSample.ts index a6fb393a633..7af60070d2f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesDeleteTableSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesDeleteTableSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes an existing Azure Cosmos DB Table. * * @summary Deletes an existing Azure Cosmos DB Table. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableDelete.json */ async function cosmosDbTableDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesGetTableSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesGetTableSample.ts index 283a8797791..be6e7e346c2 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesGetTableSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesGetTableSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the Tables under an existing Azure Cosmos DB database account with the provided name. * * @summary Gets the Tables 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/CosmosDBTableGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableGet.json */ async function cosmosDbTableGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesGetTableThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesGetTableThroughputSample.ts index 352d7d2519f..9c9ad3c9d17 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesGetTableThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesGetTableThroughputSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name. * * @summary Gets the RUs per second of the 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/CosmosDBTableThroughputGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableThroughputGet.json */ async function cosmosDbTableThroughputGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesListTablesSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesListTablesSample.ts index 756f8866627..a46baf61b1a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesListTablesSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesListTablesSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists the Tables under an existing Azure Cosmos DB database account. * * @summary Lists the Tables under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableList.json */ async function cosmosDbTableList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesMigrateTableToAutoscaleSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesMigrateTableToAutoscaleSample.ts index 70d4240d6d9..972882ee93f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesMigrateTableToAutoscaleSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesMigrateTableToAutoscaleSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Migrate an Azure Cosmos DB Table from manual throughput to autoscale * * @summary Migrate an Azure Cosmos DB Table from manual throughput to autoscale - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableMigrateToAutoscale.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableMigrateToAutoscale.json */ async function cosmosDbTableMigrateToAutoscale() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesMigrateTableToManualThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesMigrateTableToManualThroughputSample.ts index ecb427ff75b..319d8fdf38c 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesMigrateTableToManualThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesMigrateTableToManualThroughputSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Migrate an Azure Cosmos DB Table from autoscale to manual throughput * * @summary Migrate an Azure Cosmos DB Table from autoscale to manual throughput - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableMigrateToManualThroughput.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableMigrateToManualThroughput.json */ async function cosmosDbTableMigrateToManualThroughput() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesRetrieveContinuousBackupInformationSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesRetrieveContinuousBackupInformationSample.ts index a66ed9066f6..7b5e6ac3622 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesRetrieveContinuousBackupInformationSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesRetrieveContinuousBackupInformationSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves continuous backup information for a table. * * @summary Retrieves continuous backup information for a table. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableBackupInformation.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableBackupInformation.json */ async function cosmosDbTableCollectionBackupInformation() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesUpdateTableThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesUpdateTableThroughputSample.ts index 3493914e259..e86ea694957 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesUpdateTableThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples-dev/tableResourcesUpdateTableThroughputSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Update RUs per second of an Azure Cosmos DB Table * * @summary Update RUs per second of an Azure Cosmos DB Table - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableThroughputUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableThroughputUpdate.json */ async function cosmosDbTableThroughputUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/README.md b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/README.md index 060a5d62247..a6af5367b11 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/README.md +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/README.md @@ -4,196 +4,196 @@ These sample programs show how to use the JavaScript client libraries for in som | **File Name** | **Description** | | ------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [cassandraClustersCreateUpdateSample.js][cassandraclusterscreateupdatesample] | 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 | -| [cassandraClustersDeallocateSample.js][cassandraclustersdeallocatesample] | 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 | -| [cassandraClustersDeleteSample.js][cassandraclustersdeletesample] | Deletes a managed Cassandra cluster. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBManagedCassandraClusterDelete.json | -| [cassandraClustersGetSample.js][cassandraclustersgetsample] | 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 | -| [cassandraClustersInvokeCommandSample.js][cassandraclustersinvokecommandsample] | 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 | -| [cassandraClustersListByResourceGroupSample.js][cassandraclusterslistbyresourcegroupsample] | 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 | -| [cassandraClustersListBySubscriptionSample.js][cassandraclusterslistbysubscriptionsample] | 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 | -| [cassandraClustersStartSample.js][cassandraclustersstartsample] | 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 | -| [cassandraClustersStatusSample.js][cassandraclustersstatussample] | 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 | -| [cassandraClustersUpdateSample.js][cassandraclustersupdatesample] | 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 | -| [cassandraDataCentersCreateUpdateSample.js][cassandradatacenterscreateupdatesample] | 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 | -| [cassandraDataCentersDeleteSample.js][cassandradatacentersdeletesample] | Delete a managed Cassandra data center. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBManagedCassandraDataCenterDelete.json | -| [cassandraDataCentersGetSample.js][cassandradatacentersgetsample] | 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 | -| [cassandraDataCentersListSample.js][cassandradatacenterslistsample] | 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 | -| [cassandraDataCentersUpdateSample.js][cassandradatacentersupdatesample] | 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 | -| [cassandraResourcesCreateUpdateCassandraKeyspaceSample.js][cassandraresourcescreateupdatecassandrakeyspacesample] | 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 | -| [cassandraResourcesCreateUpdateCassandraTableSample.js][cassandraresourcescreateupdatecassandratablesample] | 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 | -| [cassandraResourcesDeleteCassandraKeyspaceSample.js][cassandraresourcesdeletecassandrakeyspacesample] | 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 | -| [cassandraResourcesDeleteCassandraTableSample.js][cassandraresourcesdeletecassandratablesample] | 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 | -| [cassandraResourcesGetCassandraKeyspaceSample.js][cassandraresourcesgetcassandrakeyspacesample] | 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 | -| [cassandraResourcesGetCassandraKeyspaceThroughputSample.js][cassandraresourcesgetcassandrakeyspacethroughputsample] | 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 | -| [cassandraResourcesGetCassandraTableSample.js][cassandraresourcesgetcassandratablesample] | 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 | -| [cassandraResourcesGetCassandraTableThroughputSample.js][cassandraresourcesgetcassandratablethroughputsample] | 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 | -| [cassandraResourcesListCassandraKeyspacesSample.js][cassandraresourceslistcassandrakeyspacessample] | 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 | -| [cassandraResourcesListCassandraTablesSample.js][cassandraresourceslistcassandratablessample] | 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 | -| [cassandraResourcesMigrateCassandraKeyspaceToAutoscaleSample.js][cassandraresourcesmigratecassandrakeyspacetoautoscalesample] | 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 | -| [cassandraResourcesMigrateCassandraKeyspaceToManualThroughputSample.js][cassandraresourcesmigratecassandrakeyspacetomanualthroughputsample] | 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 | -| [cassandraResourcesMigrateCassandraTableToAutoscaleSample.js][cassandraresourcesmigratecassandratabletoautoscalesample] | 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 | -| [cassandraResourcesMigrateCassandraTableToManualThroughputSample.js][cassandraresourcesmigratecassandratabletomanualthroughputsample] | 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 | -| [cassandraResourcesUpdateCassandraKeyspaceThroughputSample.js][cassandraresourcesupdatecassandrakeyspacethroughputsample] | 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 | -| [cassandraResourcesUpdateCassandraTableThroughputSample.js][cassandraresourcesupdatecassandratablethroughputsample] | 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 | -| [collectionListMetricDefinitionsSample.js][collectionlistmetricdefinitionssample] | 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 | -| [collectionListMetricsSample.js][collectionlistmetricssample] | 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 | -| [collectionListUsagesSample.js][collectionlistusagessample] | 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 | -| [collectionPartitionListMetricsSample.js][collectionpartitionlistmetricssample] | 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 | -| [collectionPartitionListUsagesSample.js][collectionpartitionlistusagessample] | 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 | -| [collectionPartitionRegionListMetricsSample.js][collectionpartitionregionlistmetricssample] | 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 | -| [collectionRegionListMetricsSample.js][collectionregionlistmetricssample] | 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 | -| [databaseAccountRegionListMetricsSample.js][databaseaccountregionlistmetricssample] | 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 | -| [databaseAccountsCheckNameExistsSample.js][databaseaccountschecknameexistssample] | 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 | -| [databaseAccountsCreateOrUpdateSample.js][databaseaccountscreateorupdatesample] | 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 | -| [databaseAccountsDeleteSample.js][databaseaccountsdeletesample] | 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 | -| [databaseAccountsFailoverPriorityChangeSample.js][databaseaccountsfailoverprioritychangesample] | 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 | -| [databaseAccountsGetReadOnlyKeysSample.js][databaseaccountsgetreadonlykeyssample] | 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 | -| [databaseAccountsGetSample.js][databaseaccountsgetsample] | 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 | -| [databaseAccountsListByResourceGroupSample.js][databaseaccountslistbyresourcegroupsample] | 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 | -| [databaseAccountsListConnectionStringsSample.js][databaseaccountslistconnectionstringssample] | 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 | -| [databaseAccountsListKeysSample.js][databaseaccountslistkeyssample] | 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 | -| [databaseAccountsListMetricDefinitionsSample.js][databaseaccountslistmetricdefinitionssample] | 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 | -| [databaseAccountsListMetricsSample.js][databaseaccountslistmetricssample] | 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 | -| [databaseAccountsListReadOnlyKeysSample.js][databaseaccountslistreadonlykeyssample] | 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 | -| [databaseAccountsListSample.js][databaseaccountslistsample] | 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 | -| [databaseAccountsListUsagesSample.js][databaseaccountslistusagessample] | 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 | -| [databaseAccountsOfflineRegionSample.js][databaseaccountsofflineregionsample] | 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 | -| [databaseAccountsOnlineRegionSample.js][databaseaccountsonlineregionsample] | 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 | -| [databaseAccountsRegenerateKeySample.js][databaseaccountsregeneratekeysample] | 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 | -| [databaseAccountsUpdateSample.js][databaseaccountsupdatesample] | 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 | -| [databaseListMetricDefinitionsSample.js][databaselistmetricdefinitionssample] | 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 | -| [databaseListMetricsSample.js][databaselistmetricssample] | 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 | -| [databaseListUsagesSample.js][databaselistusagessample] | 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 | -| [gremlinResourcesCreateUpdateGremlinDatabaseSample.js][gremlinresourcescreateupdategremlindatabasesample] | 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 | -| [gremlinResourcesCreateUpdateGremlinGraphSample.js][gremlinresourcescreateupdategremlingraphsample] | 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 | -| [gremlinResourcesDeleteGremlinDatabaseSample.js][gremlinresourcesdeletegremlindatabasesample] | 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 | -| [gremlinResourcesDeleteGremlinGraphSample.js][gremlinresourcesdeletegremlingraphsample] | 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 | -| [gremlinResourcesGetGremlinDatabaseSample.js][gremlinresourcesgetgremlindatabasesample] | 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 | -| [gremlinResourcesGetGremlinDatabaseThroughputSample.js][gremlinresourcesgetgremlindatabasethroughputsample] | 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 | -| [gremlinResourcesGetGremlinGraphSample.js][gremlinresourcesgetgremlingraphsample] | 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 | -| [gremlinResourcesGetGremlinGraphThroughputSample.js][gremlinresourcesgetgremlingraphthroughputsample] | 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 | -| [gremlinResourcesListGremlinDatabasesSample.js][gremlinresourceslistgremlindatabasessample] | 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 | -| [gremlinResourcesListGremlinGraphsSample.js][gremlinresourceslistgremlingraphssample] | 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 | -| [gremlinResourcesMigrateGremlinDatabaseToAutoscaleSample.js][gremlinresourcesmigrategremlindatabasetoautoscalesample] | 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 | -| [gremlinResourcesMigrateGremlinDatabaseToManualThroughputSample.js][gremlinresourcesmigrategremlindatabasetomanualthroughputsample] | 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 | -| [gremlinResourcesMigrateGremlinGraphToAutoscaleSample.js][gremlinresourcesmigrategremlingraphtoautoscalesample] | 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 | -| [gremlinResourcesMigrateGremlinGraphToManualThroughputSample.js][gremlinresourcesmigrategremlingraphtomanualthroughputsample] | 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 | -| [gremlinResourcesRetrieveContinuousBackupInformationSample.js][gremlinresourcesretrievecontinuousbackupinformationsample] | 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 | -| [gremlinResourcesUpdateGremlinDatabaseThroughputSample.js][gremlinresourcesupdategremlindatabasethroughputsample] | 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 | -| [gremlinResourcesUpdateGremlinGraphThroughputSample.js][gremlinresourcesupdategremlingraphthroughputsample] | 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 | -| [locationsGetSample.js][locationsgetsample] | 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 | -| [locationsListSample.js][locationslistsample] | 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 | -| [mongoDbResourcesCreateUpdateMongoDbcollectionSample.js][mongodbresourcescreateupdatemongodbcollectionsample] | 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 | -| [mongoDbResourcesCreateUpdateMongoDbdatabaseSample.js][mongodbresourcescreateupdatemongodbdatabasesample] | 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 | -| [mongoDbResourcesCreateUpdateMongoRoleDefinitionSample.js][mongodbresourcescreateupdatemongoroledefinitionsample] | 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 | -| [mongoDbResourcesCreateUpdateMongoUserDefinitionSample.js][mongodbresourcescreateupdatemongouserdefinitionsample] | 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 | -| [mongoDbResourcesDeleteMongoDbcollectionSample.js][mongodbresourcesdeletemongodbcollectionsample] | 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 | -| [mongoDbResourcesDeleteMongoDbdatabaseSample.js][mongodbresourcesdeletemongodbdatabasesample] | 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 | -| [mongoDbResourcesDeleteMongoRoleDefinitionSample.js][mongodbresourcesdeletemongoroledefinitionsample] | 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 | -| [mongoDbResourcesDeleteMongoUserDefinitionSample.js][mongodbresourcesdeletemongouserdefinitionsample] | 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 | -| [mongoDbResourcesGetMongoDbcollectionSample.js][mongodbresourcesgetmongodbcollectionsample] | 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 | -| [mongoDbResourcesGetMongoDbcollectionThroughputSample.js][mongodbresourcesgetmongodbcollectionthroughputsample] | 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 | -| [mongoDbResourcesGetMongoDbdatabaseSample.js][mongodbresourcesgetmongodbdatabasesample] | 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 | -| [mongoDbResourcesGetMongoDbdatabaseThroughputSample.js][mongodbresourcesgetmongodbdatabasethroughputsample] | 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 | -| [mongoDbResourcesGetMongoRoleDefinitionSample.js][mongodbresourcesgetmongoroledefinitionsample] | 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 | -| [mongoDbResourcesGetMongoUserDefinitionSample.js][mongodbresourcesgetmongouserdefinitionsample] | 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 | -| [mongoDbResourcesListMongoDbcollectionsSample.js][mongodbresourceslistmongodbcollectionssample] | 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 | -| [mongoDbResourcesListMongoDbdatabasesSample.js][mongodbresourceslistmongodbdatabasessample] | 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 | -| [mongoDbResourcesListMongoRoleDefinitionsSample.js][mongodbresourceslistmongoroledefinitionssample] | Retrieves the list of all Azure Cosmos DB Mongo Role Definitions. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBRoleDefinitionList.json | -| [mongoDbResourcesListMongoUserDefinitionsSample.js][mongodbresourceslistmongouserdefinitionssample] | Retrieves the list of all Azure Cosmos DB Mongo User Definition. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBUserDefinitionList.json | -| [mongoDbResourcesMigrateMongoDbcollectionToAutoscaleSample.js][mongodbresourcesmigratemongodbcollectiontoautoscalesample] | Migrate an Azure Cosmos DB MongoDB collection from manual throughput to autoscale x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBCollectionMigrateToAutoscale.json | -| [mongoDbResourcesMigrateMongoDbcollectionToManualThroughputSample.js][mongodbresourcesmigratemongodbcollectiontomanualthroughputsample] | Migrate an Azure Cosmos DB MongoDB collection from autoscale to manual throughput x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBCollectionMigrateToManualThroughput.json | -| [mongoDbResourcesMigrateMongoDbdatabaseToAutoscaleSample.js][mongodbresourcesmigratemongodbdatabasetoautoscalesample] | Migrate an Azure Cosmos DB MongoDB database from manual throughput to autoscale x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBDatabaseMigrateToAutoscale.json | -| [mongoDbResourcesMigrateMongoDbdatabaseToManualThroughputSample.js][mongodbresourcesmigratemongodbdatabasetomanualthroughputsample] | Migrate an Azure Cosmos DB MongoDB database from autoscale to manual throughput x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBDatabaseMigrateToManualThroughput.json | -| [mongoDbResourcesRetrieveContinuousBackupInformationSample.js][mongodbresourcesretrievecontinuousbackupinformationsample] | Retrieves continuous backup information for a Mongodb collection. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBCollectionBackupInformation.json | -| [mongoDbResourcesUpdateMongoDbcollectionThroughputSample.js][mongodbresourcesupdatemongodbcollectionthroughputsample] | Update the RUs per second of an Azure Cosmos DB MongoDB collection x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBCollectionThroughputUpdate.json | -| [mongoDbResourcesUpdateMongoDbdatabaseThroughputSample.js][mongodbresourcesupdatemongodbdatabasethroughputsample] | Update RUs per second of the an Azure Cosmos DB MongoDB database x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json | -| [notebookWorkspacesCreateOrUpdateSample.js][notebookworkspacescreateorupdatesample] | Creates the notebook workspace for a Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceCreate.json | -| [notebookWorkspacesDeleteSample.js][notebookworkspacesdeletesample] | Deletes the notebook workspace for a Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceDelete.json | -| [notebookWorkspacesGetSample.js][notebookworkspacesgetsample] | Gets the notebook workspace for a Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceGet.json | -| [notebookWorkspacesListByDatabaseAccountSample.js][notebookworkspaceslistbydatabaseaccountsample] | Gets the notebook workspace resources of an existing Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceList.json | -| [notebookWorkspacesListConnectionInfoSample.js][notebookworkspaceslistconnectioninfosample] | Retrieves the connection info for the notebook workspace x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceListConnectionInfo.json | -| [notebookWorkspacesRegenerateAuthTokenSample.js][notebookworkspacesregenerateauthtokensample] | Regenerates the auth token for the notebook workspace x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceRegenerateAuthToken.json | -| [notebookWorkspacesStartSample.js][notebookworkspacesstartsample] | Starts the notebook workspace x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceStart.json | -| [operationsListSample.js][operationslistsample] | Lists all of the available Cosmos DB Resource Provider operations. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBOperationsList.json | -| [partitionKeyRangeIdListMetricsSample.js][partitionkeyrangeidlistmetricssample] | Retrieves the metrics determined by the given filter for the given partition key range id. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPKeyRangeIdGetMetrics.json | -| [partitionKeyRangeIdRegionListMetricsSample.js][partitionkeyrangeidregionlistmetricssample] | Retrieves the metrics determined by the given filter for the given partition key range id and region. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPKeyRangeIdRegionGetMetrics.json | -| [percentileListMetricsSample.js][percentilelistmetricssample] | Retrieves the metrics determined by the given filter for the given database account. This url is only for PBS and Replication Latency data x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPercentileGetMetrics.json | -| [percentileSourceTargetListMetricsSample.js][percentilesourcetargetlistmetricssample] | 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 x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPercentileSourceTargetGetMetrics.json | -| [percentileTargetListMetricsSample.js][percentiletargetlistmetricssample] | Retrieves the metrics determined by the given filter for the given account target region. This url is only for PBS and Replication Latency data x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPercentileTargetGetMetrics.json | -| [privateEndpointConnectionsCreateOrUpdateSample.js][privateendpointconnectionscreateorupdatesample] | Approve or reject a private endpoint connection with a given name. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateEndpointConnectionUpdate.json | -| [privateEndpointConnectionsDeleteSample.js][privateendpointconnectionsdeletesample] | Deletes a private endpoint connection with a given name. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateEndpointConnectionDelete.json | -| [privateEndpointConnectionsGetSample.js][privateendpointconnectionsgetsample] | Gets a private endpoint connection. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateEndpointConnectionGet.json | -| [privateEndpointConnectionsListByDatabaseAccountSample.js][privateendpointconnectionslistbydatabaseaccountsample] | List all private endpoint connections on a Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateEndpointConnectionListGet.json | -| [privateLinkResourcesGetSample.js][privatelinkresourcesgetsample] | Gets the private link resources that need to be created for a Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateLinkResourceGet.json | -| [privateLinkResourcesListByDatabaseAccountSample.js][privatelinkresourceslistbydatabaseaccountsample] | Gets the private link resources that need to be created for a Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateLinkResourceListGet.json | -| [restorableDatabaseAccountsGetByLocationSample.js][restorabledatabaseaccountsgetbylocationsample] | Retrieves the properties of an existing Azure Cosmos DB restorable database account. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/\*' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableDatabaseAccountGet.json | -| [restorableDatabaseAccountsListByLocationSample.js][restorabledatabaseaccountslistbylocationsample] | Lists all the restorable Azure Cosmos DB database accounts available under the subscription and in a region. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableDatabaseAccountList.json | -| [restorableDatabaseAccountsListSample.js][restorabledatabaseaccountslistsample] | Lists all the restorable Azure Cosmos DB database accounts available under the subscription. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableDatabaseAccountNoLocationList.json | -| [restorableGremlinDatabasesListSample.js][restorablegremlindatabaseslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableGremlinDatabaseList.json | -| [restorableGremlinGraphsListSample.js][restorablegremlingraphslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableGremlinGraphList.json | -| [restorableGremlinResourcesListSample.js][restorablegremlinresourceslistsample] | Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableGremlinResourceList.json | -| [restorableMongodbCollectionsListSample.js][restorablemongodbcollectionslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB collections under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableMongodbCollectionList.json | -| [restorableMongodbDatabasesListSample.js][restorablemongodbdatabaseslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableMongodbDatabaseList.json | -| [restorableMongodbResourcesListSample.js][restorablemongodbresourceslistsample] | Return a list of database and collection combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableMongodbResourceList.json | -| [restorableSqlContainersListSample.js][restorablesqlcontainerslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB SQL containers under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableSqlContainerList.json | -| [restorableSqlDatabasesListSample.js][restorablesqldatabaseslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB SQL databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableSqlDatabaseList.json | -| [restorableSqlResourcesListSample.js][restorablesqlresourceslistsample] | Return a list of database and container combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableSqlResourceList.json | -| [restorableTableResourcesListSample.js][restorabletableresourceslistsample] | Return a list of tables that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableTableResourceList.json | -| [restorableTablesListSample.js][restorabletableslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB Tables. This helps in scenario where table was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableTableList.json | -| [serviceCreateSample.js][servicecreatesample] | Creates a service. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDataTransferServiceCreate.json | -| [serviceDeleteSample.js][servicedeletesample] | Deletes service with the given serviceName. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDataTransferServiceDelete.json | -| [serviceGetSample.js][servicegetsample] | Gets the status of service. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDataTransferServiceGet.json | -| [serviceListSample.js][servicelistsample] | Gets the status of service. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBServicesList.json | -| [sqlResourcesCreateUpdateClientEncryptionKeySample.js][sqlresourcescreateupdateclientencryptionkeysample] | Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell (instead of directly). x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlClientEncryptionKeyCreateUpdate.json | -| [sqlResourcesCreateUpdateSqlContainerSample.js][sqlresourcescreateupdatesqlcontainersample] | Create or update an Azure Cosmos DB SQL container x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerCreateUpdate.json | -| [sqlResourcesCreateUpdateSqlDatabaseSample.js][sqlresourcescreateupdatesqldatabasesample] | Create or update an Azure Cosmos DB SQL database x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseCreateUpdate.json | -| [sqlResourcesCreateUpdateSqlRoleAssignmentSample.js][sqlresourcescreateupdatesqlroleassignmentsample] | Creates or updates an Azure Cosmos DB SQL Role Assignment. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleAssignmentCreateUpdate.json | -| [sqlResourcesCreateUpdateSqlRoleDefinitionSample.js][sqlresourcescreateupdatesqlroledefinitionsample] | Creates or updates an Azure Cosmos DB SQL Role Definition. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleDefinitionCreateUpdate.json | -| [sqlResourcesCreateUpdateSqlStoredProcedureSample.js][sqlresourcescreateupdatesqlstoredproceduresample] | Create or update an Azure Cosmos DB SQL storedProcedure x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlStoredProcedureCreateUpdate.json | -| [sqlResourcesCreateUpdateSqlTriggerSample.js][sqlresourcescreateupdatesqltriggersample] | Create or update an Azure Cosmos DB SQL trigger x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlTriggerCreateUpdate.json | -| [sqlResourcesCreateUpdateSqlUserDefinedFunctionSample.js][sqlresourcescreateupdatesqluserdefinedfunctionsample] | Create or update an Azure Cosmos DB SQL userDefinedFunction x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlUserDefinedFunctionCreateUpdate.json | -| [sqlResourcesDeleteSqlContainerSample.js][sqlresourcesdeletesqlcontainersample] | Deletes an existing Azure Cosmos DB SQL container. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerDelete.json | -| [sqlResourcesDeleteSqlDatabaseSample.js][sqlresourcesdeletesqldatabasesample] | Deletes an existing Azure Cosmos DB SQL database. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseDelete.json | -| [sqlResourcesDeleteSqlRoleAssignmentSample.js][sqlresourcesdeletesqlroleassignmentsample] | Deletes an existing Azure Cosmos DB SQL Role Assignment. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleAssignmentDelete.json | -| [sqlResourcesDeleteSqlRoleDefinitionSample.js][sqlresourcesdeletesqlroledefinitionsample] | Deletes an existing Azure Cosmos DB SQL Role Definition. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleDefinitionDelete.json | -| [sqlResourcesDeleteSqlStoredProcedureSample.js][sqlresourcesdeletesqlstoredproceduresample] | Deletes an existing Azure Cosmos DB SQL storedProcedure. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlStoredProcedureDelete.json | -| [sqlResourcesDeleteSqlTriggerSample.js][sqlresourcesdeletesqltriggersample] | Deletes an existing Azure Cosmos DB SQL trigger. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlTriggerDelete.json | -| [sqlResourcesDeleteSqlUserDefinedFunctionSample.js][sqlresourcesdeletesqluserdefinedfunctionsample] | Deletes an existing Azure Cosmos DB SQL userDefinedFunction. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlUserDefinedFunctionDelete.json | -| [sqlResourcesGetClientEncryptionKeySample.js][sqlresourcesgetclientencryptionkeysample] | Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlClientEncryptionKeyGet.json | -| [sqlResourcesGetSqlContainerSample.js][sqlresourcesgetsqlcontainersample] | Gets the SQL container under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerGet.json | -| [sqlResourcesGetSqlContainerThroughputSample.js][sqlresourcesgetsqlcontainerthroughputsample] | Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerThroughputGet.json | -| [sqlResourcesGetSqlDatabaseSample.js][sqlresourcesgetsqldatabasesample] | Gets the SQL 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/CosmosDBSqlDatabaseGet.json | -| [sqlResourcesGetSqlDatabaseThroughputSample.js][sqlresourcesgetsqldatabasethroughputsample] | Gets the RUs per second of the SQL 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/CosmosDBSqlDatabaseThroughputGet.json | -| [sqlResourcesGetSqlRoleAssignmentSample.js][sqlresourcesgetsqlroleassignmentsample] | Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleAssignmentGet.json | -| [sqlResourcesGetSqlRoleDefinitionSample.js][sqlresourcesgetsqlroledefinitionsample] | Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleDefinitionGet.json | -| [sqlResourcesGetSqlStoredProcedureSample.js][sqlresourcesgetsqlstoredproceduresample] | Gets the SQL storedProcedure under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlStoredProcedureGet.json | -| [sqlResourcesGetSqlTriggerSample.js][sqlresourcesgetsqltriggersample] | Gets the SQL trigger under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlTriggerGet.json | -| [sqlResourcesGetSqlUserDefinedFunctionSample.js][sqlresourcesgetsqluserdefinedfunctionsample] | Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlUserDefinedFunctionGet.json | -| [sqlResourcesListClientEncryptionKeysSample.js][sqlresourceslistclientencryptionkeyssample] | Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlClientEncryptionKeysList.json | -| [sqlResourcesListSqlContainersSample.js][sqlresourceslistsqlcontainerssample] | Lists the SQL container under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerList.json | -| [sqlResourcesListSqlDatabasesSample.js][sqlresourceslistsqldatabasessample] | Lists the SQL 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/CosmosDBSqlDatabaseList.json | -| [sqlResourcesListSqlRoleAssignmentsSample.js][sqlresourceslistsqlroleassignmentssample] | Retrieves the list of all Azure Cosmos DB SQL Role Assignments. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleAssignmentList.json | -| [sqlResourcesListSqlRoleDefinitionsSample.js][sqlresourceslistsqlroledefinitionssample] | Retrieves the list of all Azure Cosmos DB SQL Role Definitions. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleDefinitionList.json | -| [sqlResourcesListSqlStoredProceduresSample.js][sqlresourceslistsqlstoredproceduressample] | Lists the SQL storedProcedure under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlStoredProcedureList.json | -| [sqlResourcesListSqlTriggersSample.js][sqlresourceslistsqltriggerssample] | Lists the SQL trigger under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlTriggerList.json | -| [sqlResourcesListSqlUserDefinedFunctionsSample.js][sqlresourceslistsqluserdefinedfunctionssample] | Lists the SQL userDefinedFunction under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlUserDefinedFunctionList.json | -| [sqlResourcesMigrateSqlContainerToAutoscaleSample.js][sqlresourcesmigratesqlcontainertoautoscalesample] | Migrate an Azure Cosmos DB SQL container from manual throughput to autoscale x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerMigrateToAutoscale.json | -| [sqlResourcesMigrateSqlContainerToManualThroughputSample.js][sqlresourcesmigratesqlcontainertomanualthroughputsample] | Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerMigrateToManualThroughput.json | -| [sqlResourcesMigrateSqlDatabaseToAutoscaleSample.js][sqlresourcesmigratesqldatabasetoautoscalesample] | Migrate an Azure Cosmos DB SQL database from manual throughput to autoscale x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseMigrateToAutoscale.json | -| [sqlResourcesMigrateSqlDatabaseToManualThroughputSample.js][sqlresourcesmigratesqldatabasetomanualthroughputsample] | Migrate an Azure Cosmos DB SQL database from autoscale to manual throughput x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseMigrateToManualThroughput.json | -| [sqlResourcesRetrieveContinuousBackupInformationSample.js][sqlresourcesretrievecontinuousbackupinformationsample] | Retrieves continuous backup information for a container resource. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerBackupInformation.json | -| [sqlResourcesUpdateSqlContainerThroughputSample.js][sqlresourcesupdatesqlcontainerthroughputsample] | Update RUs per second of an Azure Cosmos DB SQL container x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerThroughputUpdate.json | -| [sqlResourcesUpdateSqlDatabaseThroughputSample.js][sqlresourcesupdatesqldatabasethroughputsample] | Update RUs per second of an Azure Cosmos DB SQL database x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseThroughputUpdate.json | -| [tableResourcesCreateUpdateTableSample.js][tableresourcescreateupdatetablesample] | Create or update an Azure Cosmos DB Table x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableCreateUpdate.json | -| [tableResourcesDeleteTableSample.js][tableresourcesdeletetablesample] | Deletes an existing Azure Cosmos DB Table. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableDelete.json | -| [tableResourcesGetTableSample.js][tableresourcesgettablesample] | Gets the Tables 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/CosmosDBTableGet.json | -| [tableResourcesGetTableThroughputSample.js][tableresourcesgettablethroughputsample] | Gets the RUs per second of the 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/CosmosDBTableThroughputGet.json | -| [tableResourcesListTablesSample.js][tableresourceslisttablessample] | Lists the Tables under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableList.json | -| [tableResourcesMigrateTableToAutoscaleSample.js][tableresourcesmigratetabletoautoscalesample] | Migrate an Azure Cosmos DB Table from manual throughput to autoscale x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableMigrateToAutoscale.json | -| [tableResourcesMigrateTableToManualThroughputSample.js][tableresourcesmigratetabletomanualthroughputsample] | Migrate an Azure Cosmos DB Table from autoscale to manual throughput x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableMigrateToManualThroughput.json | -| [tableResourcesRetrieveContinuousBackupInformationSample.js][tableresourcesretrievecontinuousbackupinformationsample] | Retrieves continuous backup information for a table. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableBackupInformation.json | -| [tableResourcesUpdateTableThroughputSample.js][tableresourcesupdatetablethroughputsample] | Update RUs per second of an Azure Cosmos DB Table x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableThroughputUpdate.json | +| [cassandraClustersCreateUpdateSample.js][cassandraclusterscreateupdatesample] | 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-08-15/examples/CosmosDBManagedCassandraClusterCreate.json | +| [cassandraClustersDeallocateSample.js][cassandraclustersdeallocatesample] | 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-08-15/examples/CosmosDBManagedCassandraClusterDeallocate.json | +| [cassandraClustersDeleteSample.js][cassandraclustersdeletesample] | Deletes a managed Cassandra cluster. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraClusterDelete.json | +| [cassandraClustersGetSample.js][cassandraclustersgetsample] | Get the properties of a managed Cassandra cluster. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraClusterGet.json | +| [cassandraClustersInvokeCommandSample.js][cassandraclustersinvokecommandsample] | Invoke a command like nodetool for cassandra maintenance x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraCommand.json | +| [cassandraClustersListByResourceGroupSample.js][cassandraclusterslistbyresourcegroupsample] | List all managed Cassandra clusters in this resource group. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraClusterListByResourceGroup.json | +| [cassandraClustersListBySubscriptionSample.js][cassandraclusterslistbysubscriptionsample] | List all managed Cassandra clusters in this subscription. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraClusterListBySubscription.json | +| [cassandraClustersStartSample.js][cassandraclustersstartsample] | 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-08-15/examples/CosmosDBManagedCassandraClusterStart.json | +| [cassandraClustersStatusSample.js][cassandraclustersstatussample] | 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-08-15/examples/CosmosDBManagedCassandraStatus.json | +| [cassandraClustersUpdateSample.js][cassandraclustersupdatesample] | Updates some of the properties of a managed Cassandra cluster. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraClusterPatch.json | +| [cassandraDataCentersCreateUpdateSample.js][cassandradatacenterscreateupdatesample] | 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-08-15/examples/CosmosDBManagedCassandraDataCenterCreate.json | +| [cassandraDataCentersDeleteSample.js][cassandradatacentersdeletesample] | Delete a managed Cassandra data center. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraDataCenterDelete.json | +| [cassandraDataCentersGetSample.js][cassandradatacentersgetsample] | Get the properties of a managed Cassandra data center. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraDataCenterGet.json | +| [cassandraDataCentersListSample.js][cassandradatacenterslistsample] | List all data centers in a particular managed Cassandra cluster. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraDataCenterList.json | +| [cassandraDataCentersUpdateSample.js][cassandradatacentersupdatesample] | Update some of the properties of a managed Cassandra data center. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraDataCenterPatch.json | +| [cassandraResourcesCreateUpdateCassandraKeyspaceSample.js][cassandraresourcescreateupdatecassandrakeyspacesample] | Create or update an Azure Cosmos DB Cassandra keyspace x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraKeyspaceCreateUpdate.json | +| [cassandraResourcesCreateUpdateCassandraTableSample.js][cassandraresourcescreateupdatecassandratablesample] | Create or update an Azure Cosmos DB Cassandra Table x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraTableCreateUpdate.json | +| [cassandraResourcesDeleteCassandraKeyspaceSample.js][cassandraresourcesdeletecassandrakeyspacesample] | Deletes an existing Azure Cosmos DB Cassandra keyspace. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraKeyspaceDelete.json | +| [cassandraResourcesDeleteCassandraTableSample.js][cassandraresourcesdeletecassandratablesample] | Deletes an existing Azure Cosmos DB Cassandra table. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraTableDelete.json | +| [cassandraResourcesGetCassandraKeyspaceSample.js][cassandraresourcesgetcassandrakeyspacesample] | 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-08-15/examples/CosmosDBCassandraKeyspaceGet.json | +| [cassandraResourcesGetCassandraKeyspaceThroughputSample.js][cassandraresourcesgetcassandrakeyspacethroughputsample] | 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-08-15/examples/CosmosDBCassandraKeyspaceThroughputGet.json | +| [cassandraResourcesGetCassandraTableSample.js][cassandraresourcesgetcassandratablesample] | 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-08-15/examples/CosmosDBCassandraTableGet.json | +| [cassandraResourcesGetCassandraTableThroughputSample.js][cassandraresourcesgetcassandratablethroughputsample] | 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-08-15/examples/CosmosDBCassandraTableThroughputGet.json | +| [cassandraResourcesListCassandraKeyspacesSample.js][cassandraresourceslistcassandrakeyspacessample] | 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-08-15/examples/CosmosDBCassandraKeyspaceList.json | +| [cassandraResourcesListCassandraTablesSample.js][cassandraresourceslistcassandratablessample] | 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-08-15/examples/CosmosDBCassandraTableList.json | +| [cassandraResourcesMigrateCassandraKeyspaceToAutoscaleSample.js][cassandraresourcesmigratecassandrakeyspacetoautoscalesample] | 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-08-15/examples/CosmosDBCassandraKeyspaceMigrateToAutoscale.json | +| [cassandraResourcesMigrateCassandraKeyspaceToManualThroughputSample.js][cassandraresourcesmigratecassandrakeyspacetomanualthroughputsample] | 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-08-15/examples/CosmosDBCassandraKeyspaceMigrateToManualThroughput.json | +| [cassandraResourcesMigrateCassandraTableToAutoscaleSample.js][cassandraresourcesmigratecassandratabletoautoscalesample] | 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-08-15/examples/CosmosDBCassandraTableMigrateToAutoscale.json | +| [cassandraResourcesMigrateCassandraTableToManualThroughputSample.js][cassandraresourcesmigratecassandratabletomanualthroughputsample] | 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-08-15/examples/CosmosDBCassandraTableMigrateToManualThroughput.json | +| [cassandraResourcesUpdateCassandraKeyspaceThroughputSample.js][cassandraresourcesupdatecassandrakeyspacethroughputsample] | Update RUs per second of an Azure Cosmos DB Cassandra Keyspace x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraKeyspaceThroughputUpdate.json | +| [cassandraResourcesUpdateCassandraTableThroughputSample.js][cassandraresourcesupdatecassandratablethroughputsample] | Update RUs per second of an Azure Cosmos DB Cassandra table x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraTableThroughputUpdate.json | +| [collectionListMetricDefinitionsSample.js][collectionlistmetricdefinitionssample] | Retrieves metric definitions for the given collection. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCollectionGetMetricDefinitions.json | +| [collectionListMetricsSample.js][collectionlistmetricssample] | 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-08-15/examples/CosmosDBCollectionGetMetrics.json | +| [collectionListUsagesSample.js][collectionlistusagessample] | Retrieves the usages (most recent storage data) for the given collection. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCollectionGetUsages.json | +| [collectionPartitionListMetricsSample.js][collectionpartitionlistmetricssample] | 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-08-15/examples/CosmosDBCollectionPartitionGetMetrics.json | +| [collectionPartitionListUsagesSample.js][collectionpartitionlistusagessample] | 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-08-15/examples/CosmosDBCollectionPartitionGetUsages.json | +| [collectionPartitionRegionListMetricsSample.js][collectionpartitionregionlistmetricssample] | 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-08-15/examples/CosmosDBCollectionPartitionRegionGetMetrics.json | +| [collectionRegionListMetricsSample.js][collectionregionlistmetricssample] | 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-08-15/examples/CosmosDBRegionCollectionGetMetrics.json | +| [databaseAccountRegionListMetricsSample.js][databaseaccountregionlistmetricssample] | 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-08-15/examples/CosmosDBDatabaseAccountRegionGetMetrics.json | +| [databaseAccountsCheckNameExistsSample.js][databaseaccountschecknameexistssample] | 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-08-15/examples/CosmosDBDatabaseAccountCheckNameExists.json | +| [databaseAccountsCreateOrUpdateSample.js][databaseaccountscreateorupdatesample] | 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-08-15/examples/CosmosDBDatabaseAccountCreateMax.json | +| [databaseAccountsDeleteSample.js][databaseaccountsdeletesample] | Deletes an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountDelete.json | +| [databaseAccountsFailoverPriorityChangeSample.js][databaseaccountsfailoverprioritychangesample] | 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-08-15/examples/CosmosDBDatabaseAccountFailoverPriorityChange.json | +| [databaseAccountsGetReadOnlyKeysSample.js][databaseaccountsgetreadonlykeyssample] | 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-08-15/examples/CosmosDBDatabaseAccountListReadOnlyKeys.json | +| [databaseAccountsGetSample.js][databaseaccountsgetsample] | Retrieves the properties of an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountGet.json | +| [databaseAccountsListByResourceGroupSample.js][databaseaccountslistbyresourcegroupsample] | 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-08-15/examples/CosmosDBDatabaseAccountListByResourceGroup.json | +| [databaseAccountsListConnectionStringsSample.js][databaseaccountslistconnectionstringssample] | 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-08-15/examples/CosmosDBDatabaseAccountListConnectionStrings.json | +| [databaseAccountsListKeysSample.js][databaseaccountslistkeyssample] | 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-08-15/examples/CosmosDBDatabaseAccountListKeys.json | +| [databaseAccountsListMetricDefinitionsSample.js][databaseaccountslistmetricdefinitionssample] | Retrieves metric definitions for the given database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json | +| [databaseAccountsListMetricsSample.js][databaseaccountslistmetricssample] | 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-08-15/examples/CosmosDBDatabaseAccountGetMetrics.json | +| [databaseAccountsListReadOnlyKeysSample.js][databaseaccountslistreadonlykeyssample] | 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-08-15/examples/CosmosDBDatabaseAccountListReadOnlyKeys.json | +| [databaseAccountsListSample.js][databaseaccountslistsample] | 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-08-15/examples/CosmosDBDatabaseAccountList.json | +| [databaseAccountsListUsagesSample.js][databaseaccountslistusagessample] | Retrieves the usages (most recent data) for the given database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountGetUsages.json | +| [databaseAccountsOfflineRegionSample.js][databaseaccountsofflineregionsample] | 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-08-15/examples/CosmosDBDatabaseAccountOfflineRegion.json | +| [databaseAccountsOnlineRegionSample.js][databaseaccountsonlineregionsample] | 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-08-15/examples/CosmosDBDatabaseAccountOnlineRegion.json | +| [databaseAccountsRegenerateKeySample.js][databaseaccountsregeneratekeysample] | 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-08-15/examples/CosmosDBDatabaseAccountRegenerateKey.json | +| [databaseAccountsUpdateSample.js][databaseaccountsupdatesample] | Updates the properties of an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountPatch.json | +| [databaseListMetricDefinitionsSample.js][databaselistmetricdefinitionssample] | Retrieves metric definitions for the given database. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseGetMetricDefinitions.json | +| [databaseListMetricsSample.js][databaselistmetricssample] | 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-08-15/examples/CosmosDBDatabaseGetMetrics.json | +| [databaseListUsagesSample.js][databaselistusagessample] | Retrieves the usages (most recent data) for the given database. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseGetUsages.json | +| [gremlinResourcesCreateUpdateGremlinDatabaseSample.js][gremlinresourcescreateupdategremlindatabasesample] | Create or update an Azure Cosmos DB Gremlin database x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinDatabaseCreateUpdate.json | +| [gremlinResourcesCreateUpdateGremlinGraphSample.js][gremlinresourcescreateupdategremlingraphsample] | Create or update an Azure Cosmos DB Gremlin graph x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinGraphCreateUpdate.json | +| [gremlinResourcesDeleteGremlinDatabaseSample.js][gremlinresourcesdeletegremlindatabasesample] | Deletes an existing Azure Cosmos DB Gremlin database. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinDatabaseDelete.json | +| [gremlinResourcesDeleteGremlinGraphSample.js][gremlinresourcesdeletegremlingraphsample] | Deletes an existing Azure Cosmos DB Gremlin graph. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinGraphDelete.json | +| [gremlinResourcesGetGremlinDatabaseSample.js][gremlinresourcesgetgremlindatabasesample] | 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-08-15/examples/CosmosDBGremlinDatabaseGet.json | +| [gremlinResourcesGetGremlinDatabaseThroughputSample.js][gremlinresourcesgetgremlindatabasethroughputsample] | 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-08-15/examples/CosmosDBGremlinDatabaseThroughputGet.json | +| [gremlinResourcesGetGremlinGraphSample.js][gremlinresourcesgetgremlingraphsample] | 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-08-15/examples/CosmosDBGremlinGraphGet.json | +| [gremlinResourcesGetGremlinGraphThroughputSample.js][gremlinresourcesgetgremlingraphthroughputsample] | 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-08-15/examples/CosmosDBGremlinGraphThroughputGet.json | +| [gremlinResourcesListGremlinDatabasesSample.js][gremlinresourceslistgremlindatabasessample] | 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-08-15/examples/CosmosDBGremlinDatabaseList.json | +| [gremlinResourcesListGremlinGraphsSample.js][gremlinresourceslistgremlingraphssample] | 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-08-15/examples/CosmosDBGremlinGraphList.json | +| [gremlinResourcesMigrateGremlinDatabaseToAutoscaleSample.js][gremlinresourcesmigrategremlindatabasetoautoscalesample] | 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-08-15/examples/CosmosDBGremlinDatabaseMigrateToAutoscale.json | +| [gremlinResourcesMigrateGremlinDatabaseToManualThroughputSample.js][gremlinresourcesmigrategremlindatabasetomanualthroughputsample] | 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-08-15/examples/CosmosDBGremlinDatabaseMigrateToManualThroughput.json | +| [gremlinResourcesMigrateGremlinGraphToAutoscaleSample.js][gremlinresourcesmigrategremlingraphtoautoscalesample] | 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-08-15/examples/CosmosDBGremlinGraphMigrateToAutoscale.json | +| [gremlinResourcesMigrateGremlinGraphToManualThroughputSample.js][gremlinresourcesmigrategremlingraphtomanualthroughputsample] | 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-08-15/examples/CosmosDBGremlinGraphMigrateToManualThroughput.json | +| [gremlinResourcesRetrieveContinuousBackupInformationSample.js][gremlinresourcesretrievecontinuousbackupinformationsample] | Retrieves continuous backup information for a gremlin graph. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinGraphBackupInformation.json | +| [gremlinResourcesUpdateGremlinDatabaseThroughputSample.js][gremlinresourcesupdategremlindatabasethroughputsample] | Update RUs per second of an Azure Cosmos DB Gremlin database x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinDatabaseThroughputUpdate.json | +| [gremlinResourcesUpdateGremlinGraphThroughputSample.js][gremlinresourcesupdategremlingraphthroughputsample] | Update RUs per second of an Azure Cosmos DB Gremlin graph x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinGraphThroughputUpdate.json | +| [locationsGetSample.js][locationsgetsample] | Get the properties of an existing Cosmos DB location x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBLocationGet.json | +| [locationsListSample.js][locationslistsample] | List Cosmos DB locations and their properties x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBLocationList.json | +| [mongoDbResourcesCreateUpdateMongoDbcollectionSample.js][mongodbresourcescreateupdatemongodbcollectionsample] | Create or update an Azure Cosmos DB MongoDB Collection x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionCreateUpdate.json | +| [mongoDbResourcesCreateUpdateMongoDbdatabaseSample.js][mongodbresourcescreateupdatemongodbdatabasesample] | Create or updates Azure Cosmos DB MongoDB database x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBDatabaseCreateUpdate.json | +| [mongoDbResourcesCreateUpdateMongoRoleDefinitionSample.js][mongodbresourcescreateupdatemongoroledefinitionsample] | Creates or updates an Azure Cosmos DB Mongo Role Definition. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBRoleDefinitionCreateUpdate.json | +| [mongoDbResourcesCreateUpdateMongoUserDefinitionSample.js][mongodbresourcescreateupdatemongouserdefinitionsample] | Creates or updates an Azure Cosmos DB Mongo User Definition. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBUserDefinitionCreateUpdate.json | +| [mongoDbResourcesDeleteMongoDbcollectionSample.js][mongodbresourcesdeletemongodbcollectionsample] | Deletes an existing Azure Cosmos DB MongoDB Collection. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionDelete.json | +| [mongoDbResourcesDeleteMongoDbdatabaseSample.js][mongodbresourcesdeletemongodbdatabasesample] | Deletes an existing Azure Cosmos DB MongoDB database. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBDatabaseDelete.json | +| [mongoDbResourcesDeleteMongoRoleDefinitionSample.js][mongodbresourcesdeletemongoroledefinitionsample] | Deletes an existing Azure Cosmos DB Mongo Role Definition. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBRoleDefinitionDelete.json | +| [mongoDbResourcesDeleteMongoUserDefinitionSample.js][mongodbresourcesdeletemongouserdefinitionsample] | Deletes an existing Azure Cosmos DB Mongo User Definition. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBUserDefinitionDelete.json | +| [mongoDbResourcesGetMongoDbcollectionSample.js][mongodbresourcesgetmongodbcollectionsample] | 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-08-15/examples/CosmosDBMongoDBCollectionGet.json | +| [mongoDbResourcesGetMongoDbcollectionThroughputSample.js][mongodbresourcesgetmongodbcollectionthroughputsample] | 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-08-15/examples/CosmosDBMongoDBCollectionThroughputGet.json | +| [mongoDbResourcesGetMongoDbdatabaseSample.js][mongodbresourcesgetmongodbdatabasesample] | 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-08-15/examples/CosmosDBMongoDBDatabaseGet.json | +| [mongoDbResourcesGetMongoDbdatabaseThroughputSample.js][mongodbresourcesgetmongodbdatabasethroughputsample] | 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-08-15/examples/CosmosDBMongoDBDatabaseThroughputGet.json | +| [mongoDbResourcesGetMongoRoleDefinitionSample.js][mongodbresourcesgetmongoroledefinitionsample] | 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-08-15/examples/CosmosDBMongoDBRoleDefinitionGet.json | +| [mongoDbResourcesGetMongoUserDefinitionSample.js][mongodbresourcesgetmongouserdefinitionsample] | 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-08-15/examples/CosmosDBMongoDBUserDefinitionGet.json | +| [mongoDbResourcesListMongoDbcollectionsSample.js][mongodbresourceslistmongodbcollectionssample] | 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-08-15/examples/CosmosDBMongoDBCollectionList.json | +| [mongoDbResourcesListMongoDbdatabasesSample.js][mongodbresourceslistmongodbdatabasessample] | 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-08-15/examples/CosmosDBMongoDBDatabaseList.json | +| [mongoDbResourcesListMongoRoleDefinitionsSample.js][mongodbresourceslistmongoroledefinitionssample] | Retrieves the list of all Azure Cosmos DB Mongo Role Definitions. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBRoleDefinitionList.json | +| [mongoDbResourcesListMongoUserDefinitionsSample.js][mongodbresourceslistmongouserdefinitionssample] | Retrieves the list of all Azure Cosmos DB Mongo User Definition. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBUserDefinitionList.json | +| [mongoDbResourcesMigrateMongoDbcollectionToAutoscaleSample.js][mongodbresourcesmigratemongodbcollectiontoautoscalesample] | Migrate an Azure Cosmos DB MongoDB collection from manual throughput to autoscale x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionMigrateToAutoscale.json | +| [mongoDbResourcesMigrateMongoDbcollectionToManualThroughputSample.js][mongodbresourcesmigratemongodbcollectiontomanualthroughputsample] | Migrate an Azure Cosmos DB MongoDB collection from autoscale to manual throughput x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionMigrateToManualThroughput.json | +| [mongoDbResourcesMigrateMongoDbdatabaseToAutoscaleSample.js][mongodbresourcesmigratemongodbdatabasetoautoscalesample] | Migrate an Azure Cosmos DB MongoDB database from manual throughput to autoscale x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBDatabaseMigrateToAutoscale.json | +| [mongoDbResourcesMigrateMongoDbdatabaseToManualThroughputSample.js][mongodbresourcesmigratemongodbdatabasetomanualthroughputsample] | Migrate an Azure Cosmos DB MongoDB database from autoscale to manual throughput x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBDatabaseMigrateToManualThroughput.json | +| [mongoDbResourcesRetrieveContinuousBackupInformationSample.js][mongodbresourcesretrievecontinuousbackupinformationsample] | Retrieves continuous backup information for a Mongodb collection. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionBackupInformation.json | +| [mongoDbResourcesUpdateMongoDbcollectionThroughputSample.js][mongodbresourcesupdatemongodbcollectionthroughputsample] | Update the RUs per second of an Azure Cosmos DB MongoDB collection x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionThroughputUpdate.json | +| [mongoDbResourcesUpdateMongoDbdatabaseThroughputSample.js][mongodbresourcesupdatemongodbdatabasethroughputsample] | Update RUs per second of the an Azure Cosmos DB MongoDB database x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json | +| [notebookWorkspacesCreateOrUpdateSample.js][notebookworkspacescreateorupdatesample] | Creates the notebook workspace for a Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceCreate.json | +| [notebookWorkspacesDeleteSample.js][notebookworkspacesdeletesample] | Deletes the notebook workspace for a Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceDelete.json | +| [notebookWorkspacesGetSample.js][notebookworkspacesgetsample] | Gets the notebook workspace for a Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceGet.json | +| [notebookWorkspacesListByDatabaseAccountSample.js][notebookworkspaceslistbydatabaseaccountsample] | Gets the notebook workspace resources of an existing Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceList.json | +| [notebookWorkspacesListConnectionInfoSample.js][notebookworkspaceslistconnectioninfosample] | Retrieves the connection info for the notebook workspace x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceListConnectionInfo.json | +| [notebookWorkspacesRegenerateAuthTokenSample.js][notebookworkspacesregenerateauthtokensample] | Regenerates the auth token for the notebook workspace x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceRegenerateAuthToken.json | +| [notebookWorkspacesStartSample.js][notebookworkspacesstartsample] | Starts the notebook workspace x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceStart.json | +| [operationsListSample.js][operationslistsample] | Lists all of the available Cosmos DB Resource Provider operations. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBOperationsList.json | +| [partitionKeyRangeIdListMetricsSample.js][partitionkeyrangeidlistmetricssample] | Retrieves the metrics determined by the given filter for the given partition key range id. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPKeyRangeIdGetMetrics.json | +| [partitionKeyRangeIdRegionListMetricsSample.js][partitionkeyrangeidregionlistmetricssample] | Retrieves the metrics determined by the given filter for the given partition key range id and region. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPKeyRangeIdRegionGetMetrics.json | +| [percentileListMetricsSample.js][percentilelistmetricssample] | Retrieves the metrics determined by the given filter for the given database account. This url is only for PBS and Replication Latency data x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPercentileGetMetrics.json | +| [percentileSourceTargetListMetricsSample.js][percentilesourcetargetlistmetricssample] | 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 x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPercentileSourceTargetGetMetrics.json | +| [percentileTargetListMetricsSample.js][percentiletargetlistmetricssample] | Retrieves the metrics determined by the given filter for the given account target region. This url is only for PBS and Replication Latency data x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPercentileTargetGetMetrics.json | +| [privateEndpointConnectionsCreateOrUpdateSample.js][privateendpointconnectionscreateorupdatesample] | Approve or reject a private endpoint connection with a given name. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateEndpointConnectionUpdate.json | +| [privateEndpointConnectionsDeleteSample.js][privateendpointconnectionsdeletesample] | Deletes a private endpoint connection with a given name. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateEndpointConnectionDelete.json | +| [privateEndpointConnectionsGetSample.js][privateendpointconnectionsgetsample] | Gets a private endpoint connection. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateEndpointConnectionGet.json | +| [privateEndpointConnectionsListByDatabaseAccountSample.js][privateendpointconnectionslistbydatabaseaccountsample] | List all private endpoint connections on a Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateEndpointConnectionListGet.json | +| [privateLinkResourcesGetSample.js][privatelinkresourcesgetsample] | Gets the private link resources that need to be created for a Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateLinkResourceGet.json | +| [privateLinkResourcesListByDatabaseAccountSample.js][privatelinkresourceslistbydatabaseaccountsample] | Gets the private link resources that need to be created for a Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateLinkResourceListGet.json | +| [restorableDatabaseAccountsGetByLocationSample.js][restorabledatabaseaccountsgetbylocationsample] | Retrieves the properties of an existing Azure Cosmos DB restorable database account. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/\*' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableDatabaseAccountGet.json | +| [restorableDatabaseAccountsListByLocationSample.js][restorabledatabaseaccountslistbylocationsample] | Lists all the restorable Azure Cosmos DB database accounts available under the subscription and in a region. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableDatabaseAccountList.json | +| [restorableDatabaseAccountsListSample.js][restorabledatabaseaccountslistsample] | Lists all the restorable Azure Cosmos DB database accounts available under the subscription. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableDatabaseAccountNoLocationList.json | +| [restorableGremlinDatabasesListSample.js][restorablegremlindatabaseslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableGremlinDatabaseList.json | +| [restorableGremlinGraphsListSample.js][restorablegremlingraphslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableGremlinGraphList.json | +| [restorableGremlinResourcesListSample.js][restorablegremlinresourceslistsample] | Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableGremlinResourceList.json | +| [restorableMongodbCollectionsListSample.js][restorablemongodbcollectionslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB collections under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableMongodbCollectionList.json | +| [restorableMongodbDatabasesListSample.js][restorablemongodbdatabaseslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableMongodbDatabaseList.json | +| [restorableMongodbResourcesListSample.js][restorablemongodbresourceslistsample] | Return a list of database and collection combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableMongodbResourceList.json | +| [restorableSqlContainersListSample.js][restorablesqlcontainerslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB SQL containers under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableSqlContainerList.json | +| [restorableSqlDatabasesListSample.js][restorablesqldatabaseslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB SQL databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableSqlDatabaseList.json | +| [restorableSqlResourcesListSample.js][restorablesqlresourceslistsample] | Return a list of database and container combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableSqlResourceList.json | +| [restorableTableResourcesListSample.js][restorabletableresourceslistsample] | Return a list of tables that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableTableResourceList.json | +| [restorableTablesListSample.js][restorabletableslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB Tables. This helps in scenario where table was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableTableList.json | +| [serviceCreateSample.js][servicecreatesample] | Creates a service. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDataTransferServiceCreate.json | +| [serviceDeleteSample.js][servicedeletesample] | Deletes service with the given serviceName. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDataTransferServiceDelete.json | +| [serviceGetSample.js][servicegetsample] | Gets the status of service. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDataTransferServiceGet.json | +| [serviceListSample.js][servicelistsample] | Gets the status of service. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBServicesList.json | +| [sqlResourcesCreateUpdateClientEncryptionKeySample.js][sqlresourcescreateupdateclientencryptionkeysample] | Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell (instead of directly). x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlClientEncryptionKeyCreateUpdate.json | +| [sqlResourcesCreateUpdateSqlContainerSample.js][sqlresourcescreateupdatesqlcontainersample] | Create or update an Azure Cosmos DB SQL container x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerCreateUpdate.json | +| [sqlResourcesCreateUpdateSqlDatabaseSample.js][sqlresourcescreateupdatesqldatabasesample] | Create or update an Azure Cosmos DB SQL database x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseCreateUpdate.json | +| [sqlResourcesCreateUpdateSqlRoleAssignmentSample.js][sqlresourcescreateupdatesqlroleassignmentsample] | Creates or updates an Azure Cosmos DB SQL Role Assignment. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleAssignmentCreateUpdate.json | +| [sqlResourcesCreateUpdateSqlRoleDefinitionSample.js][sqlresourcescreateupdatesqlroledefinitionsample] | Creates or updates an Azure Cosmos DB SQL Role Definition. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleDefinitionCreateUpdate.json | +| [sqlResourcesCreateUpdateSqlStoredProcedureSample.js][sqlresourcescreateupdatesqlstoredproceduresample] | Create or update an Azure Cosmos DB SQL storedProcedure x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlStoredProcedureCreateUpdate.json | +| [sqlResourcesCreateUpdateSqlTriggerSample.js][sqlresourcescreateupdatesqltriggersample] | Create or update an Azure Cosmos DB SQL trigger x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlTriggerCreateUpdate.json | +| [sqlResourcesCreateUpdateSqlUserDefinedFunctionSample.js][sqlresourcescreateupdatesqluserdefinedfunctionsample] | Create or update an Azure Cosmos DB SQL userDefinedFunction x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlUserDefinedFunctionCreateUpdate.json | +| [sqlResourcesDeleteSqlContainerSample.js][sqlresourcesdeletesqlcontainersample] | Deletes an existing Azure Cosmos DB SQL container. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerDelete.json | +| [sqlResourcesDeleteSqlDatabaseSample.js][sqlresourcesdeletesqldatabasesample] | Deletes an existing Azure Cosmos DB SQL database. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseDelete.json | +| [sqlResourcesDeleteSqlRoleAssignmentSample.js][sqlresourcesdeletesqlroleassignmentsample] | Deletes an existing Azure Cosmos DB SQL Role Assignment. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleAssignmentDelete.json | +| [sqlResourcesDeleteSqlRoleDefinitionSample.js][sqlresourcesdeletesqlroledefinitionsample] | Deletes an existing Azure Cosmos DB SQL Role Definition. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleDefinitionDelete.json | +| [sqlResourcesDeleteSqlStoredProcedureSample.js][sqlresourcesdeletesqlstoredproceduresample] | Deletes an existing Azure Cosmos DB SQL storedProcedure. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlStoredProcedureDelete.json | +| [sqlResourcesDeleteSqlTriggerSample.js][sqlresourcesdeletesqltriggersample] | Deletes an existing Azure Cosmos DB SQL trigger. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlTriggerDelete.json | +| [sqlResourcesDeleteSqlUserDefinedFunctionSample.js][sqlresourcesdeletesqluserdefinedfunctionsample] | Deletes an existing Azure Cosmos DB SQL userDefinedFunction. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlUserDefinedFunctionDelete.json | +| [sqlResourcesGetClientEncryptionKeySample.js][sqlresourcesgetclientencryptionkeysample] | Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlClientEncryptionKeyGet.json | +| [sqlResourcesGetSqlContainerSample.js][sqlresourcesgetsqlcontainersample] | Gets the SQL container under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerGet.json | +| [sqlResourcesGetSqlContainerThroughputSample.js][sqlresourcesgetsqlcontainerthroughputsample] | Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerThroughputGet.json | +| [sqlResourcesGetSqlDatabaseSample.js][sqlresourcesgetsqldatabasesample] | Gets the SQL 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-08-15/examples/CosmosDBSqlDatabaseGet.json | +| [sqlResourcesGetSqlDatabaseThroughputSample.js][sqlresourcesgetsqldatabasethroughputsample] | Gets the RUs per second of the SQL 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-08-15/examples/CosmosDBSqlDatabaseThroughputGet.json | +| [sqlResourcesGetSqlRoleAssignmentSample.js][sqlresourcesgetsqlroleassignmentsample] | Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleAssignmentGet.json | +| [sqlResourcesGetSqlRoleDefinitionSample.js][sqlresourcesgetsqlroledefinitionsample] | Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleDefinitionGet.json | +| [sqlResourcesGetSqlStoredProcedureSample.js][sqlresourcesgetsqlstoredproceduresample] | Gets the SQL storedProcedure under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlStoredProcedureGet.json | +| [sqlResourcesGetSqlTriggerSample.js][sqlresourcesgetsqltriggersample] | Gets the SQL trigger under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlTriggerGet.json | +| [sqlResourcesGetSqlUserDefinedFunctionSample.js][sqlresourcesgetsqluserdefinedfunctionsample] | Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlUserDefinedFunctionGet.json | +| [sqlResourcesListClientEncryptionKeysSample.js][sqlresourceslistclientencryptionkeyssample] | Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlClientEncryptionKeysList.json | +| [sqlResourcesListSqlContainersSample.js][sqlresourceslistsqlcontainerssample] | Lists the SQL container under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerList.json | +| [sqlResourcesListSqlDatabasesSample.js][sqlresourceslistsqldatabasessample] | Lists the SQL databases under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseList.json | +| [sqlResourcesListSqlRoleAssignmentsSample.js][sqlresourceslistsqlroleassignmentssample] | Retrieves the list of all Azure Cosmos DB SQL Role Assignments. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleAssignmentList.json | +| [sqlResourcesListSqlRoleDefinitionsSample.js][sqlresourceslistsqlroledefinitionssample] | Retrieves the list of all Azure Cosmos DB SQL Role Definitions. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleDefinitionList.json | +| [sqlResourcesListSqlStoredProceduresSample.js][sqlresourceslistsqlstoredproceduressample] | Lists the SQL storedProcedure under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlStoredProcedureList.json | +| [sqlResourcesListSqlTriggersSample.js][sqlresourceslistsqltriggerssample] | Lists the SQL trigger under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlTriggerList.json | +| [sqlResourcesListSqlUserDefinedFunctionsSample.js][sqlresourceslistsqluserdefinedfunctionssample] | Lists the SQL userDefinedFunction under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlUserDefinedFunctionList.json | +| [sqlResourcesMigrateSqlContainerToAutoscaleSample.js][sqlresourcesmigratesqlcontainertoautoscalesample] | Migrate an Azure Cosmos DB SQL container from manual throughput to autoscale x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerMigrateToAutoscale.json | +| [sqlResourcesMigrateSqlContainerToManualThroughputSample.js][sqlresourcesmigratesqlcontainertomanualthroughputsample] | Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerMigrateToManualThroughput.json | +| [sqlResourcesMigrateSqlDatabaseToAutoscaleSample.js][sqlresourcesmigratesqldatabasetoautoscalesample] | Migrate an Azure Cosmos DB SQL database from manual throughput to autoscale x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseMigrateToAutoscale.json | +| [sqlResourcesMigrateSqlDatabaseToManualThroughputSample.js][sqlresourcesmigratesqldatabasetomanualthroughputsample] | Migrate an Azure Cosmos DB SQL database from autoscale to manual throughput x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseMigrateToManualThroughput.json | +| [sqlResourcesRetrieveContinuousBackupInformationSample.js][sqlresourcesretrievecontinuousbackupinformationsample] | Retrieves continuous backup information for a container resource. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerBackupInformation.json | +| [sqlResourcesUpdateSqlContainerThroughputSample.js][sqlresourcesupdatesqlcontainerthroughputsample] | Update RUs per second of an Azure Cosmos DB SQL container x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerThroughputUpdate.json | +| [sqlResourcesUpdateSqlDatabaseThroughputSample.js][sqlresourcesupdatesqldatabasethroughputsample] | Update RUs per second of an Azure Cosmos DB SQL database x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseThroughputUpdate.json | +| [tableResourcesCreateUpdateTableSample.js][tableresourcescreateupdatetablesample] | Create or update an Azure Cosmos DB Table x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableCreateUpdate.json | +| [tableResourcesDeleteTableSample.js][tableresourcesdeletetablesample] | Deletes an existing Azure Cosmos DB Table. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableDelete.json | +| [tableResourcesGetTableSample.js][tableresourcesgettablesample] | Gets the Tables 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-08-15/examples/CosmosDBTableGet.json | +| [tableResourcesGetTableThroughputSample.js][tableresourcesgettablethroughputsample] | Gets the RUs per second of the 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-08-15/examples/CosmosDBTableThroughputGet.json | +| [tableResourcesListTablesSample.js][tableresourceslisttablessample] | Lists the Tables under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableList.json | +| [tableResourcesMigrateTableToAutoscaleSample.js][tableresourcesmigratetabletoautoscalesample] | Migrate an Azure Cosmos DB Table from manual throughput to autoscale x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableMigrateToAutoscale.json | +| [tableResourcesMigrateTableToManualThroughputSample.js][tableresourcesmigratetabletomanualthroughputsample] | Migrate an Azure Cosmos DB Table from autoscale to manual throughput x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableMigrateToManualThroughput.json | +| [tableResourcesRetrieveContinuousBackupInformationSample.js][tableresourcesretrievecontinuousbackupinformationsample] | Retrieves continuous backup information for a table. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableBackupInformation.json | +| [tableResourcesUpdateTableThroughputSample.js][tableresourcesupdatetablethroughputsample] | Update RUs per second of an Azure Cosmos DB Table x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableThroughputUpdate.json | ## Prerequisites diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersCreateUpdateSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersCreateUpdateSample.js index 2ad93fbada1..d3022581999 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersCreateUpdateSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersCreateUpdateSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersDeallocateSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersDeallocateSample.js index abbd32e055d..a8695933805 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersDeallocateSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersDeallocateSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersDeleteSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersDeleteSample.js index 07bbb27ca0b..06364a16a61 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersDeleteSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersDeleteSample.js @@ -16,7 +16,7 @@ require("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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersGetSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersGetSample.js index b132622e026..92ccd738830 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersGetSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersGetSample.js @@ -16,7 +16,7 @@ require("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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersInvokeCommandSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersInvokeCommandSample.js index 32f3bdfd937..ed34211cf8a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersInvokeCommandSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersInvokeCommandSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersListByResourceGroupSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersListByResourceGroupSample.js index c1045818585..d5c08f16fc3 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersListByResourceGroupSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersListByResourceGroupSample.js @@ -16,7 +16,7 @@ require("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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersListBySubscriptionSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersListBySubscriptionSample.js index eb25573b45f..d841442476d 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersListBySubscriptionSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersListBySubscriptionSample.js @@ -16,7 +16,7 @@ require("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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersStartSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersStartSample.js index 7e3af734e7d..6f4b8ff80ac 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersStartSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersStartSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersStatusSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersStatusSample.js index d98935f961f..365ff162eff 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersStatusSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersStatusSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersUpdateSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersUpdateSample.js index 4c57e883bd6..adc4284d971 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersUpdateSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraClustersUpdateSample.js @@ -16,7 +16,7 @@ require("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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraDataCentersCreateUpdateSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraDataCentersCreateUpdateSample.js index a93683717dc..050e6ec8aac 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraDataCentersCreateUpdateSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraDataCentersCreateUpdateSample.js @@ -16,7 +16,7 @@ require("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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraDataCentersDeleteSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraDataCentersDeleteSample.js index dc6b14a5ccd..bba4e8e1765 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraDataCentersDeleteSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraDataCentersDeleteSample.js @@ -16,7 +16,7 @@ require("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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraDataCentersGetSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraDataCentersGetSample.js index bfa93075cc2..984bb71a6e5 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraDataCentersGetSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraDataCentersGetSample.js @@ -16,7 +16,7 @@ require("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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraDataCentersListSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraDataCentersListSample.js index 7485ee8516f..d85f3bd38bd 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraDataCentersListSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraDataCentersListSample.js @@ -16,7 +16,7 @@ require("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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraDataCentersUpdateSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraDataCentersUpdateSample.js index 732547a26e1..9932ae0ef5d 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraDataCentersUpdateSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraDataCentersUpdateSample.js @@ -16,7 +16,7 @@ require("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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesCreateUpdateCassandraKeyspaceSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesCreateUpdateCassandraKeyspaceSample.js index ae885dccd36..f88147e7233 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesCreateUpdateCassandraKeyspaceSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesCreateUpdateCassandraKeyspaceSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesCreateUpdateCassandraTableSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesCreateUpdateCassandraTableSample.js index 523e919c70e..02904423f7d 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesCreateUpdateCassandraTableSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesCreateUpdateCassandraTableSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesDeleteCassandraKeyspaceSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesDeleteCassandraKeyspaceSample.js index 728a648c42d..49177d3eb77 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesDeleteCassandraKeyspaceSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesDeleteCassandraKeyspaceSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesDeleteCassandraTableSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesDeleteCassandraTableSample.js index a6d3ea2e32a..013c8c76084 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesDeleteCassandraTableSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesDeleteCassandraTableSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesGetCassandraKeyspaceSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesGetCassandraKeyspaceSample.js index 68362db2b19..f5c89b9f767 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesGetCassandraKeyspaceSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesGetCassandraKeyspaceSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesGetCassandraKeyspaceThroughputSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesGetCassandraKeyspaceThroughputSample.js index 6b01d37fccf..cc71cbde417 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesGetCassandraKeyspaceThroughputSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesGetCassandraKeyspaceThroughputSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesGetCassandraTableSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesGetCassandraTableSample.js index b17e1f6c6d9..95364055733 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesGetCassandraTableSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesGetCassandraTableSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesGetCassandraTableThroughputSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesGetCassandraTableThroughputSample.js index b902568b985..376c1974244 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesGetCassandraTableThroughputSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesGetCassandraTableThroughputSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesListCassandraKeyspacesSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesListCassandraKeyspacesSample.js index 48911623db4..e7c5ba2debc 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesListCassandraKeyspacesSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesListCassandraKeyspacesSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesListCassandraTablesSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesListCassandraTablesSample.js index 4815db963d9..0d7ebaebd18 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesListCassandraTablesSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesListCassandraTablesSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesMigrateCassandraKeyspaceToAutoscaleSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesMigrateCassandraKeyspaceToAutoscaleSample.js index d6f08872de5..bc76e905c8a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesMigrateCassandraKeyspaceToAutoscaleSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesMigrateCassandraKeyspaceToAutoscaleSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesMigrateCassandraKeyspaceToManualThroughputSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesMigrateCassandraKeyspaceToManualThroughputSample.js index 23936b82e6e..46bf1268d97 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesMigrateCassandraKeyspaceToManualThroughputSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesMigrateCassandraKeyspaceToManualThroughputSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesMigrateCassandraTableToAutoscaleSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesMigrateCassandraTableToAutoscaleSample.js index 9442d5da86b..0fdabfb6470 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesMigrateCassandraTableToAutoscaleSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesMigrateCassandraTableToAutoscaleSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesMigrateCassandraTableToManualThroughputSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesMigrateCassandraTableToManualThroughputSample.js index fd1027fbc3b..c544bbabdc3 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesMigrateCassandraTableToManualThroughputSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesMigrateCassandraTableToManualThroughputSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesUpdateCassandraKeyspaceThroughputSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesUpdateCassandraKeyspaceThroughputSample.js index 60cafaf2239..4017050aacb 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesUpdateCassandraKeyspaceThroughputSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesUpdateCassandraKeyspaceThroughputSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesUpdateCassandraTableThroughputSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesUpdateCassandraTableThroughputSample.js index 7f7df3e18d9..fe6291733cf 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesUpdateCassandraTableThroughputSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/cassandraResourcesUpdateCassandraTableThroughputSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionListMetricDefinitionsSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionListMetricDefinitionsSample.js index a18dbc52506..269cfa402c7 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionListMetricDefinitionsSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionListMetricDefinitionsSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionListMetricsSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionListMetricsSample.js index 996e53f65f8..fd1bca3625a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionListMetricsSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionListMetricsSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionListUsagesSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionListUsagesSample.js index bf665b4c464..a29c008c72a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionListUsagesSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionListUsagesSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionPartitionListMetricsSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionPartitionListMetricsSample.js index ed1109801f3..824df33d2f6 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionPartitionListMetricsSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionPartitionListMetricsSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionPartitionListUsagesSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionPartitionListUsagesSample.js index aa530d9b0db..a99f01115ac 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionPartitionListUsagesSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionPartitionListUsagesSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionPartitionRegionListMetricsSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionPartitionRegionListMetricsSample.js index 4ddfaae381c..ef1d7397691 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionPartitionRegionListMetricsSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionPartitionRegionListMetricsSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionRegionListMetricsSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionRegionListMetricsSample.js index 4b7b3dc0234..9f6a2722f99 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionRegionListMetricsSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/collectionRegionListMetricsSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountRegionListMetricsSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountRegionListMetricsSample.js index 2fe4c28ca4b..3801798e91b 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountRegionListMetricsSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountRegionListMetricsSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsCheckNameExistsSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsCheckNameExistsSample.js index 941dc359a0c..e67912763c8 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsCheckNameExistsSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsCheckNameExistsSample.js @@ -16,7 +16,7 @@ require("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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsCreateOrUpdateSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsCreateOrUpdateSample.js index ef0e8e8b5d7..587c8c191c2 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsCreateOrUpdateSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsCreateOrUpdateSample.js @@ -16,7 +16,7 @@ require("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"; @@ -94,7 +94,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"; @@ -126,7 +126,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"; @@ -173,6 +173,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: {}, }; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsDeleteSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsDeleteSample.js index 8443c89e779..79481c56dc6 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsDeleteSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsDeleteSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsFailoverPriorityChangeSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsFailoverPriorityChangeSample.js index 76aee572f44..a0f2fe27a9f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsFailoverPriorityChangeSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsFailoverPriorityChangeSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsGetReadOnlyKeysSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsGetReadOnlyKeysSample.js index 8fc89db0fb1..d95086f5cb5 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsGetReadOnlyKeysSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsGetReadOnlyKeysSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsGetSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsGetSample.js index 21a9fb2d1a5..721e027219e 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsGetSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsGetSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListByResourceGroupSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListByResourceGroupSample.js index 9ecb9b4d8ca..93e63228645 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListByResourceGroupSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListByResourceGroupSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListConnectionStringsSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListConnectionStringsSample.js index 5c795348755..afe501c87fa 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListConnectionStringsSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListConnectionStringsSample.js @@ -16,7 +16,7 @@ require("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"; @@ -35,7 +35,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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListKeysSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListKeysSample.js index 424ed594f3f..5b2447240c7 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListKeysSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListKeysSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListMetricDefinitionsSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListMetricDefinitionsSample.js index 457e752f98b..2c29f1903df 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListMetricDefinitionsSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListMetricDefinitionsSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListMetricsSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListMetricsSample.js index 6ce3dea5722..87fbc6ec399 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListMetricsSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListMetricsSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListReadOnlyKeysSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListReadOnlyKeysSample.js index 5dd0acb0972..382da24d285 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListReadOnlyKeysSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListReadOnlyKeysSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListSample.js index 5805664ca45..c37413cb5a8 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListUsagesSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListUsagesSample.js index 9fcda51e6f9..47764831bea 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListUsagesSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsListUsagesSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsOfflineRegionSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsOfflineRegionSample.js index f2ea921288c..46d044677c9 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsOfflineRegionSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsOfflineRegionSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsOnlineRegionSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsOnlineRegionSample.js index fcd3dda74f6..dc373131d92 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsOnlineRegionSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsOnlineRegionSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsRegenerateKeySample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsRegenerateKeySample.js index ccc0d0908ef..eee33748fe2 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsRegenerateKeySample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsRegenerateKeySample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsUpdateSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsUpdateSample.js index 6ff2f48905e..0c98a8a1dfd 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsUpdateSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseAccountsUpdateSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseListMetricDefinitionsSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseListMetricDefinitionsSample.js index 339b6584256..7ad4c276b3b 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseListMetricDefinitionsSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseListMetricDefinitionsSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseListMetricsSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseListMetricsSample.js index 2d2ac3920d8..ef574db9df4 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseListMetricsSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseListMetricsSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseListUsagesSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseListUsagesSample.js index 29228b38e78..6267fea24fa 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseListUsagesSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/databaseListUsagesSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesCreateUpdateGremlinDatabaseSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesCreateUpdateGremlinDatabaseSample.js index 34b6c5bef66..f4c8691ec9a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesCreateUpdateGremlinDatabaseSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesCreateUpdateGremlinDatabaseSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesCreateUpdateGremlinGraphSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesCreateUpdateGremlinGraphSample.js index 8f593e92090..3fe35423b0e 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesCreateUpdateGremlinGraphSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesCreateUpdateGremlinGraphSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesDeleteGremlinDatabaseSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesDeleteGremlinDatabaseSample.js index 247d0cd4763..7040adc93c4 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesDeleteGremlinDatabaseSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesDeleteGremlinDatabaseSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesDeleteGremlinGraphSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesDeleteGremlinGraphSample.js index dd5cff62fa1..18c37347dff 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesDeleteGremlinGraphSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesDeleteGremlinGraphSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesGetGremlinDatabaseSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesGetGremlinDatabaseSample.js index a634a918f12..546a5b6f0fc 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesGetGremlinDatabaseSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesGetGremlinDatabaseSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesGetGremlinDatabaseThroughputSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesGetGremlinDatabaseThroughputSample.js index 8bec6496bb2..d95a17511dc 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesGetGremlinDatabaseThroughputSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesGetGremlinDatabaseThroughputSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesGetGremlinGraphSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesGetGremlinGraphSample.js index 58dfe1e9302..9f76c560580 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesGetGremlinGraphSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesGetGremlinGraphSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesGetGremlinGraphThroughputSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesGetGremlinGraphThroughputSample.js index 4d503eaccae..8863b910ea9 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesGetGremlinGraphThroughputSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesGetGremlinGraphThroughputSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesListGremlinDatabasesSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesListGremlinDatabasesSample.js index 00968a1b254..ff456a64752 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesListGremlinDatabasesSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesListGremlinDatabasesSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesListGremlinGraphsSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesListGremlinGraphsSample.js index a165796b28d..c289d2bdd53 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesListGremlinGraphsSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesListGremlinGraphsSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesMigrateGremlinDatabaseToAutoscaleSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesMigrateGremlinDatabaseToAutoscaleSample.js index 989ee4de706..47405bade0a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesMigrateGremlinDatabaseToAutoscaleSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesMigrateGremlinDatabaseToAutoscaleSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesMigrateGremlinDatabaseToManualThroughputSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesMigrateGremlinDatabaseToManualThroughputSample.js index 2b7a179a8aa..9474cbe5558 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesMigrateGremlinDatabaseToManualThroughputSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesMigrateGremlinDatabaseToManualThroughputSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesMigrateGremlinGraphToAutoscaleSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesMigrateGremlinGraphToAutoscaleSample.js index a720ca9f8cc..e9d46b82466 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesMigrateGremlinGraphToAutoscaleSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesMigrateGremlinGraphToAutoscaleSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesMigrateGremlinGraphToManualThroughputSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesMigrateGremlinGraphToManualThroughputSample.js index 778a2a4bf46..a651c97d31b 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesMigrateGremlinGraphToManualThroughputSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesMigrateGremlinGraphToManualThroughputSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesRetrieveContinuousBackupInformationSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesRetrieveContinuousBackupInformationSample.js index b1fc8261569..c63aebcaed1 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesRetrieveContinuousBackupInformationSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesRetrieveContinuousBackupInformationSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesUpdateGremlinDatabaseThroughputSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesUpdateGremlinDatabaseThroughputSample.js index 7b4a3408002..433932848bd 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesUpdateGremlinDatabaseThroughputSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesUpdateGremlinDatabaseThroughputSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesUpdateGremlinGraphThroughputSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesUpdateGremlinGraphThroughputSample.js index 5a1fbdcc98e..c87f95c2da3 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesUpdateGremlinGraphThroughputSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/gremlinResourcesUpdateGremlinGraphThroughputSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/locationsGetSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/locationsGetSample.js index 056ac498b85..5a0037e859a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/locationsGetSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/locationsGetSample.js @@ -16,7 +16,7 @@ require("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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/locationsListSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/locationsListSample.js index e2374412ff0..6a9674f97ec 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/locationsListSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/locationsListSample.js @@ -16,7 +16,7 @@ require("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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesCreateUpdateMongoDbcollectionSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesCreateUpdateMongoDbcollectionSample.js index 78d6db08c10..bfda396c996 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesCreateUpdateMongoDbcollectionSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesCreateUpdateMongoDbcollectionSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesCreateUpdateMongoDbdatabaseSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesCreateUpdateMongoDbdatabaseSample.js index 3820245696c..5f532603255 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesCreateUpdateMongoDbdatabaseSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesCreateUpdateMongoDbdatabaseSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesCreateUpdateMongoRoleDefinitionSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesCreateUpdateMongoRoleDefinitionSample.js index 8c0c52c720f..b8772e809b3 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesCreateUpdateMongoRoleDefinitionSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesCreateUpdateMongoRoleDefinitionSample.js @@ -16,7 +16,7 @@ require("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 = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "mySubscriptionId"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesCreateUpdateMongoUserDefinitionSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesCreateUpdateMongoUserDefinitionSample.js index 69bb4d48405..339ac62f7c5 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesCreateUpdateMongoUserDefinitionSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesCreateUpdateMongoUserDefinitionSample.js @@ -16,7 +16,7 @@ require("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 = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "mySubscriptionId"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesDeleteMongoDbcollectionSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesDeleteMongoDbcollectionSample.js index 30ac44b3b5c..b80fc465450 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesDeleteMongoDbcollectionSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesDeleteMongoDbcollectionSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesDeleteMongoDbdatabaseSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesDeleteMongoDbdatabaseSample.js index d3372562376..f0c670f4809 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesDeleteMongoDbdatabaseSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesDeleteMongoDbdatabaseSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesDeleteMongoRoleDefinitionSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesDeleteMongoRoleDefinitionSample.js index 5c8858d6f77..7a174eddde7 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesDeleteMongoRoleDefinitionSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesDeleteMongoRoleDefinitionSample.js @@ -16,7 +16,7 @@ require("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 = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "mySubscriptionId"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesDeleteMongoUserDefinitionSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesDeleteMongoUserDefinitionSample.js index 9b9ae2187b3..e87eabd76e5 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesDeleteMongoUserDefinitionSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesDeleteMongoUserDefinitionSample.js @@ -16,7 +16,7 @@ require("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 = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "mySubscriptionId"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesGetMongoDbcollectionSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesGetMongoDbcollectionSample.js index 5193305eb08..b87386f2186 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesGetMongoDbcollectionSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesGetMongoDbcollectionSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesGetMongoDbcollectionThroughputSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesGetMongoDbcollectionThroughputSample.js index ab980233741..69d9b062651 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesGetMongoDbcollectionThroughputSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesGetMongoDbcollectionThroughputSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesGetMongoDbdatabaseSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesGetMongoDbdatabaseSample.js index f569a631d40..6f55beda78e 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesGetMongoDbdatabaseSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesGetMongoDbdatabaseSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesGetMongoDbdatabaseThroughputSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesGetMongoDbdatabaseThroughputSample.js index 8a685b0ddba..687c03a0bc3 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesGetMongoDbdatabaseThroughputSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesGetMongoDbdatabaseThroughputSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesGetMongoRoleDefinitionSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesGetMongoRoleDefinitionSample.js index 6d0beed9a68..58b247739e1 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesGetMongoRoleDefinitionSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesGetMongoRoleDefinitionSample.js @@ -16,7 +16,7 @@ require("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 = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "mySubscriptionId"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesGetMongoUserDefinitionSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesGetMongoUserDefinitionSample.js index add7eafd40e..abae1e7edfe 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesGetMongoUserDefinitionSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesGetMongoUserDefinitionSample.js @@ -16,7 +16,7 @@ require("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 = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "mySubscriptionId"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesListMongoDbcollectionsSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesListMongoDbcollectionsSample.js index 6c2408c736a..7522c27268a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesListMongoDbcollectionsSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesListMongoDbcollectionsSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesListMongoDbdatabasesSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesListMongoDbdatabasesSample.js index 34df20b6332..212623872a4 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesListMongoDbdatabasesSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesListMongoDbdatabasesSample.js @@ -16,7 +16,7 @@ require("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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesListMongoRoleDefinitionsSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesListMongoRoleDefinitionsSample.js index c5212dad65a..53737b040c4 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesListMongoRoleDefinitionsSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesListMongoRoleDefinitionsSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Retrieves the list of all Azure Cosmos DB Mongo Role Definitions. * * @summary Retrieves the list of all Azure Cosmos DB Mongo Role Definitions. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBRoleDefinitionList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBRoleDefinitionList.json */ async function cosmosDbMongoDbroleDefinitionList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "mySubscriptionId"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesListMongoUserDefinitionsSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesListMongoUserDefinitionsSample.js index 7838f15189e..e0d1bc2d9d2 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesListMongoUserDefinitionsSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesListMongoUserDefinitionsSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Retrieves the list of all Azure Cosmos DB Mongo User Definition. * * @summary Retrieves the list of all Azure Cosmos DB Mongo User Definition. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBUserDefinitionList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBUserDefinitionList.json */ async function cosmosDbMongoDbuserDefinitionList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "mySubscriptionId"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesMigrateMongoDbcollectionToAutoscaleSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesMigrateMongoDbcollectionToAutoscaleSample.js index 3cb9d7048bb..b336f8fbe80 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesMigrateMongoDbcollectionToAutoscaleSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesMigrateMongoDbcollectionToAutoscaleSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Migrate an Azure Cosmos DB MongoDB collection from manual throughput to autoscale * * @summary Migrate an Azure Cosmos DB MongoDB collection from manual throughput to autoscale - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBCollectionMigrateToAutoscale.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionMigrateToAutoscale.json */ async function cosmosDbMongoDbcollectionMigrateToAutoscale() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesMigrateMongoDbcollectionToManualThroughputSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesMigrateMongoDbcollectionToManualThroughputSample.js index fafc3c4e24c..23cb6c5dba0 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesMigrateMongoDbcollectionToManualThroughputSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesMigrateMongoDbcollectionToManualThroughputSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Migrate an Azure Cosmos DB MongoDB collection from autoscale to manual throughput * * @summary Migrate an Azure Cosmos DB MongoDB collection from autoscale to manual throughput - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBCollectionMigrateToManualThroughput.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionMigrateToManualThroughput.json */ async function cosmosDbMongoDbcollectionMigrateToManualThroughput() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesMigrateMongoDbdatabaseToAutoscaleSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesMigrateMongoDbdatabaseToAutoscaleSample.js index 0b6e0d24826..d7142d231c4 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesMigrateMongoDbdatabaseToAutoscaleSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesMigrateMongoDbdatabaseToAutoscaleSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Migrate an Azure Cosmos DB MongoDB database from manual throughput to autoscale * * @summary Migrate an Azure Cosmos DB MongoDB database from manual throughput to autoscale - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBDatabaseMigrateToAutoscale.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBDatabaseMigrateToAutoscale.json */ async function cosmosDbMongoDbdatabaseMigrateToAutoscale() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesMigrateMongoDbdatabaseToManualThroughputSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesMigrateMongoDbdatabaseToManualThroughputSample.js index b2564f48714..fe4195d08fe 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesMigrateMongoDbdatabaseToManualThroughputSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesMigrateMongoDbdatabaseToManualThroughputSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Migrate an Azure Cosmos DB MongoDB database from autoscale to manual throughput * * @summary Migrate an Azure Cosmos DB MongoDB database from autoscale to manual throughput - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBDatabaseMigrateToManualThroughput.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBDatabaseMigrateToManualThroughput.json */ async function cosmosDbMongoDbdatabaseMigrateToManualThroughput() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesRetrieveContinuousBackupInformationSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesRetrieveContinuousBackupInformationSample.js index b49667485e5..acb474cc080 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesRetrieveContinuousBackupInformationSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesRetrieveContinuousBackupInformationSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Retrieves continuous backup information for a Mongodb collection. * * @summary Retrieves continuous backup information for a Mongodb collection. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBCollectionBackupInformation.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionBackupInformation.json */ async function cosmosDbMongoDbcollectionBackupInformation() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesUpdateMongoDbcollectionThroughputSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesUpdateMongoDbcollectionThroughputSample.js index 99b65a3b8a9..0621aed4b09 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesUpdateMongoDbcollectionThroughputSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesUpdateMongoDbcollectionThroughputSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Update the RUs per second of an Azure Cosmos DB MongoDB collection * * @summary Update the RUs per second of an Azure Cosmos DB MongoDB collection - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBCollectionThroughputUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionThroughputUpdate.json */ async function cosmosDbMongoDbcollectionThroughputUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesUpdateMongoDbdatabaseThroughputSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesUpdateMongoDbdatabaseThroughputSample.js index a0777848fde..742c7906381 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesUpdateMongoDbdatabaseThroughputSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/mongoDbResourcesUpdateMongoDbdatabaseThroughputSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Update RUs per second of the an Azure Cosmos DB MongoDB database * * @summary Update RUs per second of the an Azure Cosmos DB MongoDB database - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json */ async function cosmosDbMongoDbdatabaseThroughputUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesCreateOrUpdateSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesCreateOrUpdateSample.js index 656a1eb1e97..7eb59f98fae 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesCreateOrUpdateSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesCreateOrUpdateSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Creates the notebook workspace for a Cosmos DB account. * * @summary Creates the notebook workspace for a Cosmos DB account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceCreate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceCreate.json */ async function cosmosDbNotebookWorkspaceCreate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesDeleteSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesDeleteSample.js index 897d9c810e0..ef9a9640b1c 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesDeleteSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesDeleteSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Deletes the notebook workspace for a Cosmos DB account. * * @summary Deletes the notebook workspace for a Cosmos DB account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceDelete.json */ async function cosmosDbNotebookWorkspaceDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesGetSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesGetSample.js index 26dbafcaba8..fa40622da2f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesGetSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesGetSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets the notebook workspace for a Cosmos DB account. * * @summary Gets the notebook workspace for a Cosmos DB account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceGet.json */ async function cosmosDbNotebookWorkspaceGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesListByDatabaseAccountSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesListByDatabaseAccountSample.js index 3cdeeba7c9c..ec957e6b8b8 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesListByDatabaseAccountSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesListByDatabaseAccountSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets the notebook workspace resources of an existing Cosmos DB account. * * @summary Gets the notebook workspace resources of an existing Cosmos DB account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceList.json */ async function cosmosDbNotebookWorkspaceList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesListConnectionInfoSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesListConnectionInfoSample.js index dcc1450dbc9..98d8eeecd61 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesListConnectionInfoSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesListConnectionInfoSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Retrieves the connection info for the notebook workspace * * @summary Retrieves the connection info for the notebook workspace - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceListConnectionInfo.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceListConnectionInfo.json */ async function cosmosDbNotebookWorkspaceListConnectionInfo() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesRegenerateAuthTokenSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesRegenerateAuthTokenSample.js index 50bc9a251e3..6edc7713714 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesRegenerateAuthTokenSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesRegenerateAuthTokenSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Regenerates the auth token for the notebook workspace * * @summary Regenerates the auth token for the notebook workspace - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceRegenerateAuthToken.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceRegenerateAuthToken.json */ async function cosmosDbNotebookWorkspaceRegenerateAuthToken() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesStartSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesStartSample.js index e4f41c3eb05..267d36b5ab1 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesStartSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/notebookWorkspacesStartSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Starts the notebook workspace * * @summary Starts the notebook workspace - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceStart.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceStart.json */ async function cosmosDbNotebookWorkspaceStart() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/operationsListSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/operationsListSample.js index 2c9b6266911..2cdc50863ab 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/operationsListSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/operationsListSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Lists all of the available Cosmos DB Resource Provider operations. * * @summary Lists all of the available Cosmos DB Resource Provider operations. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBOperationsList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBOperationsList.json */ async function cosmosDbOperationsList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/package.json b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/package.json index 824dc726207..9c55bdd3907 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/package.json +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/package.json @@ -27,6 +27,6 @@ "dependencies": { "@azure/arm-cosmosdb": "latest", "dotenv": "latest", - "@azure/identity": "^4.0.1" + "@azure/identity": "^4.2.1" } } diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/partitionKeyRangeIdListMetricsSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/partitionKeyRangeIdListMetricsSample.js index ae639081627..4b7312cbb7d 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/partitionKeyRangeIdListMetricsSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/partitionKeyRangeIdListMetricsSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Retrieves the metrics determined by the given filter for the given partition key range id. * * @summary Retrieves the metrics determined by the given filter for the given partition key range id. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPKeyRangeIdGetMetrics.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPKeyRangeIdGetMetrics.json */ async function cosmosDbDatabaseAccountRegionGetMetrics() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/partitionKeyRangeIdRegionListMetricsSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/partitionKeyRangeIdRegionListMetricsSample.js index 408ff0c773b..733a994a665 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/partitionKeyRangeIdRegionListMetricsSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/partitionKeyRangeIdRegionListMetricsSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Retrieves the metrics determined by the given filter for the given partition key range id and region. * * @summary Retrieves the metrics determined by the given filter for the given partition key range id and region. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPKeyRangeIdRegionGetMetrics.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPKeyRangeIdRegionGetMetrics.json */ async function cosmosDbDatabaseAccountRegionGetMetrics() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/percentileListMetricsSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/percentileListMetricsSample.js index f213aff9ab4..3d6f1af3473 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/percentileListMetricsSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/percentileListMetricsSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Retrieves the metrics determined by the given filter for the given database account. This url is only for PBS and Replication Latency data * * @summary Retrieves the metrics determined by the given filter for the given database account. This url is only for PBS and Replication Latency data - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPercentileGetMetrics.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPercentileGetMetrics.json */ async function cosmosDbDatabaseAccountRegionGetMetrics() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/percentileSourceTargetListMetricsSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/percentileSourceTargetListMetricsSample.js index 51b968e64e0..cf70aeff6bc 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/percentileSourceTargetListMetricsSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/percentileSourceTargetListMetricsSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to 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 * * @summary 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 - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPercentileSourceTargetGetMetrics.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPercentileSourceTargetGetMetrics.json */ async function cosmosDbDatabaseAccountRegionGetMetrics() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/percentileTargetListMetricsSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/percentileTargetListMetricsSample.js index 2cb9133290b..d542f698cfe 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/percentileTargetListMetricsSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/percentileTargetListMetricsSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Retrieves the metrics determined by the given filter for the given account target region. This url is only for PBS and Replication Latency data * * @summary Retrieves the metrics determined by the given filter for the given account target region. This url is only for PBS and Replication Latency data - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPercentileTargetGetMetrics.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPercentileTargetGetMetrics.json */ async function cosmosDbDatabaseAccountRegionGetMetrics() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/privateEndpointConnectionsCreateOrUpdateSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/privateEndpointConnectionsCreateOrUpdateSample.js index 78ed6e36def..5212354dfc9 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/privateEndpointConnectionsCreateOrUpdateSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/privateEndpointConnectionsCreateOrUpdateSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Approve or reject a private endpoint connection with a given name. * * @summary Approve or reject a private endpoint connection with a given name. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateEndpointConnectionUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateEndpointConnectionUpdate.json */ async function approveOrRejectAPrivateEndpointConnectionWithAGivenName() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/privateEndpointConnectionsDeleteSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/privateEndpointConnectionsDeleteSample.js index ab8767c01e7..6b89d69d90b 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/privateEndpointConnectionsDeleteSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/privateEndpointConnectionsDeleteSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Deletes a private endpoint connection with a given name. * * @summary Deletes a private endpoint connection with a given name. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateEndpointConnectionDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateEndpointConnectionDelete.json */ async function deletesAPrivateEndpointConnectionWithAGivenName() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/privateEndpointConnectionsGetSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/privateEndpointConnectionsGetSample.js index 7bffafc3a70..9ef7c4a874a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/privateEndpointConnectionsGetSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/privateEndpointConnectionsGetSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets a private endpoint connection. * * @summary Gets a private endpoint connection. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateEndpointConnectionGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateEndpointConnectionGet.json */ async function getsPrivateEndpointConnection() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/privateEndpointConnectionsListByDatabaseAccountSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/privateEndpointConnectionsListByDatabaseAccountSample.js index 89fb36ab81d..af53b28247b 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/privateEndpointConnectionsListByDatabaseAccountSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/privateEndpointConnectionsListByDatabaseAccountSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to List all private endpoint connections on a Cosmos DB account. * * @summary List all private endpoint connections on a Cosmos DB account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateEndpointConnectionListGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateEndpointConnectionListGet.json */ async function getsPrivateEndpointConnection() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/privateLinkResourcesGetSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/privateLinkResourcesGetSample.js index d50912c5b0b..ec558598bd1 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/privateLinkResourcesGetSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/privateLinkResourcesGetSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets the private link resources that need to be created for a Cosmos DB account. * * @summary Gets the private link resources that need to be created for a Cosmos DB account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateLinkResourceGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateLinkResourceGet.json */ async function getsPrivateEndpointConnection() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/privateLinkResourcesListByDatabaseAccountSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/privateLinkResourcesListByDatabaseAccountSample.js index 74545a458e8..365802b896f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/privateLinkResourcesListByDatabaseAccountSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/privateLinkResourcesListByDatabaseAccountSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets the private link resources that need to be created for a Cosmos DB account. * * @summary Gets the private link resources that need to be created for a Cosmos DB account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateLinkResourceListGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateLinkResourceListGet.json */ async function getsPrivateEndpointConnection() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableDatabaseAccountsGetByLocationSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableDatabaseAccountsGetByLocationSample.js index fcc84a887c8..8c27860477d 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableDatabaseAccountsGetByLocationSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableDatabaseAccountsGetByLocationSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Retrieves the properties of an existing Azure Cosmos DB restorable database account. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/*' permission. * * @summary Retrieves the properties of an existing Azure Cosmos DB restorable database account. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/*' permission. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableDatabaseAccountGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableDatabaseAccountGet.json */ async function cosmosDbRestorableDatabaseAccountGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableDatabaseAccountsListByLocationSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableDatabaseAccountsListByLocationSample.js index 07c3f8e6905..82bd3272069 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableDatabaseAccountsListByLocationSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableDatabaseAccountsListByLocationSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Lists all the restorable Azure Cosmos DB database accounts available under the subscription and in a region. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. * * @summary Lists all the restorable Azure Cosmos DB database accounts available under the subscription and in a region. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableDatabaseAccountList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableDatabaseAccountList.json */ async function cosmosDbRestorableDatabaseAccountList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableDatabaseAccountsListSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableDatabaseAccountsListSample.js index aa436e20d49..dc76772452a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableDatabaseAccountsListSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableDatabaseAccountsListSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Lists all the restorable Azure Cosmos DB database accounts available under the subscription. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. * * @summary Lists all the restorable Azure Cosmos DB database accounts available under the subscription. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableDatabaseAccountNoLocationList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableDatabaseAccountNoLocationList.json */ async function cosmosDbRestorableDatabaseAccountNoLocationList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableGremlinDatabasesListSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableGremlinDatabasesListSample.js index f176d0a5036..46400d86f65 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableGremlinDatabasesListSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableGremlinDatabasesListSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission * * @summary Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableGremlinDatabaseList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableGremlinDatabaseList.json */ async function cosmosDbRestorableGremlinDatabaseList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableGremlinGraphsListSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableGremlinGraphsListSample.js index 1eaf7b9aca0..e08e90deb67 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableGremlinGraphsListSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableGremlinGraphsListSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission * * @summary Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableGremlinGraphList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableGremlinGraphList.json */ async function cosmosDbRestorableGremlinGraphList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableGremlinResourcesListSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableGremlinResourcesListSample.js index 57a3f56567b..6ece4ea4453 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableGremlinResourcesListSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableGremlinResourcesListSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. * * @summary Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableGremlinResourceList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableGremlinResourceList.json */ async function cosmosDbRestorableGremlinResourceList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableMongodbCollectionsListSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableMongodbCollectionsListSample.js index 1578bbb1201..e5cd041d1d7 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableMongodbCollectionsListSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableMongodbCollectionsListSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB collections under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission * * @summary Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB collections under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableMongodbCollectionList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableMongodbCollectionList.json */ async function cosmosDbRestorableMongodbCollectionList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableMongodbDatabasesListSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableMongodbDatabasesListSample.js index 6322bf24905..aaa1d81c969 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableMongodbDatabasesListSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableMongodbDatabasesListSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission * * @summary Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableMongodbDatabaseList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableMongodbDatabaseList.json */ async function cosmosDbRestorableMongodbDatabaseList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableMongodbResourcesListSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableMongodbResourcesListSample.js index a2d813c49e0..dcf023c7f05 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableMongodbResourcesListSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableMongodbResourcesListSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Return a list of database and collection combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. * * @summary Return a list of database and collection combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableMongodbResourceList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableMongodbResourceList.json */ async function cosmosDbRestorableMongodbResourceList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableSqlContainersListSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableSqlContainersListSample.js index bcfce8ab4cc..06de9d8e877 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableSqlContainersListSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableSqlContainersListSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB SQL containers under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission * * @summary Show the event feed of all mutations done on all the Azure Cosmos DB SQL containers under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableSqlContainerList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableSqlContainerList.json */ async function cosmosDbRestorableSqlContainerList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableSqlDatabasesListSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableSqlDatabasesListSample.js index 1cc7939b6b5..6a3a6a3edbd 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableSqlDatabasesListSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableSqlDatabasesListSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB SQL databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission * * @summary Show the event feed of all mutations done on all the Azure Cosmos DB SQL databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableSqlDatabaseList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableSqlDatabaseList.json */ async function cosmosDbRestorableSqlDatabaseList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableSqlResourcesListSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableSqlResourcesListSample.js index a9d042f6910..88d012f1210 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableSqlResourcesListSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableSqlResourcesListSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Return a list of database and container combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. * * @summary Return a list of database and container combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableSqlResourceList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableSqlResourceList.json */ async function cosmosDbRestorableSqlResourceList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableTableResourcesListSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableTableResourcesListSample.js index 104a73f56aa..1b6bcc974d7 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableTableResourcesListSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableTableResourcesListSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Return a list of tables that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. * * @summary Return a list of tables that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableTableResourceList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableTableResourceList.json */ async function cosmosDbRestorableTableResourceList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableTablesListSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableTablesListSample.js index 0ab49914852..73cbfaebd89 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableTablesListSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/restorableTablesListSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB Tables. This helps in scenario where table was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission * * @summary Show the event feed of all mutations done on all the Azure Cosmos DB Tables. This helps in scenario where table was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableTableList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableTableList.json */ async function cosmosDbRestorableTableList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/serviceCreateSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/serviceCreateSample.js index 318b15084f9..7d643949027 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/serviceCreateSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/serviceCreateSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Creates a service. * * @summary Creates a service. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDataTransferServiceCreate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDataTransferServiceCreate.json */ async function dataTransferServiceCreate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; @@ -45,7 +45,7 @@ async function dataTransferServiceCreate() { * This sample demonstrates how to Creates a service. * * @summary Creates a service. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBGraphAPIComputeServiceCreate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGraphAPIComputeServiceCreate.json */ async function graphApiComputeServiceCreate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; @@ -74,7 +74,7 @@ async function graphApiComputeServiceCreate() { * This sample demonstrates how to Creates a service. * * @summary Creates a service. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMaterializedViewsBuilderServiceCreate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMaterializedViewsBuilderServiceCreate.json */ async function materializedViewsBuilderServiceCreate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; @@ -103,7 +103,7 @@ async function materializedViewsBuilderServiceCreate() { * This sample demonstrates how to Creates a service. * * @summary Creates a service. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceCreate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceCreate.json */ async function sqlDedicatedGatewayServiceCreate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/serviceDeleteSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/serviceDeleteSample.js index 12b4b4916c8..966da819ecb 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/serviceDeleteSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/serviceDeleteSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Deletes service with the given serviceName. * * @summary Deletes service with the given serviceName. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDataTransferServiceDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDataTransferServiceDelete.json */ async function dataTransferServiceDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; @@ -37,7 +37,7 @@ async function dataTransferServiceDelete() { * This sample demonstrates how to Deletes service with the given serviceName. * * @summary Deletes service with the given serviceName. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBGraphAPIComputeServiceDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGraphAPIComputeServiceDelete.json */ async function graphApiComputeServiceDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; @@ -58,7 +58,7 @@ async function graphApiComputeServiceDelete() { * This sample demonstrates how to Deletes service with the given serviceName. * * @summary Deletes service with the given serviceName. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMaterializedViewsBuilderServiceDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMaterializedViewsBuilderServiceDelete.json */ async function materializedViewsBuilderServiceDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; @@ -79,7 +79,7 @@ async function materializedViewsBuilderServiceDelete() { * This sample demonstrates how to Deletes service with the given serviceName. * * @summary Deletes service with the given serviceName. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceDelete.json */ async function sqlDedicatedGatewayServiceDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/serviceGetSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/serviceGetSample.js index 7b08690d77d..d5844f97043 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/serviceGetSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/serviceGetSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets the status of service. * * @summary Gets the status of service. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDataTransferServiceGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDataTransferServiceGet.json */ async function dataTransferServiceGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; @@ -33,7 +33,7 @@ async function dataTransferServiceGet() { * This sample demonstrates how to Gets the status of service. * * @summary Gets the status of service. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBGraphAPIComputeServiceGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGraphAPIComputeServiceGet.json */ async function graphApiComputeServiceGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; @@ -50,7 +50,7 @@ async function graphApiComputeServiceGet() { * This sample demonstrates how to Gets the status of service. * * @summary Gets the status of service. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMaterializedViewsBuilderServiceGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMaterializedViewsBuilderServiceGet.json */ async function materializedViewsBuilderServiceGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; @@ -67,7 +67,7 @@ async function materializedViewsBuilderServiceGet() { * This sample demonstrates how to Gets the status of service. * * @summary Gets the status of service. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceGet.json */ async function sqlDedicatedGatewayServiceGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/serviceListSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/serviceListSample.js index ccba4bba644..910290ffecf 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/serviceListSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/serviceListSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets the status of service. * * @summary Gets the status of service. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBServicesList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBServicesList.json */ async function cosmosDbServicesList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateClientEncryptionKeySample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateClientEncryptionKeySample.js index 93bf64b1e0c..4fdc217bcb3 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateClientEncryptionKeySample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateClientEncryptionKeySample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell (instead of directly). * * @summary Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell (instead of directly). - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlClientEncryptionKeyCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlClientEncryptionKeyCreateUpdate.json */ async function cosmosDbClientEncryptionKeyCreateUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subId"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlContainerSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlContainerSample.js index 3711901e9a0..6ecd8bea561 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlContainerSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlContainerSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Create or update an Azure Cosmos DB SQL container * * @summary Create or update an Azure Cosmos DB SQL container - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerCreateUpdate.json */ async function cosmosDbSqlContainerCreateUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlDatabaseSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlDatabaseSample.js index 5fedf93f6d8..75ee8782446 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlDatabaseSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlDatabaseSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Create or update an Azure Cosmos DB SQL database * * @summary Create or update an Azure Cosmos DB SQL database - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseCreateUpdate.json */ async function cosmosDbSqlDatabaseCreateUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlRoleAssignmentSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlRoleAssignmentSample.js index e49b3d580b2..549022ee144 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlRoleAssignmentSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlRoleAssignmentSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Creates or updates an Azure Cosmos DB SQL Role Assignment. * * @summary Creates or updates an Azure Cosmos DB SQL Role Assignment. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleAssignmentCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleAssignmentCreateUpdate.json */ async function cosmosDbSqlRoleAssignmentCreateUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "mySubscriptionId"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlRoleDefinitionSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlRoleDefinitionSample.js index 6fb21049d24..59ed5971443 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlRoleDefinitionSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlRoleDefinitionSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Creates or updates an Azure Cosmos DB SQL Role Definition. * * @summary Creates or updates an Azure Cosmos DB SQL Role Definition. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleDefinitionCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleDefinitionCreateUpdate.json */ async function cosmosDbSqlRoleDefinitionCreateUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "mySubscriptionId"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlStoredProcedureSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlStoredProcedureSample.js index c4860134850..fd305d61ded 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlStoredProcedureSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlStoredProcedureSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Create or update an Azure Cosmos DB SQL storedProcedure * * @summary Create or update an Azure Cosmos DB SQL storedProcedure - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlStoredProcedureCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlStoredProcedureCreateUpdate.json */ async function cosmosDbSqlStoredProcedureCreateUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlTriggerSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlTriggerSample.js index 36d6d0aa22f..1c0534737b2 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlTriggerSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlTriggerSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Create or update an Azure Cosmos DB SQL trigger * * @summary Create or update an Azure Cosmos DB SQL trigger - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlTriggerCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlTriggerCreateUpdate.json */ async function cosmosDbSqlTriggerCreateUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlUserDefinedFunctionSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlUserDefinedFunctionSample.js index 659c3ab2fef..5e882ef8ed7 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlUserDefinedFunctionSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesCreateUpdateSqlUserDefinedFunctionSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Create or update an Azure Cosmos DB SQL userDefinedFunction * * @summary Create or update an Azure Cosmos DB SQL userDefinedFunction - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlUserDefinedFunctionCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlUserDefinedFunctionCreateUpdate.json */ async function cosmosDbSqlUserDefinedFunctionCreateUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlContainerSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlContainerSample.js index f171f9ac92d..4fdad69dfc2 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlContainerSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlContainerSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Deletes an existing Azure Cosmos DB SQL container. * * @summary Deletes an existing Azure Cosmos DB SQL container. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerDelete.json */ async function cosmosDbSqlContainerDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlDatabaseSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlDatabaseSample.js index 37c2d2ad415..12ad47f85f9 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlDatabaseSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlDatabaseSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Deletes an existing Azure Cosmos DB SQL database. * * @summary Deletes an existing Azure Cosmos DB SQL database. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseDelete.json */ async function cosmosDbSqlDatabaseDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlRoleAssignmentSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlRoleAssignmentSample.js index e24a62db3cb..b12be4d6f15 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlRoleAssignmentSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlRoleAssignmentSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Deletes an existing Azure Cosmos DB SQL Role Assignment. * * @summary Deletes an existing Azure Cosmos DB SQL Role Assignment. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleAssignmentDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleAssignmentDelete.json */ async function cosmosDbSqlRoleAssignmentDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "mySubscriptionId"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlRoleDefinitionSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlRoleDefinitionSample.js index 48c33234264..bd3954c69a9 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlRoleDefinitionSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlRoleDefinitionSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Deletes an existing Azure Cosmos DB SQL Role Definition. * * @summary Deletes an existing Azure Cosmos DB SQL Role Definition. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleDefinitionDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleDefinitionDelete.json */ async function cosmosDbSqlRoleDefinitionDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "mySubscriptionId"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlStoredProcedureSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlStoredProcedureSample.js index 6de76a4037f..8d204760957 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlStoredProcedureSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlStoredProcedureSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Deletes an existing Azure Cosmos DB SQL storedProcedure. * * @summary Deletes an existing Azure Cosmos DB SQL storedProcedure. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlStoredProcedureDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlStoredProcedureDelete.json */ async function cosmosDbSqlStoredProcedureDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlTriggerSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlTriggerSample.js index 2e0f673c0d8..0f9ecdb1392 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlTriggerSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlTriggerSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Deletes an existing Azure Cosmos DB SQL trigger. * * @summary Deletes an existing Azure Cosmos DB SQL trigger. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlTriggerDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlTriggerDelete.json */ async function cosmosDbSqlTriggerDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlUserDefinedFunctionSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlUserDefinedFunctionSample.js index 32b9f0ebef0..855832f57d0 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlUserDefinedFunctionSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesDeleteSqlUserDefinedFunctionSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Deletes an existing Azure Cosmos DB SQL userDefinedFunction. * * @summary Deletes an existing Azure Cosmos DB SQL userDefinedFunction. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlUserDefinedFunctionDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlUserDefinedFunctionDelete.json */ async function cosmosDbSqlUserDefinedFunctionDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetClientEncryptionKeySample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetClientEncryptionKeySample.js index a8c40343aff..40420a0607f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetClientEncryptionKeySample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetClientEncryptionKeySample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database. * * @summary Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlClientEncryptionKeyGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlClientEncryptionKeyGet.json */ async function cosmosDbClientEncryptionKeyGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subId"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlContainerSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlContainerSample.js index ee0eecb74fd..30f7c33cdcd 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlContainerSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlContainerSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets the SQL container under an existing Azure Cosmos DB database account. * * @summary Gets the SQL container under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerGet.json */ async function cosmosDbSqlContainerGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlContainerThroughputSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlContainerThroughputSample.js index 9a2fa8a0299..ef721672ade 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlContainerThroughputSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlContainerThroughputSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account. * * @summary Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerThroughputGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerThroughputGet.json */ async function cosmosDbSqlContainerThroughputGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlDatabaseSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlDatabaseSample.js index 6d56f2643ef..feb53ada076 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlDatabaseSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlDatabaseSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets the SQL database under an existing Azure Cosmos DB database account with the provided name. * * @summary Gets the SQL 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/CosmosDBSqlDatabaseGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseGet.json */ async function cosmosDbSqlDatabaseGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlDatabaseThroughputSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlDatabaseThroughputSample.js index 1e3c5d19828..411bd07d97d 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlDatabaseThroughputSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlDatabaseThroughputSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the provided name. * * @summary Gets the RUs per second of the SQL 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/CosmosDBSqlDatabaseThroughputGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseThroughputGet.json */ async function cosmosDbSqlDatabaseThroughputGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlRoleAssignmentSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlRoleAssignmentSample.js index 2ec15eedc96..77998dc84f7 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlRoleAssignmentSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlRoleAssignmentSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id. * * @summary Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleAssignmentGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleAssignmentGet.json */ async function cosmosDbSqlRoleAssignmentGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "mySubscriptionId"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlRoleDefinitionSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlRoleDefinitionSample.js index 49dfbacf12c..5d2d50fea7b 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlRoleDefinitionSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlRoleDefinitionSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id. * * @summary Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleDefinitionGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleDefinitionGet.json */ async function cosmosDbSqlRoleDefinitionGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "mySubscriptionId"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlStoredProcedureSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlStoredProcedureSample.js index 07f33eeef76..e9163b78f2e 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlStoredProcedureSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlStoredProcedureSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets the SQL storedProcedure under an existing Azure Cosmos DB database account. * * @summary Gets the SQL storedProcedure under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlStoredProcedureGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlStoredProcedureGet.json */ async function cosmosDbSqlStoredProcedureGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlTriggerSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlTriggerSample.js index 662103fda2b..21e0b253f33 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlTriggerSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlTriggerSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets the SQL trigger under an existing Azure Cosmos DB database account. * * @summary Gets the SQL trigger under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlTriggerGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlTriggerGet.json */ async function cosmosDbSqlTriggerGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlUserDefinedFunctionSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlUserDefinedFunctionSample.js index 26aa90db2ec..c9e61d2db6e 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlUserDefinedFunctionSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesGetSqlUserDefinedFunctionSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account. * * @summary Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlUserDefinedFunctionGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlUserDefinedFunctionGet.json */ async function cosmosDbSqlUserDefinedFunctionGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListClientEncryptionKeysSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListClientEncryptionKeysSample.js index fa9f2b07c13..ad9e1453fba 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListClientEncryptionKeysSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListClientEncryptionKeysSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database. * * @summary Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlClientEncryptionKeysList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlClientEncryptionKeysList.json */ async function cosmosDbClientEncryptionKeysList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subId"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlContainersSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlContainersSample.js index c0df723aa74..122bda8ea61 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlContainersSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlContainersSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Lists the SQL container under an existing Azure Cosmos DB database account. * * @summary Lists the SQL container under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerList.json */ async function cosmosDbSqlContainerList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlDatabasesSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlDatabasesSample.js index 009a325eaf1..157c62cc2c7 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlDatabasesSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlDatabasesSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Lists the SQL databases under an existing Azure Cosmos DB database account. * * @summary Lists the SQL 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/CosmosDBSqlDatabaseList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseList.json */ async function cosmosDbSqlDatabaseList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlRoleAssignmentsSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlRoleAssignmentsSample.js index 81947ea9669..3ed7f373396 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlRoleAssignmentsSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlRoleAssignmentsSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Retrieves the list of all Azure Cosmos DB SQL Role Assignments. * * @summary Retrieves the list of all Azure Cosmos DB SQL Role Assignments. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleAssignmentList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleAssignmentList.json */ async function cosmosDbSqlRoleAssignmentList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "mySubscriptionId"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlRoleDefinitionsSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlRoleDefinitionsSample.js index 13b89b97818..c05338a0278 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlRoleDefinitionsSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlRoleDefinitionsSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Retrieves the list of all Azure Cosmos DB SQL Role Definitions. * * @summary Retrieves the list of all Azure Cosmos DB SQL Role Definitions. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleDefinitionList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleDefinitionList.json */ async function cosmosDbSqlRoleDefinitionList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "mySubscriptionId"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlStoredProceduresSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlStoredProceduresSample.js index e9ba791839d..ae717d5a134 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlStoredProceduresSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlStoredProceduresSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Lists the SQL storedProcedure under an existing Azure Cosmos DB database account. * * @summary Lists the SQL storedProcedure under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlStoredProcedureList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlStoredProcedureList.json */ async function cosmosDbSqlStoredProcedureList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlTriggersSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlTriggersSample.js index 53fa39d7832..41699c1097a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlTriggersSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlTriggersSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Lists the SQL trigger under an existing Azure Cosmos DB database account. * * @summary Lists the SQL trigger under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlTriggerList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlTriggerList.json */ async function cosmosDbSqlTriggerList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlUserDefinedFunctionsSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlUserDefinedFunctionsSample.js index decbfd71731..843e855587b 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlUserDefinedFunctionsSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesListSqlUserDefinedFunctionsSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Lists the SQL userDefinedFunction under an existing Azure Cosmos DB database account. * * @summary Lists the SQL userDefinedFunction under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlUserDefinedFunctionList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlUserDefinedFunctionList.json */ async function cosmosDbSqlUserDefinedFunctionList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesMigrateSqlContainerToAutoscaleSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesMigrateSqlContainerToAutoscaleSample.js index e128fcf5446..a6add8b22a3 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesMigrateSqlContainerToAutoscaleSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesMigrateSqlContainerToAutoscaleSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Migrate an Azure Cosmos DB SQL container from manual throughput to autoscale * * @summary Migrate an Azure Cosmos DB SQL container from manual throughput to autoscale - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerMigrateToAutoscale.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerMigrateToAutoscale.json */ async function cosmosDbSqlContainerMigrateToAutoscale() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesMigrateSqlContainerToManualThroughputSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesMigrateSqlContainerToManualThroughputSample.js index e762f7e4f88..7ad6c04cf00 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesMigrateSqlContainerToManualThroughputSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesMigrateSqlContainerToManualThroughputSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput * * @summary Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerMigrateToManualThroughput.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerMigrateToManualThroughput.json */ async function cosmosDbSqlContainerMigrateToManualThroughput() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesMigrateSqlDatabaseToAutoscaleSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesMigrateSqlDatabaseToAutoscaleSample.js index 66a9daa9647..88b537091f1 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesMigrateSqlDatabaseToAutoscaleSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesMigrateSqlDatabaseToAutoscaleSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Migrate an Azure Cosmos DB SQL database from manual throughput to autoscale * * @summary Migrate an Azure Cosmos DB SQL database from manual throughput to autoscale - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseMigrateToAutoscale.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseMigrateToAutoscale.json */ async function cosmosDbSqlDatabaseMigrateToAutoscale() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesMigrateSqlDatabaseToManualThroughputSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesMigrateSqlDatabaseToManualThroughputSample.js index 44662cd8e02..d7a2e10b1fc 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesMigrateSqlDatabaseToManualThroughputSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesMigrateSqlDatabaseToManualThroughputSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Migrate an Azure Cosmos DB SQL database from autoscale to manual throughput * * @summary Migrate an Azure Cosmos DB SQL database from autoscale to manual throughput - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseMigrateToManualThroughput.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseMigrateToManualThroughput.json */ async function cosmosDbSqlDatabaseMigrateToManualThroughput() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesRetrieveContinuousBackupInformationSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesRetrieveContinuousBackupInformationSample.js index 3b0136350a2..dd06fcb8b33 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesRetrieveContinuousBackupInformationSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesRetrieveContinuousBackupInformationSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Retrieves continuous backup information for a container resource. * * @summary Retrieves continuous backup information for a container resource. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerBackupInformation.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerBackupInformation.json */ async function cosmosDbSqlContainerBackupInformation() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesUpdateSqlContainerThroughputSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesUpdateSqlContainerThroughputSample.js index 4532bef2443..3d3b4549915 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesUpdateSqlContainerThroughputSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesUpdateSqlContainerThroughputSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Update RUs per second of an Azure Cosmos DB SQL container * * @summary Update RUs per second of an Azure Cosmos DB SQL container - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerThroughputUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerThroughputUpdate.json */ async function cosmosDbSqlContainerThroughputUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesUpdateSqlDatabaseThroughputSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesUpdateSqlDatabaseThroughputSample.js index 422c626cfbe..e6df142cc28 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesUpdateSqlDatabaseThroughputSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/sqlResourcesUpdateSqlDatabaseThroughputSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Update RUs per second of an Azure Cosmos DB SQL database * * @summary Update RUs per second of an Azure Cosmos DB SQL database - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseThroughputUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseThroughputUpdate.json */ async function cosmosDbSqlDatabaseThroughputUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesCreateUpdateTableSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesCreateUpdateTableSample.js index ddcc3123033..9f54893aee4 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesCreateUpdateTableSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesCreateUpdateTableSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Create or update an Azure Cosmos DB Table * * @summary Create or update an Azure Cosmos DB Table - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableCreateUpdate.json */ async function cosmosDbTableReplace() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesDeleteTableSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesDeleteTableSample.js index 9927f0b7fa0..700ffe02246 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesDeleteTableSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesDeleteTableSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Deletes an existing Azure Cosmos DB Table. * * @summary Deletes an existing Azure Cosmos DB Table. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableDelete.json */ async function cosmosDbTableDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesGetTableSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesGetTableSample.js index 3c8cc6db5f8..058c60cba2b 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesGetTableSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesGetTableSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets the Tables under an existing Azure Cosmos DB database account with the provided name. * * @summary Gets the Tables 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/CosmosDBTableGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableGet.json */ async function cosmosDbTableGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesGetTableThroughputSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesGetTableThroughputSample.js index 6eaf041b7c5..b28236196be 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesGetTableThroughputSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesGetTableThroughputSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name. * * @summary Gets the RUs per second of the 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/CosmosDBTableThroughputGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableThroughputGet.json */ async function cosmosDbTableThroughputGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesListTablesSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesListTablesSample.js index ad083a5a76c..b0ac3cc1309 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesListTablesSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesListTablesSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Lists the Tables under an existing Azure Cosmos DB database account. * * @summary Lists the Tables under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableList.json */ async function cosmosDbTableList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesMigrateTableToAutoscaleSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesMigrateTableToAutoscaleSample.js index 19ae271e88a..4561a715c23 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesMigrateTableToAutoscaleSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesMigrateTableToAutoscaleSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Migrate an Azure Cosmos DB Table from manual throughput to autoscale * * @summary Migrate an Azure Cosmos DB Table from manual throughput to autoscale - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableMigrateToAutoscale.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableMigrateToAutoscale.json */ async function cosmosDbTableMigrateToAutoscale() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesMigrateTableToManualThroughputSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesMigrateTableToManualThroughputSample.js index de818ce6530..8ffcd632ac7 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesMigrateTableToManualThroughputSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesMigrateTableToManualThroughputSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Migrate an Azure Cosmos DB Table from autoscale to manual throughput * * @summary Migrate an Azure Cosmos DB Table from autoscale to manual throughput - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableMigrateToManualThroughput.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableMigrateToManualThroughput.json */ async function cosmosDbTableMigrateToManualThroughput() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesRetrieveContinuousBackupInformationSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesRetrieveContinuousBackupInformationSample.js index 51b20d8331b..33b1d651278 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesRetrieveContinuousBackupInformationSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesRetrieveContinuousBackupInformationSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Retrieves continuous backup information for a table. * * @summary Retrieves continuous backup information for a table. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableBackupInformation.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableBackupInformation.json */ async function cosmosDbTableCollectionBackupInformation() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesUpdateTableThroughputSample.js b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesUpdateTableThroughputSample.js index 3e9ca928a61..c8af8ee3336 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesUpdateTableThroughputSample.js +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/javascript/tableResourcesUpdateTableThroughputSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Update RUs per second of an Azure Cosmos DB Table * * @summary Update RUs per second of an Azure Cosmos DB Table - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableThroughputUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableThroughputUpdate.json */ async function cosmosDbTableThroughputUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/README.md b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/README.md index 1028c98a1a6..bff6ce11ebc 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/README.md +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/README.md @@ -4,196 +4,196 @@ These sample programs show how to use the TypeScript client libraries for in som | **File Name** | **Description** | | ------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [cassandraClustersCreateUpdateSample.ts][cassandraclusterscreateupdatesample] | 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 | -| [cassandraClustersDeallocateSample.ts][cassandraclustersdeallocatesample] | 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 | -| [cassandraClustersDeleteSample.ts][cassandraclustersdeletesample] | Deletes a managed Cassandra cluster. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBManagedCassandraClusterDelete.json | -| [cassandraClustersGetSample.ts][cassandraclustersgetsample] | 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 | -| [cassandraClustersInvokeCommandSample.ts][cassandraclustersinvokecommandsample] | 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 | -| [cassandraClustersListByResourceGroupSample.ts][cassandraclusterslistbyresourcegroupsample] | 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 | -| [cassandraClustersListBySubscriptionSample.ts][cassandraclusterslistbysubscriptionsample] | 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 | -| [cassandraClustersStartSample.ts][cassandraclustersstartsample] | 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 | -| [cassandraClustersStatusSample.ts][cassandraclustersstatussample] | 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 | -| [cassandraClustersUpdateSample.ts][cassandraclustersupdatesample] | 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 | -| [cassandraDataCentersCreateUpdateSample.ts][cassandradatacenterscreateupdatesample] | 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 | -| [cassandraDataCentersDeleteSample.ts][cassandradatacentersdeletesample] | Delete a managed Cassandra data center. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBManagedCassandraDataCenterDelete.json | -| [cassandraDataCentersGetSample.ts][cassandradatacentersgetsample] | 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 | -| [cassandraDataCentersListSample.ts][cassandradatacenterslistsample] | 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 | -| [cassandraDataCentersUpdateSample.ts][cassandradatacentersupdatesample] | 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 | -| [cassandraResourcesCreateUpdateCassandraKeyspaceSample.ts][cassandraresourcescreateupdatecassandrakeyspacesample] | 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 | -| [cassandraResourcesCreateUpdateCassandraTableSample.ts][cassandraresourcescreateupdatecassandratablesample] | 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 | -| [cassandraResourcesDeleteCassandraKeyspaceSample.ts][cassandraresourcesdeletecassandrakeyspacesample] | 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 | -| [cassandraResourcesDeleteCassandraTableSample.ts][cassandraresourcesdeletecassandratablesample] | 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 | -| [cassandraResourcesGetCassandraKeyspaceSample.ts][cassandraresourcesgetcassandrakeyspacesample] | 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 | -| [cassandraResourcesGetCassandraKeyspaceThroughputSample.ts][cassandraresourcesgetcassandrakeyspacethroughputsample] | 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 | -| [cassandraResourcesGetCassandraTableSample.ts][cassandraresourcesgetcassandratablesample] | 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 | -| [cassandraResourcesGetCassandraTableThroughputSample.ts][cassandraresourcesgetcassandratablethroughputsample] | 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 | -| [cassandraResourcesListCassandraKeyspacesSample.ts][cassandraresourceslistcassandrakeyspacessample] | 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 | -| [cassandraResourcesListCassandraTablesSample.ts][cassandraresourceslistcassandratablessample] | 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 | -| [cassandraResourcesMigrateCassandraKeyspaceToAutoscaleSample.ts][cassandraresourcesmigratecassandrakeyspacetoautoscalesample] | 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 | -| [cassandraResourcesMigrateCassandraKeyspaceToManualThroughputSample.ts][cassandraresourcesmigratecassandrakeyspacetomanualthroughputsample] | 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 | -| [cassandraResourcesMigrateCassandraTableToAutoscaleSample.ts][cassandraresourcesmigratecassandratabletoautoscalesample] | 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 | -| [cassandraResourcesMigrateCassandraTableToManualThroughputSample.ts][cassandraresourcesmigratecassandratabletomanualthroughputsample] | 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 | -| [cassandraResourcesUpdateCassandraKeyspaceThroughputSample.ts][cassandraresourcesupdatecassandrakeyspacethroughputsample] | 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 | -| [cassandraResourcesUpdateCassandraTableThroughputSample.ts][cassandraresourcesupdatecassandratablethroughputsample] | 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 | -| [collectionListMetricDefinitionsSample.ts][collectionlistmetricdefinitionssample] | 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 | -| [collectionListMetricsSample.ts][collectionlistmetricssample] | 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 | -| [collectionListUsagesSample.ts][collectionlistusagessample] | 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 | -| [collectionPartitionListMetricsSample.ts][collectionpartitionlistmetricssample] | 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 | -| [collectionPartitionListUsagesSample.ts][collectionpartitionlistusagessample] | 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 | -| [collectionPartitionRegionListMetricsSample.ts][collectionpartitionregionlistmetricssample] | 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 | -| [collectionRegionListMetricsSample.ts][collectionregionlistmetricssample] | 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 | -| [databaseAccountRegionListMetricsSample.ts][databaseaccountregionlistmetricssample] | 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 | -| [databaseAccountsCheckNameExistsSample.ts][databaseaccountschecknameexistssample] | 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 | -| [databaseAccountsCreateOrUpdateSample.ts][databaseaccountscreateorupdatesample] | 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 | -| [databaseAccountsDeleteSample.ts][databaseaccountsdeletesample] | 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 | -| [databaseAccountsFailoverPriorityChangeSample.ts][databaseaccountsfailoverprioritychangesample] | 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 | -| [databaseAccountsGetReadOnlyKeysSample.ts][databaseaccountsgetreadonlykeyssample] | 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 | -| [databaseAccountsGetSample.ts][databaseaccountsgetsample] | 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 | -| [databaseAccountsListByResourceGroupSample.ts][databaseaccountslistbyresourcegroupsample] | 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 | -| [databaseAccountsListConnectionStringsSample.ts][databaseaccountslistconnectionstringssample] | 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 | -| [databaseAccountsListKeysSample.ts][databaseaccountslistkeyssample] | 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 | -| [databaseAccountsListMetricDefinitionsSample.ts][databaseaccountslistmetricdefinitionssample] | 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 | -| [databaseAccountsListMetricsSample.ts][databaseaccountslistmetricssample] | 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 | -| [databaseAccountsListReadOnlyKeysSample.ts][databaseaccountslistreadonlykeyssample] | 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 | -| [databaseAccountsListSample.ts][databaseaccountslistsample] | 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 | -| [databaseAccountsListUsagesSample.ts][databaseaccountslistusagessample] | 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 | -| [databaseAccountsOfflineRegionSample.ts][databaseaccountsofflineregionsample] | 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 | -| [databaseAccountsOnlineRegionSample.ts][databaseaccountsonlineregionsample] | 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 | -| [databaseAccountsRegenerateKeySample.ts][databaseaccountsregeneratekeysample] | 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 | -| [databaseAccountsUpdateSample.ts][databaseaccountsupdatesample] | 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 | -| [databaseListMetricDefinitionsSample.ts][databaselistmetricdefinitionssample] | 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 | -| [databaseListMetricsSample.ts][databaselistmetricssample] | 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 | -| [databaseListUsagesSample.ts][databaselistusagessample] | 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 | -| [gremlinResourcesCreateUpdateGremlinDatabaseSample.ts][gremlinresourcescreateupdategremlindatabasesample] | 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 | -| [gremlinResourcesCreateUpdateGremlinGraphSample.ts][gremlinresourcescreateupdategremlingraphsample] | 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 | -| [gremlinResourcesDeleteGremlinDatabaseSample.ts][gremlinresourcesdeletegremlindatabasesample] | 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 | -| [gremlinResourcesDeleteGremlinGraphSample.ts][gremlinresourcesdeletegremlingraphsample] | 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 | -| [gremlinResourcesGetGremlinDatabaseSample.ts][gremlinresourcesgetgremlindatabasesample] | 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 | -| [gremlinResourcesGetGremlinDatabaseThroughputSample.ts][gremlinresourcesgetgremlindatabasethroughputsample] | 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 | -| [gremlinResourcesGetGremlinGraphSample.ts][gremlinresourcesgetgremlingraphsample] | 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 | -| [gremlinResourcesGetGremlinGraphThroughputSample.ts][gremlinresourcesgetgremlingraphthroughputsample] | 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 | -| [gremlinResourcesListGremlinDatabasesSample.ts][gremlinresourceslistgremlindatabasessample] | 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 | -| [gremlinResourcesListGremlinGraphsSample.ts][gremlinresourceslistgremlingraphssample] | 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 | -| [gremlinResourcesMigrateGremlinDatabaseToAutoscaleSample.ts][gremlinresourcesmigrategremlindatabasetoautoscalesample] | 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 | -| [gremlinResourcesMigrateGremlinDatabaseToManualThroughputSample.ts][gremlinresourcesmigrategremlindatabasetomanualthroughputsample] | 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 | -| [gremlinResourcesMigrateGremlinGraphToAutoscaleSample.ts][gremlinresourcesmigrategremlingraphtoautoscalesample] | 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 | -| [gremlinResourcesMigrateGremlinGraphToManualThroughputSample.ts][gremlinresourcesmigrategremlingraphtomanualthroughputsample] | 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 | -| [gremlinResourcesRetrieveContinuousBackupInformationSample.ts][gremlinresourcesretrievecontinuousbackupinformationsample] | 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 | -| [gremlinResourcesUpdateGremlinDatabaseThroughputSample.ts][gremlinresourcesupdategremlindatabasethroughputsample] | 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 | -| [gremlinResourcesUpdateGremlinGraphThroughputSample.ts][gremlinresourcesupdategremlingraphthroughputsample] | 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 | -| [locationsGetSample.ts][locationsgetsample] | 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 | -| [locationsListSample.ts][locationslistsample] | 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 | -| [mongoDbResourcesCreateUpdateMongoDbcollectionSample.ts][mongodbresourcescreateupdatemongodbcollectionsample] | 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 | -| [mongoDbResourcesCreateUpdateMongoDbdatabaseSample.ts][mongodbresourcescreateupdatemongodbdatabasesample] | 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 | -| [mongoDbResourcesCreateUpdateMongoRoleDefinitionSample.ts][mongodbresourcescreateupdatemongoroledefinitionsample] | 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 | -| [mongoDbResourcesCreateUpdateMongoUserDefinitionSample.ts][mongodbresourcescreateupdatemongouserdefinitionsample] | 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 | -| [mongoDbResourcesDeleteMongoDbcollectionSample.ts][mongodbresourcesdeletemongodbcollectionsample] | 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 | -| [mongoDbResourcesDeleteMongoDbdatabaseSample.ts][mongodbresourcesdeletemongodbdatabasesample] | 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 | -| [mongoDbResourcesDeleteMongoRoleDefinitionSample.ts][mongodbresourcesdeletemongoroledefinitionsample] | 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 | -| [mongoDbResourcesDeleteMongoUserDefinitionSample.ts][mongodbresourcesdeletemongouserdefinitionsample] | 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 | -| [mongoDbResourcesGetMongoDbcollectionSample.ts][mongodbresourcesgetmongodbcollectionsample] | 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 | -| [mongoDbResourcesGetMongoDbcollectionThroughputSample.ts][mongodbresourcesgetmongodbcollectionthroughputsample] | 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 | -| [mongoDbResourcesGetMongoDbdatabaseSample.ts][mongodbresourcesgetmongodbdatabasesample] | 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 | -| [mongoDbResourcesGetMongoDbdatabaseThroughputSample.ts][mongodbresourcesgetmongodbdatabasethroughputsample] | 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 | -| [mongoDbResourcesGetMongoRoleDefinitionSample.ts][mongodbresourcesgetmongoroledefinitionsample] | 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 | -| [mongoDbResourcesGetMongoUserDefinitionSample.ts][mongodbresourcesgetmongouserdefinitionsample] | 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 | -| [mongoDbResourcesListMongoDbcollectionsSample.ts][mongodbresourceslistmongodbcollectionssample] | 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 | -| [mongoDbResourcesListMongoDbdatabasesSample.ts][mongodbresourceslistmongodbdatabasessample] | 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 | -| [mongoDbResourcesListMongoRoleDefinitionsSample.ts][mongodbresourceslistmongoroledefinitionssample] | Retrieves the list of all Azure Cosmos DB Mongo Role Definitions. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBRoleDefinitionList.json | -| [mongoDbResourcesListMongoUserDefinitionsSample.ts][mongodbresourceslistmongouserdefinitionssample] | Retrieves the list of all Azure Cosmos DB Mongo User Definition. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBUserDefinitionList.json | -| [mongoDbResourcesMigrateMongoDbcollectionToAutoscaleSample.ts][mongodbresourcesmigratemongodbcollectiontoautoscalesample] | Migrate an Azure Cosmos DB MongoDB collection from manual throughput to autoscale x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBCollectionMigrateToAutoscale.json | -| [mongoDbResourcesMigrateMongoDbcollectionToManualThroughputSample.ts][mongodbresourcesmigratemongodbcollectiontomanualthroughputsample] | Migrate an Azure Cosmos DB MongoDB collection from autoscale to manual throughput x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBCollectionMigrateToManualThroughput.json | -| [mongoDbResourcesMigrateMongoDbdatabaseToAutoscaleSample.ts][mongodbresourcesmigratemongodbdatabasetoautoscalesample] | Migrate an Azure Cosmos DB MongoDB database from manual throughput to autoscale x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBDatabaseMigrateToAutoscale.json | -| [mongoDbResourcesMigrateMongoDbdatabaseToManualThroughputSample.ts][mongodbresourcesmigratemongodbdatabasetomanualthroughputsample] | Migrate an Azure Cosmos DB MongoDB database from autoscale to manual throughput x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBDatabaseMigrateToManualThroughput.json | -| [mongoDbResourcesRetrieveContinuousBackupInformationSample.ts][mongodbresourcesretrievecontinuousbackupinformationsample] | Retrieves continuous backup information for a Mongodb collection. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBCollectionBackupInformation.json | -| [mongoDbResourcesUpdateMongoDbcollectionThroughputSample.ts][mongodbresourcesupdatemongodbcollectionthroughputsample] | Update the RUs per second of an Azure Cosmos DB MongoDB collection x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBCollectionThroughputUpdate.json | -| [mongoDbResourcesUpdateMongoDbdatabaseThroughputSample.ts][mongodbresourcesupdatemongodbdatabasethroughputsample] | Update RUs per second of the an Azure Cosmos DB MongoDB database x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json | -| [notebookWorkspacesCreateOrUpdateSample.ts][notebookworkspacescreateorupdatesample] | Creates the notebook workspace for a Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceCreate.json | -| [notebookWorkspacesDeleteSample.ts][notebookworkspacesdeletesample] | Deletes the notebook workspace for a Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceDelete.json | -| [notebookWorkspacesGetSample.ts][notebookworkspacesgetsample] | Gets the notebook workspace for a Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceGet.json | -| [notebookWorkspacesListByDatabaseAccountSample.ts][notebookworkspaceslistbydatabaseaccountsample] | Gets the notebook workspace resources of an existing Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceList.json | -| [notebookWorkspacesListConnectionInfoSample.ts][notebookworkspaceslistconnectioninfosample] | Retrieves the connection info for the notebook workspace x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceListConnectionInfo.json | -| [notebookWorkspacesRegenerateAuthTokenSample.ts][notebookworkspacesregenerateauthtokensample] | Regenerates the auth token for the notebook workspace x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceRegenerateAuthToken.json | -| [notebookWorkspacesStartSample.ts][notebookworkspacesstartsample] | Starts the notebook workspace x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceStart.json | -| [operationsListSample.ts][operationslistsample] | Lists all of the available Cosmos DB Resource Provider operations. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBOperationsList.json | -| [partitionKeyRangeIdListMetricsSample.ts][partitionkeyrangeidlistmetricssample] | Retrieves the metrics determined by the given filter for the given partition key range id. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPKeyRangeIdGetMetrics.json | -| [partitionKeyRangeIdRegionListMetricsSample.ts][partitionkeyrangeidregionlistmetricssample] | Retrieves the metrics determined by the given filter for the given partition key range id and region. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPKeyRangeIdRegionGetMetrics.json | -| [percentileListMetricsSample.ts][percentilelistmetricssample] | Retrieves the metrics determined by the given filter for the given database account. This url is only for PBS and Replication Latency data x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPercentileGetMetrics.json | -| [percentileSourceTargetListMetricsSample.ts][percentilesourcetargetlistmetricssample] | 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 x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPercentileSourceTargetGetMetrics.json | -| [percentileTargetListMetricsSample.ts][percentiletargetlistmetricssample] | Retrieves the metrics determined by the given filter for the given account target region. This url is only for PBS and Replication Latency data x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPercentileTargetGetMetrics.json | -| [privateEndpointConnectionsCreateOrUpdateSample.ts][privateendpointconnectionscreateorupdatesample] | Approve or reject a private endpoint connection with a given name. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateEndpointConnectionUpdate.json | -| [privateEndpointConnectionsDeleteSample.ts][privateendpointconnectionsdeletesample] | Deletes a private endpoint connection with a given name. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateEndpointConnectionDelete.json | -| [privateEndpointConnectionsGetSample.ts][privateendpointconnectionsgetsample] | Gets a private endpoint connection. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateEndpointConnectionGet.json | -| [privateEndpointConnectionsListByDatabaseAccountSample.ts][privateendpointconnectionslistbydatabaseaccountsample] | List all private endpoint connections on a Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateEndpointConnectionListGet.json | -| [privateLinkResourcesGetSample.ts][privatelinkresourcesgetsample] | Gets the private link resources that need to be created for a Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateLinkResourceGet.json | -| [privateLinkResourcesListByDatabaseAccountSample.ts][privatelinkresourceslistbydatabaseaccountsample] | Gets the private link resources that need to be created for a Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateLinkResourceListGet.json | -| [restorableDatabaseAccountsGetByLocationSample.ts][restorabledatabaseaccountsgetbylocationsample] | Retrieves the properties of an existing Azure Cosmos DB restorable database account. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/\*' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableDatabaseAccountGet.json | -| [restorableDatabaseAccountsListByLocationSample.ts][restorabledatabaseaccountslistbylocationsample] | Lists all the restorable Azure Cosmos DB database accounts available under the subscription and in a region. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableDatabaseAccountList.json | -| [restorableDatabaseAccountsListSample.ts][restorabledatabaseaccountslistsample] | Lists all the restorable Azure Cosmos DB database accounts available under the subscription. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableDatabaseAccountNoLocationList.json | -| [restorableGremlinDatabasesListSample.ts][restorablegremlindatabaseslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableGremlinDatabaseList.json | -| [restorableGremlinGraphsListSample.ts][restorablegremlingraphslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableGremlinGraphList.json | -| [restorableGremlinResourcesListSample.ts][restorablegremlinresourceslistsample] | Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableGremlinResourceList.json | -| [restorableMongodbCollectionsListSample.ts][restorablemongodbcollectionslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB collections under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableMongodbCollectionList.json | -| [restorableMongodbDatabasesListSample.ts][restorablemongodbdatabaseslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableMongodbDatabaseList.json | -| [restorableMongodbResourcesListSample.ts][restorablemongodbresourceslistsample] | Return a list of database and collection combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableMongodbResourceList.json | -| [restorableSqlContainersListSample.ts][restorablesqlcontainerslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB SQL containers under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableSqlContainerList.json | -| [restorableSqlDatabasesListSample.ts][restorablesqldatabaseslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB SQL databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableSqlDatabaseList.json | -| [restorableSqlResourcesListSample.ts][restorablesqlresourceslistsample] | Return a list of database and container combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableSqlResourceList.json | -| [restorableTableResourcesListSample.ts][restorabletableresourceslistsample] | Return a list of tables that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableTableResourceList.json | -| [restorableTablesListSample.ts][restorabletableslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB Tables. This helps in scenario where table was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableTableList.json | -| [serviceCreateSample.ts][servicecreatesample] | Creates a service. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDataTransferServiceCreate.json | -| [serviceDeleteSample.ts][servicedeletesample] | Deletes service with the given serviceName. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDataTransferServiceDelete.json | -| [serviceGetSample.ts][servicegetsample] | Gets the status of service. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDataTransferServiceGet.json | -| [serviceListSample.ts][servicelistsample] | Gets the status of service. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBServicesList.json | -| [sqlResourcesCreateUpdateClientEncryptionKeySample.ts][sqlresourcescreateupdateclientencryptionkeysample] | Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell (instead of directly). x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlClientEncryptionKeyCreateUpdate.json | -| [sqlResourcesCreateUpdateSqlContainerSample.ts][sqlresourcescreateupdatesqlcontainersample] | Create or update an Azure Cosmos DB SQL container x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerCreateUpdate.json | -| [sqlResourcesCreateUpdateSqlDatabaseSample.ts][sqlresourcescreateupdatesqldatabasesample] | Create or update an Azure Cosmos DB SQL database x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseCreateUpdate.json | -| [sqlResourcesCreateUpdateSqlRoleAssignmentSample.ts][sqlresourcescreateupdatesqlroleassignmentsample] | Creates or updates an Azure Cosmos DB SQL Role Assignment. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleAssignmentCreateUpdate.json | -| [sqlResourcesCreateUpdateSqlRoleDefinitionSample.ts][sqlresourcescreateupdatesqlroledefinitionsample] | Creates or updates an Azure Cosmos DB SQL Role Definition. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleDefinitionCreateUpdate.json | -| [sqlResourcesCreateUpdateSqlStoredProcedureSample.ts][sqlresourcescreateupdatesqlstoredproceduresample] | Create or update an Azure Cosmos DB SQL storedProcedure x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlStoredProcedureCreateUpdate.json | -| [sqlResourcesCreateUpdateSqlTriggerSample.ts][sqlresourcescreateupdatesqltriggersample] | Create or update an Azure Cosmos DB SQL trigger x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlTriggerCreateUpdate.json | -| [sqlResourcesCreateUpdateSqlUserDefinedFunctionSample.ts][sqlresourcescreateupdatesqluserdefinedfunctionsample] | Create or update an Azure Cosmos DB SQL userDefinedFunction x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlUserDefinedFunctionCreateUpdate.json | -| [sqlResourcesDeleteSqlContainerSample.ts][sqlresourcesdeletesqlcontainersample] | Deletes an existing Azure Cosmos DB SQL container. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerDelete.json | -| [sqlResourcesDeleteSqlDatabaseSample.ts][sqlresourcesdeletesqldatabasesample] | Deletes an existing Azure Cosmos DB SQL database. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseDelete.json | -| [sqlResourcesDeleteSqlRoleAssignmentSample.ts][sqlresourcesdeletesqlroleassignmentsample] | Deletes an existing Azure Cosmos DB SQL Role Assignment. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleAssignmentDelete.json | -| [sqlResourcesDeleteSqlRoleDefinitionSample.ts][sqlresourcesdeletesqlroledefinitionsample] | Deletes an existing Azure Cosmos DB SQL Role Definition. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleDefinitionDelete.json | -| [sqlResourcesDeleteSqlStoredProcedureSample.ts][sqlresourcesdeletesqlstoredproceduresample] | Deletes an existing Azure Cosmos DB SQL storedProcedure. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlStoredProcedureDelete.json | -| [sqlResourcesDeleteSqlTriggerSample.ts][sqlresourcesdeletesqltriggersample] | Deletes an existing Azure Cosmos DB SQL trigger. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlTriggerDelete.json | -| [sqlResourcesDeleteSqlUserDefinedFunctionSample.ts][sqlresourcesdeletesqluserdefinedfunctionsample] | Deletes an existing Azure Cosmos DB SQL userDefinedFunction. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlUserDefinedFunctionDelete.json | -| [sqlResourcesGetClientEncryptionKeySample.ts][sqlresourcesgetclientencryptionkeysample] | Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlClientEncryptionKeyGet.json | -| [sqlResourcesGetSqlContainerSample.ts][sqlresourcesgetsqlcontainersample] | Gets the SQL container under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerGet.json | -| [sqlResourcesGetSqlContainerThroughputSample.ts][sqlresourcesgetsqlcontainerthroughputsample] | Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerThroughputGet.json | -| [sqlResourcesGetSqlDatabaseSample.ts][sqlresourcesgetsqldatabasesample] | Gets the SQL 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/CosmosDBSqlDatabaseGet.json | -| [sqlResourcesGetSqlDatabaseThroughputSample.ts][sqlresourcesgetsqldatabasethroughputsample] | Gets the RUs per second of the SQL 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/CosmosDBSqlDatabaseThroughputGet.json | -| [sqlResourcesGetSqlRoleAssignmentSample.ts][sqlresourcesgetsqlroleassignmentsample] | Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleAssignmentGet.json | -| [sqlResourcesGetSqlRoleDefinitionSample.ts][sqlresourcesgetsqlroledefinitionsample] | Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleDefinitionGet.json | -| [sqlResourcesGetSqlStoredProcedureSample.ts][sqlresourcesgetsqlstoredproceduresample] | Gets the SQL storedProcedure under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlStoredProcedureGet.json | -| [sqlResourcesGetSqlTriggerSample.ts][sqlresourcesgetsqltriggersample] | Gets the SQL trigger under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlTriggerGet.json | -| [sqlResourcesGetSqlUserDefinedFunctionSample.ts][sqlresourcesgetsqluserdefinedfunctionsample] | Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlUserDefinedFunctionGet.json | -| [sqlResourcesListClientEncryptionKeysSample.ts][sqlresourceslistclientencryptionkeyssample] | Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlClientEncryptionKeysList.json | -| [sqlResourcesListSqlContainersSample.ts][sqlresourceslistsqlcontainerssample] | Lists the SQL container under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerList.json | -| [sqlResourcesListSqlDatabasesSample.ts][sqlresourceslistsqldatabasessample] | Lists the SQL 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/CosmosDBSqlDatabaseList.json | -| [sqlResourcesListSqlRoleAssignmentsSample.ts][sqlresourceslistsqlroleassignmentssample] | Retrieves the list of all Azure Cosmos DB SQL Role Assignments. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleAssignmentList.json | -| [sqlResourcesListSqlRoleDefinitionsSample.ts][sqlresourceslistsqlroledefinitionssample] | Retrieves the list of all Azure Cosmos DB SQL Role Definitions. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleDefinitionList.json | -| [sqlResourcesListSqlStoredProceduresSample.ts][sqlresourceslistsqlstoredproceduressample] | Lists the SQL storedProcedure under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlStoredProcedureList.json | -| [sqlResourcesListSqlTriggersSample.ts][sqlresourceslistsqltriggerssample] | Lists the SQL trigger under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlTriggerList.json | -| [sqlResourcesListSqlUserDefinedFunctionsSample.ts][sqlresourceslistsqluserdefinedfunctionssample] | Lists the SQL userDefinedFunction under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlUserDefinedFunctionList.json | -| [sqlResourcesMigrateSqlContainerToAutoscaleSample.ts][sqlresourcesmigratesqlcontainertoautoscalesample] | Migrate an Azure Cosmos DB SQL container from manual throughput to autoscale x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerMigrateToAutoscale.json | -| [sqlResourcesMigrateSqlContainerToManualThroughputSample.ts][sqlresourcesmigratesqlcontainertomanualthroughputsample] | Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerMigrateToManualThroughput.json | -| [sqlResourcesMigrateSqlDatabaseToAutoscaleSample.ts][sqlresourcesmigratesqldatabasetoautoscalesample] | Migrate an Azure Cosmos DB SQL database from manual throughput to autoscale x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseMigrateToAutoscale.json | -| [sqlResourcesMigrateSqlDatabaseToManualThroughputSample.ts][sqlresourcesmigratesqldatabasetomanualthroughputsample] | Migrate an Azure Cosmos DB SQL database from autoscale to manual throughput x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseMigrateToManualThroughput.json | -| [sqlResourcesRetrieveContinuousBackupInformationSample.ts][sqlresourcesretrievecontinuousbackupinformationsample] | Retrieves continuous backup information for a container resource. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerBackupInformation.json | -| [sqlResourcesUpdateSqlContainerThroughputSample.ts][sqlresourcesupdatesqlcontainerthroughputsample] | Update RUs per second of an Azure Cosmos DB SQL container x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerThroughputUpdate.json | -| [sqlResourcesUpdateSqlDatabaseThroughputSample.ts][sqlresourcesupdatesqldatabasethroughputsample] | Update RUs per second of an Azure Cosmos DB SQL database x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseThroughputUpdate.json | -| [tableResourcesCreateUpdateTableSample.ts][tableresourcescreateupdatetablesample] | Create or update an Azure Cosmos DB Table x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableCreateUpdate.json | -| [tableResourcesDeleteTableSample.ts][tableresourcesdeletetablesample] | Deletes an existing Azure Cosmos DB Table. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableDelete.json | -| [tableResourcesGetTableSample.ts][tableresourcesgettablesample] | Gets the Tables 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/CosmosDBTableGet.json | -| [tableResourcesGetTableThroughputSample.ts][tableresourcesgettablethroughputsample] | Gets the RUs per second of the 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/CosmosDBTableThroughputGet.json | -| [tableResourcesListTablesSample.ts][tableresourceslisttablessample] | Lists the Tables under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableList.json | -| [tableResourcesMigrateTableToAutoscaleSample.ts][tableresourcesmigratetabletoautoscalesample] | Migrate an Azure Cosmos DB Table from manual throughput to autoscale x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableMigrateToAutoscale.json | -| [tableResourcesMigrateTableToManualThroughputSample.ts][tableresourcesmigratetabletomanualthroughputsample] | Migrate an Azure Cosmos DB Table from autoscale to manual throughput x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableMigrateToManualThroughput.json | -| [tableResourcesRetrieveContinuousBackupInformationSample.ts][tableresourcesretrievecontinuousbackupinformationsample] | Retrieves continuous backup information for a table. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableBackupInformation.json | -| [tableResourcesUpdateTableThroughputSample.ts][tableresourcesupdatetablethroughputsample] | Update RUs per second of an Azure Cosmos DB Table x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableThroughputUpdate.json | +| [cassandraClustersCreateUpdateSample.ts][cassandraclusterscreateupdatesample] | 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-08-15/examples/CosmosDBManagedCassandraClusterCreate.json | +| [cassandraClustersDeallocateSample.ts][cassandraclustersdeallocatesample] | 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-08-15/examples/CosmosDBManagedCassandraClusterDeallocate.json | +| [cassandraClustersDeleteSample.ts][cassandraclustersdeletesample] | Deletes a managed Cassandra cluster. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraClusterDelete.json | +| [cassandraClustersGetSample.ts][cassandraclustersgetsample] | Get the properties of a managed Cassandra cluster. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraClusterGet.json | +| [cassandraClustersInvokeCommandSample.ts][cassandraclustersinvokecommandsample] | Invoke a command like nodetool for cassandra maintenance x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraCommand.json | +| [cassandraClustersListByResourceGroupSample.ts][cassandraclusterslistbyresourcegroupsample] | List all managed Cassandra clusters in this resource group. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraClusterListByResourceGroup.json | +| [cassandraClustersListBySubscriptionSample.ts][cassandraclusterslistbysubscriptionsample] | List all managed Cassandra clusters in this subscription. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraClusterListBySubscription.json | +| [cassandraClustersStartSample.ts][cassandraclustersstartsample] | 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-08-15/examples/CosmosDBManagedCassandraClusterStart.json | +| [cassandraClustersStatusSample.ts][cassandraclustersstatussample] | 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-08-15/examples/CosmosDBManagedCassandraStatus.json | +| [cassandraClustersUpdateSample.ts][cassandraclustersupdatesample] | Updates some of the properties of a managed Cassandra cluster. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraClusterPatch.json | +| [cassandraDataCentersCreateUpdateSample.ts][cassandradatacenterscreateupdatesample] | 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-08-15/examples/CosmosDBManagedCassandraDataCenterCreate.json | +| [cassandraDataCentersDeleteSample.ts][cassandradatacentersdeletesample] | Delete a managed Cassandra data center. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraDataCenterDelete.json | +| [cassandraDataCentersGetSample.ts][cassandradatacentersgetsample] | Get the properties of a managed Cassandra data center. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraDataCenterGet.json | +| [cassandraDataCentersListSample.ts][cassandradatacenterslistsample] | List all data centers in a particular managed Cassandra cluster. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraDataCenterList.json | +| [cassandraDataCentersUpdateSample.ts][cassandradatacentersupdatesample] | Update some of the properties of a managed Cassandra data center. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBManagedCassandraDataCenterPatch.json | +| [cassandraResourcesCreateUpdateCassandraKeyspaceSample.ts][cassandraresourcescreateupdatecassandrakeyspacesample] | Create or update an Azure Cosmos DB Cassandra keyspace x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraKeyspaceCreateUpdate.json | +| [cassandraResourcesCreateUpdateCassandraTableSample.ts][cassandraresourcescreateupdatecassandratablesample] | Create or update an Azure Cosmos DB Cassandra Table x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraTableCreateUpdate.json | +| [cassandraResourcesDeleteCassandraKeyspaceSample.ts][cassandraresourcesdeletecassandrakeyspacesample] | Deletes an existing Azure Cosmos DB Cassandra keyspace. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraKeyspaceDelete.json | +| [cassandraResourcesDeleteCassandraTableSample.ts][cassandraresourcesdeletecassandratablesample] | Deletes an existing Azure Cosmos DB Cassandra table. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraTableDelete.json | +| [cassandraResourcesGetCassandraKeyspaceSample.ts][cassandraresourcesgetcassandrakeyspacesample] | 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-08-15/examples/CosmosDBCassandraKeyspaceGet.json | +| [cassandraResourcesGetCassandraKeyspaceThroughputSample.ts][cassandraresourcesgetcassandrakeyspacethroughputsample] | 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-08-15/examples/CosmosDBCassandraKeyspaceThroughputGet.json | +| [cassandraResourcesGetCassandraTableSample.ts][cassandraresourcesgetcassandratablesample] | 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-08-15/examples/CosmosDBCassandraTableGet.json | +| [cassandraResourcesGetCassandraTableThroughputSample.ts][cassandraresourcesgetcassandratablethroughputsample] | 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-08-15/examples/CosmosDBCassandraTableThroughputGet.json | +| [cassandraResourcesListCassandraKeyspacesSample.ts][cassandraresourceslistcassandrakeyspacessample] | 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-08-15/examples/CosmosDBCassandraKeyspaceList.json | +| [cassandraResourcesListCassandraTablesSample.ts][cassandraresourceslistcassandratablessample] | 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-08-15/examples/CosmosDBCassandraTableList.json | +| [cassandraResourcesMigrateCassandraKeyspaceToAutoscaleSample.ts][cassandraresourcesmigratecassandrakeyspacetoautoscalesample] | 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-08-15/examples/CosmosDBCassandraKeyspaceMigrateToAutoscale.json | +| [cassandraResourcesMigrateCassandraKeyspaceToManualThroughputSample.ts][cassandraresourcesmigratecassandrakeyspacetomanualthroughputsample] | 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-08-15/examples/CosmosDBCassandraKeyspaceMigrateToManualThroughput.json | +| [cassandraResourcesMigrateCassandraTableToAutoscaleSample.ts][cassandraresourcesmigratecassandratabletoautoscalesample] | 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-08-15/examples/CosmosDBCassandraTableMigrateToAutoscale.json | +| [cassandraResourcesMigrateCassandraTableToManualThroughputSample.ts][cassandraresourcesmigratecassandratabletomanualthroughputsample] | 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-08-15/examples/CosmosDBCassandraTableMigrateToManualThroughput.json | +| [cassandraResourcesUpdateCassandraKeyspaceThroughputSample.ts][cassandraresourcesupdatecassandrakeyspacethroughputsample] | Update RUs per second of an Azure Cosmos DB Cassandra Keyspace x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraKeyspaceThroughputUpdate.json | +| [cassandraResourcesUpdateCassandraTableThroughputSample.ts][cassandraresourcesupdatecassandratablethroughputsample] | Update RUs per second of an Azure Cosmos DB Cassandra table x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraTableThroughputUpdate.json | +| [collectionListMetricDefinitionsSample.ts][collectionlistmetricdefinitionssample] | Retrieves metric definitions for the given collection. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCollectionGetMetricDefinitions.json | +| [collectionListMetricsSample.ts][collectionlistmetricssample] | 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-08-15/examples/CosmosDBCollectionGetMetrics.json | +| [collectionListUsagesSample.ts][collectionlistusagessample] | Retrieves the usages (most recent storage data) for the given collection. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCollectionGetUsages.json | +| [collectionPartitionListMetricsSample.ts][collectionpartitionlistmetricssample] | 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-08-15/examples/CosmosDBCollectionPartitionGetMetrics.json | +| [collectionPartitionListUsagesSample.ts][collectionpartitionlistusagessample] | 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-08-15/examples/CosmosDBCollectionPartitionGetUsages.json | +| [collectionPartitionRegionListMetricsSample.ts][collectionpartitionregionlistmetricssample] | 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-08-15/examples/CosmosDBCollectionPartitionRegionGetMetrics.json | +| [collectionRegionListMetricsSample.ts][collectionregionlistmetricssample] | 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-08-15/examples/CosmosDBRegionCollectionGetMetrics.json | +| [databaseAccountRegionListMetricsSample.ts][databaseaccountregionlistmetricssample] | 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-08-15/examples/CosmosDBDatabaseAccountRegionGetMetrics.json | +| [databaseAccountsCheckNameExistsSample.ts][databaseaccountschecknameexistssample] | 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-08-15/examples/CosmosDBDatabaseAccountCheckNameExists.json | +| [databaseAccountsCreateOrUpdateSample.ts][databaseaccountscreateorupdatesample] | 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-08-15/examples/CosmosDBDatabaseAccountCreateMax.json | +| [databaseAccountsDeleteSample.ts][databaseaccountsdeletesample] | Deletes an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountDelete.json | +| [databaseAccountsFailoverPriorityChangeSample.ts][databaseaccountsfailoverprioritychangesample] | 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-08-15/examples/CosmosDBDatabaseAccountFailoverPriorityChange.json | +| [databaseAccountsGetReadOnlyKeysSample.ts][databaseaccountsgetreadonlykeyssample] | 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-08-15/examples/CosmosDBDatabaseAccountListReadOnlyKeys.json | +| [databaseAccountsGetSample.ts][databaseaccountsgetsample] | Retrieves the properties of an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountGet.json | +| [databaseAccountsListByResourceGroupSample.ts][databaseaccountslistbyresourcegroupsample] | 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-08-15/examples/CosmosDBDatabaseAccountListByResourceGroup.json | +| [databaseAccountsListConnectionStringsSample.ts][databaseaccountslistconnectionstringssample] | 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-08-15/examples/CosmosDBDatabaseAccountListConnectionStrings.json | +| [databaseAccountsListKeysSample.ts][databaseaccountslistkeyssample] | 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-08-15/examples/CosmosDBDatabaseAccountListKeys.json | +| [databaseAccountsListMetricDefinitionsSample.ts][databaseaccountslistmetricdefinitionssample] | Retrieves metric definitions for the given database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json | +| [databaseAccountsListMetricsSample.ts][databaseaccountslistmetricssample] | 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-08-15/examples/CosmosDBDatabaseAccountGetMetrics.json | +| [databaseAccountsListReadOnlyKeysSample.ts][databaseaccountslistreadonlykeyssample] | 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-08-15/examples/CosmosDBDatabaseAccountListReadOnlyKeys.json | +| [databaseAccountsListSample.ts][databaseaccountslistsample] | 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-08-15/examples/CosmosDBDatabaseAccountList.json | +| [databaseAccountsListUsagesSample.ts][databaseaccountslistusagessample] | Retrieves the usages (most recent data) for the given database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountGetUsages.json | +| [databaseAccountsOfflineRegionSample.ts][databaseaccountsofflineregionsample] | 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-08-15/examples/CosmosDBDatabaseAccountOfflineRegion.json | +| [databaseAccountsOnlineRegionSample.ts][databaseaccountsonlineregionsample] | 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-08-15/examples/CosmosDBDatabaseAccountOnlineRegion.json | +| [databaseAccountsRegenerateKeySample.ts][databaseaccountsregeneratekeysample] | 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-08-15/examples/CosmosDBDatabaseAccountRegenerateKey.json | +| [databaseAccountsUpdateSample.ts][databaseaccountsupdatesample] | Updates the properties of an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseAccountPatch.json | +| [databaseListMetricDefinitionsSample.ts][databaselistmetricdefinitionssample] | Retrieves metric definitions for the given database. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseGetMetricDefinitions.json | +| [databaseListMetricsSample.ts][databaselistmetricssample] | 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-08-15/examples/CosmosDBDatabaseGetMetrics.json | +| [databaseListUsagesSample.ts][databaselistusagessample] | Retrieves the usages (most recent data) for the given database. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDatabaseGetUsages.json | +| [gremlinResourcesCreateUpdateGremlinDatabaseSample.ts][gremlinresourcescreateupdategremlindatabasesample] | Create or update an Azure Cosmos DB Gremlin database x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinDatabaseCreateUpdate.json | +| [gremlinResourcesCreateUpdateGremlinGraphSample.ts][gremlinresourcescreateupdategremlingraphsample] | Create or update an Azure Cosmos DB Gremlin graph x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinGraphCreateUpdate.json | +| [gremlinResourcesDeleteGremlinDatabaseSample.ts][gremlinresourcesdeletegremlindatabasesample] | Deletes an existing Azure Cosmos DB Gremlin database. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinDatabaseDelete.json | +| [gremlinResourcesDeleteGremlinGraphSample.ts][gremlinresourcesdeletegremlingraphsample] | Deletes an existing Azure Cosmos DB Gremlin graph. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinGraphDelete.json | +| [gremlinResourcesGetGremlinDatabaseSample.ts][gremlinresourcesgetgremlindatabasesample] | 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-08-15/examples/CosmosDBGremlinDatabaseGet.json | +| [gremlinResourcesGetGremlinDatabaseThroughputSample.ts][gremlinresourcesgetgremlindatabasethroughputsample] | 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-08-15/examples/CosmosDBGremlinDatabaseThroughputGet.json | +| [gremlinResourcesGetGremlinGraphSample.ts][gremlinresourcesgetgremlingraphsample] | 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-08-15/examples/CosmosDBGremlinGraphGet.json | +| [gremlinResourcesGetGremlinGraphThroughputSample.ts][gremlinresourcesgetgremlingraphthroughputsample] | 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-08-15/examples/CosmosDBGremlinGraphThroughputGet.json | +| [gremlinResourcesListGremlinDatabasesSample.ts][gremlinresourceslistgremlindatabasessample] | 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-08-15/examples/CosmosDBGremlinDatabaseList.json | +| [gremlinResourcesListGremlinGraphsSample.ts][gremlinresourceslistgremlingraphssample] | 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-08-15/examples/CosmosDBGremlinGraphList.json | +| [gremlinResourcesMigrateGremlinDatabaseToAutoscaleSample.ts][gremlinresourcesmigrategremlindatabasetoautoscalesample] | 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-08-15/examples/CosmosDBGremlinDatabaseMigrateToAutoscale.json | +| [gremlinResourcesMigrateGremlinDatabaseToManualThroughputSample.ts][gremlinresourcesmigrategremlindatabasetomanualthroughputsample] | 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-08-15/examples/CosmosDBGremlinDatabaseMigrateToManualThroughput.json | +| [gremlinResourcesMigrateGremlinGraphToAutoscaleSample.ts][gremlinresourcesmigrategremlingraphtoautoscalesample] | 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-08-15/examples/CosmosDBGremlinGraphMigrateToAutoscale.json | +| [gremlinResourcesMigrateGremlinGraphToManualThroughputSample.ts][gremlinresourcesmigrategremlingraphtomanualthroughputsample] | 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-08-15/examples/CosmosDBGremlinGraphMigrateToManualThroughput.json | +| [gremlinResourcesRetrieveContinuousBackupInformationSample.ts][gremlinresourcesretrievecontinuousbackupinformationsample] | Retrieves continuous backup information for a gremlin graph. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinGraphBackupInformation.json | +| [gremlinResourcesUpdateGremlinDatabaseThroughputSample.ts][gremlinresourcesupdategremlindatabasethroughputsample] | Update RUs per second of an Azure Cosmos DB Gremlin database x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinDatabaseThroughputUpdate.json | +| [gremlinResourcesUpdateGremlinGraphThroughputSample.ts][gremlinresourcesupdategremlingraphthroughputsample] | Update RUs per second of an Azure Cosmos DB Gremlin graph x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGremlinGraphThroughputUpdate.json | +| [locationsGetSample.ts][locationsgetsample] | Get the properties of an existing Cosmos DB location x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBLocationGet.json | +| [locationsListSample.ts][locationslistsample] | List Cosmos DB locations and their properties x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBLocationList.json | +| [mongoDbResourcesCreateUpdateMongoDbcollectionSample.ts][mongodbresourcescreateupdatemongodbcollectionsample] | Create or update an Azure Cosmos DB MongoDB Collection x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionCreateUpdate.json | +| [mongoDbResourcesCreateUpdateMongoDbdatabaseSample.ts][mongodbresourcescreateupdatemongodbdatabasesample] | Create or updates Azure Cosmos DB MongoDB database x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBDatabaseCreateUpdate.json | +| [mongoDbResourcesCreateUpdateMongoRoleDefinitionSample.ts][mongodbresourcescreateupdatemongoroledefinitionsample] | Creates or updates an Azure Cosmos DB Mongo Role Definition. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBRoleDefinitionCreateUpdate.json | +| [mongoDbResourcesCreateUpdateMongoUserDefinitionSample.ts][mongodbresourcescreateupdatemongouserdefinitionsample] | Creates or updates an Azure Cosmos DB Mongo User Definition. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBUserDefinitionCreateUpdate.json | +| [mongoDbResourcesDeleteMongoDbcollectionSample.ts][mongodbresourcesdeletemongodbcollectionsample] | Deletes an existing Azure Cosmos DB MongoDB Collection. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionDelete.json | +| [mongoDbResourcesDeleteMongoDbdatabaseSample.ts][mongodbresourcesdeletemongodbdatabasesample] | Deletes an existing Azure Cosmos DB MongoDB database. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBDatabaseDelete.json | +| [mongoDbResourcesDeleteMongoRoleDefinitionSample.ts][mongodbresourcesdeletemongoroledefinitionsample] | Deletes an existing Azure Cosmos DB Mongo Role Definition. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBRoleDefinitionDelete.json | +| [mongoDbResourcesDeleteMongoUserDefinitionSample.ts][mongodbresourcesdeletemongouserdefinitionsample] | Deletes an existing Azure Cosmos DB Mongo User Definition. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBUserDefinitionDelete.json | +| [mongoDbResourcesGetMongoDbcollectionSample.ts][mongodbresourcesgetmongodbcollectionsample] | 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-08-15/examples/CosmosDBMongoDBCollectionGet.json | +| [mongoDbResourcesGetMongoDbcollectionThroughputSample.ts][mongodbresourcesgetmongodbcollectionthroughputsample] | 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-08-15/examples/CosmosDBMongoDBCollectionThroughputGet.json | +| [mongoDbResourcesGetMongoDbdatabaseSample.ts][mongodbresourcesgetmongodbdatabasesample] | 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-08-15/examples/CosmosDBMongoDBDatabaseGet.json | +| [mongoDbResourcesGetMongoDbdatabaseThroughputSample.ts][mongodbresourcesgetmongodbdatabasethroughputsample] | 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-08-15/examples/CosmosDBMongoDBDatabaseThroughputGet.json | +| [mongoDbResourcesGetMongoRoleDefinitionSample.ts][mongodbresourcesgetmongoroledefinitionsample] | 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-08-15/examples/CosmosDBMongoDBRoleDefinitionGet.json | +| [mongoDbResourcesGetMongoUserDefinitionSample.ts][mongodbresourcesgetmongouserdefinitionsample] | 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-08-15/examples/CosmosDBMongoDBUserDefinitionGet.json | +| [mongoDbResourcesListMongoDbcollectionsSample.ts][mongodbresourceslistmongodbcollectionssample] | 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-08-15/examples/CosmosDBMongoDBCollectionList.json | +| [mongoDbResourcesListMongoDbdatabasesSample.ts][mongodbresourceslistmongodbdatabasessample] | 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-08-15/examples/CosmosDBMongoDBDatabaseList.json | +| [mongoDbResourcesListMongoRoleDefinitionsSample.ts][mongodbresourceslistmongoroledefinitionssample] | Retrieves the list of all Azure Cosmos DB Mongo Role Definitions. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBRoleDefinitionList.json | +| [mongoDbResourcesListMongoUserDefinitionsSample.ts][mongodbresourceslistmongouserdefinitionssample] | Retrieves the list of all Azure Cosmos DB Mongo User Definition. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBUserDefinitionList.json | +| [mongoDbResourcesMigrateMongoDbcollectionToAutoscaleSample.ts][mongodbresourcesmigratemongodbcollectiontoautoscalesample] | Migrate an Azure Cosmos DB MongoDB collection from manual throughput to autoscale x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionMigrateToAutoscale.json | +| [mongoDbResourcesMigrateMongoDbcollectionToManualThroughputSample.ts][mongodbresourcesmigratemongodbcollectiontomanualthroughputsample] | Migrate an Azure Cosmos DB MongoDB collection from autoscale to manual throughput x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionMigrateToManualThroughput.json | +| [mongoDbResourcesMigrateMongoDbdatabaseToAutoscaleSample.ts][mongodbresourcesmigratemongodbdatabasetoautoscalesample] | Migrate an Azure Cosmos DB MongoDB database from manual throughput to autoscale x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBDatabaseMigrateToAutoscale.json | +| [mongoDbResourcesMigrateMongoDbdatabaseToManualThroughputSample.ts][mongodbresourcesmigratemongodbdatabasetomanualthroughputsample] | Migrate an Azure Cosmos DB MongoDB database from autoscale to manual throughput x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBDatabaseMigrateToManualThroughput.json | +| [mongoDbResourcesRetrieveContinuousBackupInformationSample.ts][mongodbresourcesretrievecontinuousbackupinformationsample] | Retrieves continuous backup information for a Mongodb collection. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionBackupInformation.json | +| [mongoDbResourcesUpdateMongoDbcollectionThroughputSample.ts][mongodbresourcesupdatemongodbcollectionthroughputsample] | Update the RUs per second of an Azure Cosmos DB MongoDB collection x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionThroughputUpdate.json | +| [mongoDbResourcesUpdateMongoDbdatabaseThroughputSample.ts][mongodbresourcesupdatemongodbdatabasethroughputsample] | Update RUs per second of the an Azure Cosmos DB MongoDB database x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json | +| [notebookWorkspacesCreateOrUpdateSample.ts][notebookworkspacescreateorupdatesample] | Creates the notebook workspace for a Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceCreate.json | +| [notebookWorkspacesDeleteSample.ts][notebookworkspacesdeletesample] | Deletes the notebook workspace for a Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceDelete.json | +| [notebookWorkspacesGetSample.ts][notebookworkspacesgetsample] | Gets the notebook workspace for a Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceGet.json | +| [notebookWorkspacesListByDatabaseAccountSample.ts][notebookworkspaceslistbydatabaseaccountsample] | Gets the notebook workspace resources of an existing Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceList.json | +| [notebookWorkspacesListConnectionInfoSample.ts][notebookworkspaceslistconnectioninfosample] | Retrieves the connection info for the notebook workspace x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceListConnectionInfo.json | +| [notebookWorkspacesRegenerateAuthTokenSample.ts][notebookworkspacesregenerateauthtokensample] | Regenerates the auth token for the notebook workspace x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceRegenerateAuthToken.json | +| [notebookWorkspacesStartSample.ts][notebookworkspacesstartsample] | Starts the notebook workspace x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceStart.json | +| [operationsListSample.ts][operationslistsample] | Lists all of the available Cosmos DB Resource Provider operations. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBOperationsList.json | +| [partitionKeyRangeIdListMetricsSample.ts][partitionkeyrangeidlistmetricssample] | Retrieves the metrics determined by the given filter for the given partition key range id. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPKeyRangeIdGetMetrics.json | +| [partitionKeyRangeIdRegionListMetricsSample.ts][partitionkeyrangeidregionlistmetricssample] | Retrieves the metrics determined by the given filter for the given partition key range id and region. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPKeyRangeIdRegionGetMetrics.json | +| [percentileListMetricsSample.ts][percentilelistmetricssample] | Retrieves the metrics determined by the given filter for the given database account. This url is only for PBS and Replication Latency data x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPercentileGetMetrics.json | +| [percentileSourceTargetListMetricsSample.ts][percentilesourcetargetlistmetricssample] | 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 x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPercentileSourceTargetGetMetrics.json | +| [percentileTargetListMetricsSample.ts][percentiletargetlistmetricssample] | Retrieves the metrics determined by the given filter for the given account target region. This url is only for PBS and Replication Latency data x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPercentileTargetGetMetrics.json | +| [privateEndpointConnectionsCreateOrUpdateSample.ts][privateendpointconnectionscreateorupdatesample] | Approve or reject a private endpoint connection with a given name. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateEndpointConnectionUpdate.json | +| [privateEndpointConnectionsDeleteSample.ts][privateendpointconnectionsdeletesample] | Deletes a private endpoint connection with a given name. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateEndpointConnectionDelete.json | +| [privateEndpointConnectionsGetSample.ts][privateendpointconnectionsgetsample] | Gets a private endpoint connection. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateEndpointConnectionGet.json | +| [privateEndpointConnectionsListByDatabaseAccountSample.ts][privateendpointconnectionslistbydatabaseaccountsample] | List all private endpoint connections on a Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateEndpointConnectionListGet.json | +| [privateLinkResourcesGetSample.ts][privatelinkresourcesgetsample] | Gets the private link resources that need to be created for a Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateLinkResourceGet.json | +| [privateLinkResourcesListByDatabaseAccountSample.ts][privatelinkresourceslistbydatabaseaccountsample] | Gets the private link resources that need to be created for a Cosmos DB account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateLinkResourceListGet.json | +| [restorableDatabaseAccountsGetByLocationSample.ts][restorabledatabaseaccountsgetbylocationsample] | Retrieves the properties of an existing Azure Cosmos DB restorable database account. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/\*' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableDatabaseAccountGet.json | +| [restorableDatabaseAccountsListByLocationSample.ts][restorabledatabaseaccountslistbylocationsample] | Lists all the restorable Azure Cosmos DB database accounts available under the subscription and in a region. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableDatabaseAccountList.json | +| [restorableDatabaseAccountsListSample.ts][restorabledatabaseaccountslistsample] | Lists all the restorable Azure Cosmos DB database accounts available under the subscription. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableDatabaseAccountNoLocationList.json | +| [restorableGremlinDatabasesListSample.ts][restorablegremlindatabaseslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableGremlinDatabaseList.json | +| [restorableGremlinGraphsListSample.ts][restorablegremlingraphslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableGremlinGraphList.json | +| [restorableGremlinResourcesListSample.ts][restorablegremlinresourceslistsample] | Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableGremlinResourceList.json | +| [restorableMongodbCollectionsListSample.ts][restorablemongodbcollectionslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB collections under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableMongodbCollectionList.json | +| [restorableMongodbDatabasesListSample.ts][restorablemongodbdatabaseslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableMongodbDatabaseList.json | +| [restorableMongodbResourcesListSample.ts][restorablemongodbresourceslistsample] | Return a list of database and collection combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableMongodbResourceList.json | +| [restorableSqlContainersListSample.ts][restorablesqlcontainerslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB SQL containers under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableSqlContainerList.json | +| [restorableSqlDatabasesListSample.ts][restorablesqldatabaseslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB SQL databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableSqlDatabaseList.json | +| [restorableSqlResourcesListSample.ts][restorablesqlresourceslistsample] | Return a list of database and container combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableSqlResourceList.json | +| [restorableTableResourcesListSample.ts][restorabletableresourceslistsample] | Return a list of tables that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableTableResourceList.json | +| [restorableTablesListSample.ts][restorabletableslistsample] | Show the event feed of all mutations done on all the Azure Cosmos DB Tables. This helps in scenario where table was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableTableList.json | +| [serviceCreateSample.ts][servicecreatesample] | Creates a service. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDataTransferServiceCreate.json | +| [serviceDeleteSample.ts][servicedeletesample] | Deletes service with the given serviceName. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDataTransferServiceDelete.json | +| [serviceGetSample.ts][servicegetsample] | Gets the status of service. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDataTransferServiceGet.json | +| [serviceListSample.ts][servicelistsample] | Gets the status of service. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBServicesList.json | +| [sqlResourcesCreateUpdateClientEncryptionKeySample.ts][sqlresourcescreateupdateclientencryptionkeysample] | Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell (instead of directly). x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlClientEncryptionKeyCreateUpdate.json | +| [sqlResourcesCreateUpdateSqlContainerSample.ts][sqlresourcescreateupdatesqlcontainersample] | Create or update an Azure Cosmos DB SQL container x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerCreateUpdate.json | +| [sqlResourcesCreateUpdateSqlDatabaseSample.ts][sqlresourcescreateupdatesqldatabasesample] | Create or update an Azure Cosmos DB SQL database x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseCreateUpdate.json | +| [sqlResourcesCreateUpdateSqlRoleAssignmentSample.ts][sqlresourcescreateupdatesqlroleassignmentsample] | Creates or updates an Azure Cosmos DB SQL Role Assignment. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleAssignmentCreateUpdate.json | +| [sqlResourcesCreateUpdateSqlRoleDefinitionSample.ts][sqlresourcescreateupdatesqlroledefinitionsample] | Creates or updates an Azure Cosmos DB SQL Role Definition. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleDefinitionCreateUpdate.json | +| [sqlResourcesCreateUpdateSqlStoredProcedureSample.ts][sqlresourcescreateupdatesqlstoredproceduresample] | Create or update an Azure Cosmos DB SQL storedProcedure x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlStoredProcedureCreateUpdate.json | +| [sqlResourcesCreateUpdateSqlTriggerSample.ts][sqlresourcescreateupdatesqltriggersample] | Create or update an Azure Cosmos DB SQL trigger x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlTriggerCreateUpdate.json | +| [sqlResourcesCreateUpdateSqlUserDefinedFunctionSample.ts][sqlresourcescreateupdatesqluserdefinedfunctionsample] | Create or update an Azure Cosmos DB SQL userDefinedFunction x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlUserDefinedFunctionCreateUpdate.json | +| [sqlResourcesDeleteSqlContainerSample.ts][sqlresourcesdeletesqlcontainersample] | Deletes an existing Azure Cosmos DB SQL container. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerDelete.json | +| [sqlResourcesDeleteSqlDatabaseSample.ts][sqlresourcesdeletesqldatabasesample] | Deletes an existing Azure Cosmos DB SQL database. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseDelete.json | +| [sqlResourcesDeleteSqlRoleAssignmentSample.ts][sqlresourcesdeletesqlroleassignmentsample] | Deletes an existing Azure Cosmos DB SQL Role Assignment. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleAssignmentDelete.json | +| [sqlResourcesDeleteSqlRoleDefinitionSample.ts][sqlresourcesdeletesqlroledefinitionsample] | Deletes an existing Azure Cosmos DB SQL Role Definition. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleDefinitionDelete.json | +| [sqlResourcesDeleteSqlStoredProcedureSample.ts][sqlresourcesdeletesqlstoredproceduresample] | Deletes an existing Azure Cosmos DB SQL storedProcedure. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlStoredProcedureDelete.json | +| [sqlResourcesDeleteSqlTriggerSample.ts][sqlresourcesdeletesqltriggersample] | Deletes an existing Azure Cosmos DB SQL trigger. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlTriggerDelete.json | +| [sqlResourcesDeleteSqlUserDefinedFunctionSample.ts][sqlresourcesdeletesqluserdefinedfunctionsample] | Deletes an existing Azure Cosmos DB SQL userDefinedFunction. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlUserDefinedFunctionDelete.json | +| [sqlResourcesGetClientEncryptionKeySample.ts][sqlresourcesgetclientencryptionkeysample] | Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlClientEncryptionKeyGet.json | +| [sqlResourcesGetSqlContainerSample.ts][sqlresourcesgetsqlcontainersample] | Gets the SQL container under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerGet.json | +| [sqlResourcesGetSqlContainerThroughputSample.ts][sqlresourcesgetsqlcontainerthroughputsample] | Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerThroughputGet.json | +| [sqlResourcesGetSqlDatabaseSample.ts][sqlresourcesgetsqldatabasesample] | Gets the SQL 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-08-15/examples/CosmosDBSqlDatabaseGet.json | +| [sqlResourcesGetSqlDatabaseThroughputSample.ts][sqlresourcesgetsqldatabasethroughputsample] | Gets the RUs per second of the SQL 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-08-15/examples/CosmosDBSqlDatabaseThroughputGet.json | +| [sqlResourcesGetSqlRoleAssignmentSample.ts][sqlresourcesgetsqlroleassignmentsample] | Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleAssignmentGet.json | +| [sqlResourcesGetSqlRoleDefinitionSample.ts][sqlresourcesgetsqlroledefinitionsample] | Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleDefinitionGet.json | +| [sqlResourcesGetSqlStoredProcedureSample.ts][sqlresourcesgetsqlstoredproceduresample] | Gets the SQL storedProcedure under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlStoredProcedureGet.json | +| [sqlResourcesGetSqlTriggerSample.ts][sqlresourcesgetsqltriggersample] | Gets the SQL trigger under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlTriggerGet.json | +| [sqlResourcesGetSqlUserDefinedFunctionSample.ts][sqlresourcesgetsqluserdefinedfunctionsample] | Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlUserDefinedFunctionGet.json | +| [sqlResourcesListClientEncryptionKeysSample.ts][sqlresourceslistclientencryptionkeyssample] | Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlClientEncryptionKeysList.json | +| [sqlResourcesListSqlContainersSample.ts][sqlresourceslistsqlcontainerssample] | Lists the SQL container under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerList.json | +| [sqlResourcesListSqlDatabasesSample.ts][sqlresourceslistsqldatabasessample] | Lists the SQL databases under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseList.json | +| [sqlResourcesListSqlRoleAssignmentsSample.ts][sqlresourceslistsqlroleassignmentssample] | Retrieves the list of all Azure Cosmos DB SQL Role Assignments. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleAssignmentList.json | +| [sqlResourcesListSqlRoleDefinitionsSample.ts][sqlresourceslistsqlroledefinitionssample] | Retrieves the list of all Azure Cosmos DB SQL Role Definitions. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleDefinitionList.json | +| [sqlResourcesListSqlStoredProceduresSample.ts][sqlresourceslistsqlstoredproceduressample] | Lists the SQL storedProcedure under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlStoredProcedureList.json | +| [sqlResourcesListSqlTriggersSample.ts][sqlresourceslistsqltriggerssample] | Lists the SQL trigger under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlTriggerList.json | +| [sqlResourcesListSqlUserDefinedFunctionsSample.ts][sqlresourceslistsqluserdefinedfunctionssample] | Lists the SQL userDefinedFunction under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlUserDefinedFunctionList.json | +| [sqlResourcesMigrateSqlContainerToAutoscaleSample.ts][sqlresourcesmigratesqlcontainertoautoscalesample] | Migrate an Azure Cosmos DB SQL container from manual throughput to autoscale x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerMigrateToAutoscale.json | +| [sqlResourcesMigrateSqlContainerToManualThroughputSample.ts][sqlresourcesmigratesqlcontainertomanualthroughputsample] | Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerMigrateToManualThroughput.json | +| [sqlResourcesMigrateSqlDatabaseToAutoscaleSample.ts][sqlresourcesmigratesqldatabasetoautoscalesample] | Migrate an Azure Cosmos DB SQL database from manual throughput to autoscale x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseMigrateToAutoscale.json | +| [sqlResourcesMigrateSqlDatabaseToManualThroughputSample.ts][sqlresourcesmigratesqldatabasetomanualthroughputsample] | Migrate an Azure Cosmos DB SQL database from autoscale to manual throughput x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseMigrateToManualThroughput.json | +| [sqlResourcesRetrieveContinuousBackupInformationSample.ts][sqlresourcesretrievecontinuousbackupinformationsample] | Retrieves continuous backup information for a container resource. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerBackupInformation.json | +| [sqlResourcesUpdateSqlContainerThroughputSample.ts][sqlresourcesupdatesqlcontainerthroughputsample] | Update RUs per second of an Azure Cosmos DB SQL container x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerThroughputUpdate.json | +| [sqlResourcesUpdateSqlDatabaseThroughputSample.ts][sqlresourcesupdatesqldatabasethroughputsample] | Update RUs per second of an Azure Cosmos DB SQL database x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseThroughputUpdate.json | +| [tableResourcesCreateUpdateTableSample.ts][tableresourcescreateupdatetablesample] | Create or update an Azure Cosmos DB Table x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableCreateUpdate.json | +| [tableResourcesDeleteTableSample.ts][tableresourcesdeletetablesample] | Deletes an existing Azure Cosmos DB Table. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableDelete.json | +| [tableResourcesGetTableSample.ts][tableresourcesgettablesample] | Gets the Tables 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-08-15/examples/CosmosDBTableGet.json | +| [tableResourcesGetTableThroughputSample.ts][tableresourcesgettablethroughputsample] | Gets the RUs per second of the 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-08-15/examples/CosmosDBTableThroughputGet.json | +| [tableResourcesListTablesSample.ts][tableresourceslisttablessample] | Lists the Tables under an existing Azure Cosmos DB database account. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableList.json | +| [tableResourcesMigrateTableToAutoscaleSample.ts][tableresourcesmigratetabletoautoscalesample] | Migrate an Azure Cosmos DB Table from manual throughput to autoscale x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableMigrateToAutoscale.json | +| [tableResourcesMigrateTableToManualThroughputSample.ts][tableresourcesmigratetabletomanualthroughputsample] | Migrate an Azure Cosmos DB Table from autoscale to manual throughput x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableMigrateToManualThroughput.json | +| [tableResourcesRetrieveContinuousBackupInformationSample.ts][tableresourcesretrievecontinuousbackupinformationsample] | Retrieves continuous backup information for a table. x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableBackupInformation.json | +| [tableResourcesUpdateTableThroughputSample.ts][tableresourcesupdatetablethroughputsample] | Update RUs per second of an Azure Cosmos DB Table x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableThroughputUpdate.json | ## Prerequisites diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/package.json b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/package.json index 6bc0e3c3186..d6590380461 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/package.json +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/package.json @@ -31,7 +31,7 @@ "dependencies": { "@azure/arm-cosmosdb": "latest", "dotenv": "latest", - "@azure/identity": "^4.0.1" + "@azure/identity": "^4.2.1" }, "devDependencies": { "@types/node": "^18.0.0", diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersCreateUpdateSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersCreateUpdateSample.ts index 8c37979b12c..9aa29db912b 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersCreateUpdateSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersCreateUpdateSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersDeallocateSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersDeallocateSample.ts index 54205c5b25a..a93dae39155 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersDeallocateSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersDeallocateSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersDeleteSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersDeleteSample.ts index 14227cb30c2..f36e857ab1e 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersDeleteSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersDeleteSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersGetSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersGetSample.ts index 96b503a97be..d6a23875fee 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersGetSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersGetSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersInvokeCommandSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersInvokeCommandSample.ts index 1adc9cc051f..2c64534705a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersInvokeCommandSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersInvokeCommandSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersListByResourceGroupSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersListByResourceGroupSample.ts index 2e89d9e3eac..623201af415 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersListByResourceGroupSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersListByResourceGroupSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersListBySubscriptionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersListBySubscriptionSample.ts index e13e0d385c3..18e90bc3b32 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersListBySubscriptionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersListBySubscriptionSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersStartSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersStartSample.ts index 08b960f8a65..f8d2137d5e9 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersStartSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersStartSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersStatusSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersStatusSample.ts index b079ab90a91..e94b76f3fa3 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersStatusSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersStatusSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersUpdateSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersUpdateSample.ts index 092fa4103b5..a42d0093bcb 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersUpdateSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraClustersUpdateSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraDataCentersCreateUpdateSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraDataCentersCreateUpdateSample.ts index 706a8cc2b8f..6ef2d3ae9fd 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraDataCentersCreateUpdateSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraDataCentersCreateUpdateSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraDataCentersDeleteSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraDataCentersDeleteSample.ts index d79a8621a40..9a239fbcb1e 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraDataCentersDeleteSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraDataCentersDeleteSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraDataCentersGetSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraDataCentersGetSample.ts index ab4fd7138fc..0047ae79b52 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraDataCentersGetSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraDataCentersGetSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraDataCentersListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraDataCentersListSample.ts index 456e19f0d2f..576d05aa055 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraDataCentersListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraDataCentersListSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraDataCentersUpdateSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraDataCentersUpdateSample.ts index 14e8145f2f0..98859e3dc7c 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraDataCentersUpdateSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraDataCentersUpdateSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesCreateUpdateCassandraKeyspaceSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesCreateUpdateCassandraKeyspaceSample.ts index 27c6bdfff55..864cf93e484 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesCreateUpdateCassandraKeyspaceSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesCreateUpdateCassandraKeyspaceSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesCreateUpdateCassandraTableSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesCreateUpdateCassandraTableSample.ts index baf1902bc11..c06116448f1 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesCreateUpdateCassandraTableSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesCreateUpdateCassandraTableSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesDeleteCassandraKeyspaceSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesDeleteCassandraKeyspaceSample.ts index c8a96c1e87e..e2608c30f7c 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesDeleteCassandraKeyspaceSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesDeleteCassandraKeyspaceSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesDeleteCassandraTableSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesDeleteCassandraTableSample.ts index 18a37b642b5..8222077a8d6 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesDeleteCassandraTableSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesDeleteCassandraTableSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesGetCassandraKeyspaceSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesGetCassandraKeyspaceSample.ts index 24bb5bc8c90..448768148e4 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesGetCassandraKeyspaceSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesGetCassandraKeyspaceSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesGetCassandraKeyspaceThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesGetCassandraKeyspaceThroughputSample.ts index e16992475f1..e44a9e662bf 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesGetCassandraKeyspaceThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesGetCassandraKeyspaceThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesGetCassandraTableSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesGetCassandraTableSample.ts index 527387a0bd7..27d6f1eb07a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesGetCassandraTableSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesGetCassandraTableSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesGetCassandraTableThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesGetCassandraTableThroughputSample.ts index 1027a19d15d..df268232d40 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesGetCassandraTableThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesGetCassandraTableThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesListCassandraKeyspacesSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesListCassandraKeyspacesSample.ts index 5ebe6cbbaa2..e98d5f60ae1 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesListCassandraKeyspacesSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesListCassandraKeyspacesSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesListCassandraTablesSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesListCassandraTablesSample.ts index ba56cbb6733..fa9f3730b2d 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesListCassandraTablesSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesListCassandraTablesSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesMigrateCassandraKeyspaceToAutoscaleSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesMigrateCassandraKeyspaceToAutoscaleSample.ts index a544b1fbe50..e8c82958a1f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesMigrateCassandraKeyspaceToAutoscaleSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesMigrateCassandraKeyspaceToAutoscaleSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesMigrateCassandraKeyspaceToManualThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesMigrateCassandraKeyspaceToManualThroughputSample.ts index b506981cf75..37f2d619380 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesMigrateCassandraKeyspaceToManualThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesMigrateCassandraKeyspaceToManualThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesMigrateCassandraTableToAutoscaleSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesMigrateCassandraTableToAutoscaleSample.ts index d405cd9a0dd..70ac099ce89 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesMigrateCassandraTableToAutoscaleSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesMigrateCassandraTableToAutoscaleSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesMigrateCassandraTableToManualThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesMigrateCassandraTableToManualThroughputSample.ts index 5dc9edf01a5..6de1f7ff80f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesMigrateCassandraTableToManualThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesMigrateCassandraTableToManualThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesUpdateCassandraKeyspaceThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesUpdateCassandraKeyspaceThroughputSample.ts index 17ec2c0053f..232309f65e2 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesUpdateCassandraKeyspaceThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesUpdateCassandraKeyspaceThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesUpdateCassandraTableThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesUpdateCassandraTableThroughputSample.ts index 03e45559040..f88934b54b9 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesUpdateCassandraTableThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/cassandraResourcesUpdateCassandraTableThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionListMetricDefinitionsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionListMetricDefinitionsSample.ts index 42f68abd4ee..bda2d8ec99f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionListMetricDefinitionsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionListMetricDefinitionsSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionListMetricsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionListMetricsSample.ts index 73f297a7def..5f3c3596a3e 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionListMetricsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionListMetricsSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionListUsagesSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionListUsagesSample.ts index d1a763887f4..89e355af3f7 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionListUsagesSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionListUsagesSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionPartitionListMetricsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionPartitionListMetricsSample.ts index 78d04ca8b9c..ce2952a739a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionPartitionListMetricsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionPartitionListMetricsSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionPartitionListUsagesSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionPartitionListUsagesSample.ts index 874930bc055..17dc18dcf47 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionPartitionListUsagesSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionPartitionListUsagesSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionPartitionRegionListMetricsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionPartitionRegionListMetricsSample.ts index af44e83e62e..c919465f25f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionPartitionRegionListMetricsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionPartitionRegionListMetricsSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionRegionListMetricsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionRegionListMetricsSample.ts index 833e75f21f0..9a44167086d 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionRegionListMetricsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/collectionRegionListMetricsSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountRegionListMetricsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountRegionListMetricsSample.ts index 34527a84777..a4fda3cc1d9 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountRegionListMetricsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountRegionListMetricsSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsCheckNameExistsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsCheckNameExistsSample.ts index a2bcd706a3e..26bb7288143 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsCheckNameExistsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsCheckNameExistsSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsCreateOrUpdateSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsCreateOrUpdateSample.ts index cd6647e64a6..c64adb0bf79 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsCreateOrUpdateSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsCreateOrUpdateSample.ts @@ -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: {}, }; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsDeleteSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsDeleteSample.ts index cad6840b90c..523c7f72f15 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsDeleteSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsDeleteSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsFailoverPriorityChangeSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsFailoverPriorityChangeSample.ts index ddd0983ff72..cfa64edea60 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsFailoverPriorityChangeSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsFailoverPriorityChangeSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsGetReadOnlyKeysSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsGetReadOnlyKeysSample.ts index c1c92d08542..f2198a436e9 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsGetReadOnlyKeysSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsGetReadOnlyKeysSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsGetSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsGetSample.ts index a36b80ed16e..02798121636 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsGetSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsGetSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListByResourceGroupSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListByResourceGroupSample.ts index 5d7ce9e1504..4ba64bd58a6 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListByResourceGroupSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListByResourceGroupSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListConnectionStringsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListConnectionStringsSample.ts index c3039ee1999..510b55e476c 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListConnectionStringsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListConnectionStringsSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListKeysSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListKeysSample.ts index ef96690738e..43281f97ade 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListKeysSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListKeysSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListMetricDefinitionsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListMetricDefinitionsSample.ts index 31ce213ba7a..222de7b314a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListMetricDefinitionsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListMetricDefinitionsSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListMetricsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListMetricsSample.ts index 04a4f640191..50c0e2285ff 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListMetricsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListMetricsSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListReadOnlyKeysSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListReadOnlyKeysSample.ts index 67b9265d0c9..d846eee408c 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListReadOnlyKeysSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListReadOnlyKeysSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListSample.ts index a9543a6777a..3beb0557b61 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListUsagesSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListUsagesSample.ts index e9e013f3a06..313bfa06564 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListUsagesSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsListUsagesSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsOfflineRegionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsOfflineRegionSample.ts index b3ee1706f10..08e00c491b4 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsOfflineRegionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsOfflineRegionSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsOnlineRegionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsOnlineRegionSample.ts index d2f613cc155..cc79b81a781 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsOnlineRegionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsOnlineRegionSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsRegenerateKeySample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsRegenerateKeySample.ts index e15f5a0e6e2..c52ac3e1748 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsRegenerateKeySample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsRegenerateKeySample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsUpdateSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsUpdateSample.ts index abf456e1ebe..663aeebb2e3 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsUpdateSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseAccountsUpdateSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseListMetricDefinitionsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseListMetricDefinitionsSample.ts index dc4e2bcf01d..7f6c03d7464 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseListMetricDefinitionsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseListMetricDefinitionsSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseListMetricsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseListMetricsSample.ts index 8c2e550146d..fb3867c1ba2 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseListMetricsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseListMetricsSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseListUsagesSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseListUsagesSample.ts index 2b51c91097d..1cbf771c304 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseListUsagesSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/databaseListUsagesSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesCreateUpdateGremlinDatabaseSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesCreateUpdateGremlinDatabaseSample.ts index 06d147e55c4..4fafb73abb1 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesCreateUpdateGremlinDatabaseSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesCreateUpdateGremlinDatabaseSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesCreateUpdateGremlinGraphSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesCreateUpdateGremlinGraphSample.ts index 0b69a09fee6..040d5ccb7fc 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesCreateUpdateGremlinGraphSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesCreateUpdateGremlinGraphSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesDeleteGremlinDatabaseSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesDeleteGremlinDatabaseSample.ts index c9585f02c6c..02094887f27 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesDeleteGremlinDatabaseSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesDeleteGremlinDatabaseSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesDeleteGremlinGraphSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesDeleteGremlinGraphSample.ts index bb31781d010..653bba6c6bb 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesDeleteGremlinGraphSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesDeleteGremlinGraphSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesGetGremlinDatabaseSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesGetGremlinDatabaseSample.ts index 2f3934b91d5..554e9f34733 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesGetGremlinDatabaseSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesGetGremlinDatabaseSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesGetGremlinDatabaseThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesGetGremlinDatabaseThroughputSample.ts index 7248d0ed279..a98b26e2900 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesGetGremlinDatabaseThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesGetGremlinDatabaseThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesGetGremlinGraphSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesGetGremlinGraphSample.ts index 997158433fe..d3dfedd96f2 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesGetGremlinGraphSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesGetGremlinGraphSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesGetGremlinGraphThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesGetGremlinGraphThroughputSample.ts index 34a1d2f97ab..e26152a3691 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesGetGremlinGraphThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesGetGremlinGraphThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesListGremlinDatabasesSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesListGremlinDatabasesSample.ts index 3b839e6637c..661e98055a6 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesListGremlinDatabasesSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesListGremlinDatabasesSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesListGremlinGraphsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesListGremlinGraphsSample.ts index 643d5d0cf31..31a744f0143 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesListGremlinGraphsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesListGremlinGraphsSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesMigrateGremlinDatabaseToAutoscaleSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesMigrateGremlinDatabaseToAutoscaleSample.ts index 33036300335..4adb09b6436 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesMigrateGremlinDatabaseToAutoscaleSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesMigrateGremlinDatabaseToAutoscaleSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesMigrateGremlinDatabaseToManualThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesMigrateGremlinDatabaseToManualThroughputSample.ts index 7293db53a59..c4ab65435ec 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesMigrateGremlinDatabaseToManualThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesMigrateGremlinDatabaseToManualThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesMigrateGremlinGraphToAutoscaleSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesMigrateGremlinGraphToAutoscaleSample.ts index 2056dbc0be7..d92286a9429 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesMigrateGremlinGraphToAutoscaleSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesMigrateGremlinGraphToAutoscaleSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesMigrateGremlinGraphToManualThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesMigrateGremlinGraphToManualThroughputSample.ts index 122620adb68..67f0aca908d 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesMigrateGremlinGraphToManualThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesMigrateGremlinGraphToManualThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesRetrieveContinuousBackupInformationSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesRetrieveContinuousBackupInformationSample.ts index 7fc381a29f5..d671778b47f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesRetrieveContinuousBackupInformationSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesRetrieveContinuousBackupInformationSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesUpdateGremlinDatabaseThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesUpdateGremlinDatabaseThroughputSample.ts index 4c6b588b20b..4bc023da14a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesUpdateGremlinDatabaseThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesUpdateGremlinDatabaseThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesUpdateGremlinGraphThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesUpdateGremlinGraphThroughputSample.ts index 9930e6c89e2..39c07456ded 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesUpdateGremlinGraphThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/gremlinResourcesUpdateGremlinGraphThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/locationsGetSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/locationsGetSample.ts index fe95ba527b3..af253d8fdad 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/locationsGetSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/locationsGetSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/locationsListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/locationsListSample.ts index e11a9a061ab..9b1d62738a0 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/locationsListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/locationsListSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesCreateUpdateMongoDbcollectionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesCreateUpdateMongoDbcollectionSample.ts index bda81c1d366..f33628ad243 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesCreateUpdateMongoDbcollectionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesCreateUpdateMongoDbcollectionSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesCreateUpdateMongoDbdatabaseSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesCreateUpdateMongoDbdatabaseSample.ts index 9e4602e95a4..fe349b1fcdc 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesCreateUpdateMongoDbdatabaseSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesCreateUpdateMongoDbdatabaseSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesCreateUpdateMongoRoleDefinitionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesCreateUpdateMongoRoleDefinitionSample.ts index 37219e15f88..82f01f7871b 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesCreateUpdateMongoRoleDefinitionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesCreateUpdateMongoRoleDefinitionSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesCreateUpdateMongoUserDefinitionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesCreateUpdateMongoUserDefinitionSample.ts index 6aca9732dbc..974d3b07170 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesCreateUpdateMongoUserDefinitionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesCreateUpdateMongoUserDefinitionSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesDeleteMongoDbcollectionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesDeleteMongoDbcollectionSample.ts index 9b801bb1d67..7de08adc4c1 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesDeleteMongoDbcollectionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesDeleteMongoDbcollectionSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesDeleteMongoDbdatabaseSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesDeleteMongoDbdatabaseSample.ts index cfa7c2fdd02..20413fe7087 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesDeleteMongoDbdatabaseSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesDeleteMongoDbdatabaseSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesDeleteMongoRoleDefinitionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesDeleteMongoRoleDefinitionSample.ts index 61bcc5f008b..4c9d0f2f819 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesDeleteMongoRoleDefinitionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesDeleteMongoRoleDefinitionSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesDeleteMongoUserDefinitionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesDeleteMongoUserDefinitionSample.ts index c0ab7bf7ea0..ec87f064b2d 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesDeleteMongoUserDefinitionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesDeleteMongoUserDefinitionSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesGetMongoDbcollectionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesGetMongoDbcollectionSample.ts index 62308611801..752321350c4 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesGetMongoDbcollectionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesGetMongoDbcollectionSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesGetMongoDbcollectionThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesGetMongoDbcollectionThroughputSample.ts index e868af8acb4..edc5d00b980 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesGetMongoDbcollectionThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesGetMongoDbcollectionThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesGetMongoDbdatabaseSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesGetMongoDbdatabaseSample.ts index 2c9a649bf3c..ad84e36d871 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesGetMongoDbdatabaseSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesGetMongoDbdatabaseSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesGetMongoDbdatabaseThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesGetMongoDbdatabaseThroughputSample.ts index 39042dda045..7d0fd550d7a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesGetMongoDbdatabaseThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesGetMongoDbdatabaseThroughputSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesGetMongoRoleDefinitionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesGetMongoRoleDefinitionSample.ts index 46666680383..084e5e82774 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesGetMongoRoleDefinitionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesGetMongoRoleDefinitionSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesGetMongoUserDefinitionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesGetMongoUserDefinitionSample.ts index c52b5773147..379726c2452 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesGetMongoUserDefinitionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesGetMongoUserDefinitionSample.ts @@ -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 = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesListMongoDbcollectionsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesListMongoDbcollectionsSample.ts index 278464a591e..fe68bc94108 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesListMongoDbcollectionsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesListMongoDbcollectionsSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesListMongoDbdatabasesSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesListMongoDbdatabasesSample.ts index 6f18597ca26..cb4e88a3239 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesListMongoDbdatabasesSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesListMongoDbdatabasesSample.ts @@ -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"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesListMongoRoleDefinitionsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesListMongoRoleDefinitionsSample.ts index e961848cda9..5512c572d07 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesListMongoRoleDefinitionsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesListMongoRoleDefinitionsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves the list of all Azure Cosmos DB Mongo Role Definitions. * * @summary Retrieves the list of all Azure Cosmos DB Mongo Role Definitions. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBRoleDefinitionList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBRoleDefinitionList.json */ async function cosmosDbMongoDbroleDefinitionList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesListMongoUserDefinitionsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesListMongoUserDefinitionsSample.ts index e56f12b0692..6661c8a08dc 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesListMongoUserDefinitionsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesListMongoUserDefinitionsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves the list of all Azure Cosmos DB Mongo User Definition. * * @summary Retrieves the list of all Azure Cosmos DB Mongo User Definition. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBUserDefinitionList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBUserDefinitionList.json */ async function cosmosDbMongoDbuserDefinitionList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesMigrateMongoDbcollectionToAutoscaleSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesMigrateMongoDbcollectionToAutoscaleSample.ts index 8a15edf37f7..c56dded357f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesMigrateMongoDbcollectionToAutoscaleSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesMigrateMongoDbcollectionToAutoscaleSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Migrate an Azure Cosmos DB MongoDB collection from manual throughput to autoscale * * @summary Migrate an Azure Cosmos DB MongoDB collection from manual throughput to autoscale - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBCollectionMigrateToAutoscale.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionMigrateToAutoscale.json */ async function cosmosDbMongoDbcollectionMigrateToAutoscale() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesMigrateMongoDbcollectionToManualThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesMigrateMongoDbcollectionToManualThroughputSample.ts index 852d6d12f38..cd3f718ad77 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesMigrateMongoDbcollectionToManualThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesMigrateMongoDbcollectionToManualThroughputSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Migrate an Azure Cosmos DB MongoDB collection from autoscale to manual throughput * * @summary Migrate an Azure Cosmos DB MongoDB collection from autoscale to manual throughput - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBCollectionMigrateToManualThroughput.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionMigrateToManualThroughput.json */ async function cosmosDbMongoDbcollectionMigrateToManualThroughput() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesMigrateMongoDbdatabaseToAutoscaleSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesMigrateMongoDbdatabaseToAutoscaleSample.ts index 08177bd429f..1c156a52053 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesMigrateMongoDbdatabaseToAutoscaleSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesMigrateMongoDbdatabaseToAutoscaleSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Migrate an Azure Cosmos DB MongoDB database from manual throughput to autoscale * * @summary Migrate an Azure Cosmos DB MongoDB database from manual throughput to autoscale - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBDatabaseMigrateToAutoscale.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBDatabaseMigrateToAutoscale.json */ async function cosmosDbMongoDbdatabaseMigrateToAutoscale() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesMigrateMongoDbdatabaseToManualThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesMigrateMongoDbdatabaseToManualThroughputSample.ts index 49694970c53..8abefeb43e8 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesMigrateMongoDbdatabaseToManualThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesMigrateMongoDbdatabaseToManualThroughputSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Migrate an Azure Cosmos DB MongoDB database from autoscale to manual throughput * * @summary Migrate an Azure Cosmos DB MongoDB database from autoscale to manual throughput - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBDatabaseMigrateToManualThroughput.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBDatabaseMigrateToManualThroughput.json */ async function cosmosDbMongoDbdatabaseMigrateToManualThroughput() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesRetrieveContinuousBackupInformationSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesRetrieveContinuousBackupInformationSample.ts index aacce04187d..0fe95d0753b 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesRetrieveContinuousBackupInformationSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesRetrieveContinuousBackupInformationSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves continuous backup information for a Mongodb collection. * * @summary Retrieves continuous backup information for a Mongodb collection. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBCollectionBackupInformation.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionBackupInformation.json */ async function cosmosDbMongoDbcollectionBackupInformation() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesUpdateMongoDbcollectionThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesUpdateMongoDbcollectionThroughputSample.ts index 5bfb8c8e730..b0f1f625739 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesUpdateMongoDbcollectionThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesUpdateMongoDbcollectionThroughputSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Update the RUs per second of an Azure Cosmos DB MongoDB collection * * @summary Update the RUs per second of an Azure Cosmos DB MongoDB collection - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBCollectionThroughputUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBCollectionThroughputUpdate.json */ async function cosmosDbMongoDbcollectionThroughputUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesUpdateMongoDbdatabaseThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesUpdateMongoDbdatabaseThroughputSample.ts index b9756828b80..6a07c4fb479 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesUpdateMongoDbdatabaseThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/mongoDbResourcesUpdateMongoDbdatabaseThroughputSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Update RUs per second of the an Azure Cosmos DB MongoDB database * * @summary Update RUs per second of the an Azure Cosmos DB MongoDB database - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json */ async function cosmosDbMongoDbdatabaseThroughputUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesCreateOrUpdateSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesCreateOrUpdateSample.ts index 550b48c1f27..fc9628c6a2b 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesCreateOrUpdateSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesCreateOrUpdateSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Creates the notebook workspace for a Cosmos DB account. * * @summary Creates the notebook workspace for a Cosmos DB account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceCreate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceCreate.json */ async function cosmosDbNotebookWorkspaceCreate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesDeleteSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesDeleteSample.ts index 3e5ea33edb2..1d77379fc07 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesDeleteSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesDeleteSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes the notebook workspace for a Cosmos DB account. * * @summary Deletes the notebook workspace for a Cosmos DB account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceDelete.json */ async function cosmosDbNotebookWorkspaceDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesGetSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesGetSample.ts index a6be6bcf20a..994d5ba64fc 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesGetSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesGetSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the notebook workspace for a Cosmos DB account. * * @summary Gets the notebook workspace for a Cosmos DB account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceGet.json */ async function cosmosDbNotebookWorkspaceGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesListByDatabaseAccountSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesListByDatabaseAccountSample.ts index 15bdac99fb0..9c26843084a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesListByDatabaseAccountSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesListByDatabaseAccountSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the notebook workspace resources of an existing Cosmos DB account. * * @summary Gets the notebook workspace resources of an existing Cosmos DB account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceList.json */ async function cosmosDbNotebookWorkspaceList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesListConnectionInfoSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesListConnectionInfoSample.ts index 5e40b4ee87b..7fe600f8c1a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesListConnectionInfoSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesListConnectionInfoSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves the connection info for the notebook workspace * * @summary Retrieves the connection info for the notebook workspace - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceListConnectionInfo.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceListConnectionInfo.json */ async function cosmosDbNotebookWorkspaceListConnectionInfo() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesRegenerateAuthTokenSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesRegenerateAuthTokenSample.ts index ac952023419..45ed335569f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesRegenerateAuthTokenSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesRegenerateAuthTokenSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Regenerates the auth token for the notebook workspace * * @summary Regenerates the auth token for the notebook workspace - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceRegenerateAuthToken.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceRegenerateAuthToken.json */ async function cosmosDbNotebookWorkspaceRegenerateAuthToken() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesStartSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesStartSample.ts index 595cf512898..ccf1fc93462 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesStartSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/notebookWorkspacesStartSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Starts the notebook workspace * * @summary Starts the notebook workspace - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBNotebookWorkspaceStart.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBNotebookWorkspaceStart.json */ async function cosmosDbNotebookWorkspaceStart() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/operationsListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/operationsListSample.ts index 5d461d67b50..31bcaf0d6ba 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/operationsListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/operationsListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists all of the available Cosmos DB Resource Provider operations. * * @summary Lists all of the available Cosmos DB Resource Provider operations. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBOperationsList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBOperationsList.json */ async function cosmosDbOperationsList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/partitionKeyRangeIdListMetricsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/partitionKeyRangeIdListMetricsSample.ts index 4bd628fb57f..c0f080dfb3d 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/partitionKeyRangeIdListMetricsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/partitionKeyRangeIdListMetricsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves the metrics determined by the given filter for the given partition key range id. * * @summary Retrieves the metrics determined by the given filter for the given partition key range id. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPKeyRangeIdGetMetrics.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPKeyRangeIdGetMetrics.json */ async function cosmosDbDatabaseAccountRegionGetMetrics() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/partitionKeyRangeIdRegionListMetricsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/partitionKeyRangeIdRegionListMetricsSample.ts index 03e1291fb69..1b78e5e8355 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/partitionKeyRangeIdRegionListMetricsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/partitionKeyRangeIdRegionListMetricsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves the metrics determined by the given filter for the given partition key range id and region. * * @summary Retrieves the metrics determined by the given filter for the given partition key range id and region. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPKeyRangeIdRegionGetMetrics.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPKeyRangeIdRegionGetMetrics.json */ async function cosmosDbDatabaseAccountRegionGetMetrics() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/percentileListMetricsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/percentileListMetricsSample.ts index 795e60b2acc..d9e7d977569 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/percentileListMetricsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/percentileListMetricsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves the metrics determined by the given filter for the given database account. This url is only for PBS and Replication Latency data * * @summary Retrieves the metrics determined by the given filter for the given database account. This url is only for PBS and Replication Latency data - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPercentileGetMetrics.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPercentileGetMetrics.json */ async function cosmosDbDatabaseAccountRegionGetMetrics() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/percentileSourceTargetListMetricsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/percentileSourceTargetListMetricsSample.ts index d0b4e140344..c0a350e9174 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/percentileSourceTargetListMetricsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/percentileSourceTargetListMetricsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to 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 * * @summary 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 - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPercentileSourceTargetGetMetrics.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPercentileSourceTargetGetMetrics.json */ async function cosmosDbDatabaseAccountRegionGetMetrics() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/percentileTargetListMetricsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/percentileTargetListMetricsSample.ts index 5afd13667f0..f613667e150 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/percentileTargetListMetricsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/percentileTargetListMetricsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves the metrics determined by the given filter for the given account target region. This url is only for PBS and Replication Latency data * * @summary Retrieves the metrics determined by the given filter for the given account target region. This url is only for PBS and Replication Latency data - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPercentileTargetGetMetrics.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPercentileTargetGetMetrics.json */ async function cosmosDbDatabaseAccountRegionGetMetrics() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/privateEndpointConnectionsCreateOrUpdateSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/privateEndpointConnectionsCreateOrUpdateSample.ts index d2fa67eed7e..f3ae334175b 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/privateEndpointConnectionsCreateOrUpdateSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/privateEndpointConnectionsCreateOrUpdateSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Approve or reject a private endpoint connection with a given name. * * @summary Approve or reject a private endpoint connection with a given name. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateEndpointConnectionUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateEndpointConnectionUpdate.json */ async function approveOrRejectAPrivateEndpointConnectionWithAGivenName() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/privateEndpointConnectionsDeleteSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/privateEndpointConnectionsDeleteSample.ts index d6da1451325..f2f37122c12 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/privateEndpointConnectionsDeleteSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/privateEndpointConnectionsDeleteSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes a private endpoint connection with a given name. * * @summary Deletes a private endpoint connection with a given name. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateEndpointConnectionDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateEndpointConnectionDelete.json */ async function deletesAPrivateEndpointConnectionWithAGivenName() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/privateEndpointConnectionsGetSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/privateEndpointConnectionsGetSample.ts index 9a0080569d2..abaf941ce1f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/privateEndpointConnectionsGetSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/privateEndpointConnectionsGetSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets a private endpoint connection. * * @summary Gets a private endpoint connection. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateEndpointConnectionGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateEndpointConnectionGet.json */ async function getsPrivateEndpointConnection() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/privateEndpointConnectionsListByDatabaseAccountSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/privateEndpointConnectionsListByDatabaseAccountSample.ts index 3ed8c3faf52..cff86e420a9 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/privateEndpointConnectionsListByDatabaseAccountSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/privateEndpointConnectionsListByDatabaseAccountSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to List all private endpoint connections on a Cosmos DB account. * * @summary List all private endpoint connections on a Cosmos DB account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateEndpointConnectionListGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateEndpointConnectionListGet.json */ async function getsPrivateEndpointConnection() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/privateLinkResourcesGetSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/privateLinkResourcesGetSample.ts index c95be5fed2c..73c6f81ffb0 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/privateLinkResourcesGetSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/privateLinkResourcesGetSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the private link resources that need to be created for a Cosmos DB account. * * @summary Gets the private link resources that need to be created for a Cosmos DB account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateLinkResourceGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateLinkResourceGet.json */ async function getsPrivateEndpointConnection() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/privateLinkResourcesListByDatabaseAccountSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/privateLinkResourcesListByDatabaseAccountSample.ts index 4672682083f..d3170671045 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/privateLinkResourcesListByDatabaseAccountSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/privateLinkResourcesListByDatabaseAccountSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the private link resources that need to be created for a Cosmos DB account. * * @summary Gets the private link resources that need to be created for a Cosmos DB account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBPrivateLinkResourceListGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBPrivateLinkResourceListGet.json */ async function getsPrivateEndpointConnection() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableDatabaseAccountsGetByLocationSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableDatabaseAccountsGetByLocationSample.ts index 9acd64de54f..ea0752e3699 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableDatabaseAccountsGetByLocationSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableDatabaseAccountsGetByLocationSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves the properties of an existing Azure Cosmos DB restorable database account. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/*' permission. * * @summary Retrieves the properties of an existing Azure Cosmos DB restorable database account. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/*' permission. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableDatabaseAccountGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableDatabaseAccountGet.json */ async function cosmosDbRestorableDatabaseAccountGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableDatabaseAccountsListByLocationSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableDatabaseAccountsListByLocationSample.ts index a0071869eb3..a6751bf629a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableDatabaseAccountsListByLocationSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableDatabaseAccountsListByLocationSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists all the restorable Azure Cosmos DB database accounts available under the subscription and in a region. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. * * @summary Lists all the restorable Azure Cosmos DB database accounts available under the subscription and in a region. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableDatabaseAccountList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableDatabaseAccountList.json */ async function cosmosDbRestorableDatabaseAccountList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableDatabaseAccountsListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableDatabaseAccountsListSample.ts index ba091530682..dc7387049ae 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableDatabaseAccountsListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableDatabaseAccountsListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists all the restorable Azure Cosmos DB database accounts available under the subscription. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. * * @summary Lists all the restorable Azure Cosmos DB database accounts available under the subscription. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableDatabaseAccountNoLocationList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableDatabaseAccountNoLocationList.json */ async function cosmosDbRestorableDatabaseAccountNoLocationList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableGremlinDatabasesListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableGremlinDatabasesListSample.ts index 1e2724f854e..8a6e2facf22 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableGremlinDatabasesListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableGremlinDatabasesListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission * * @summary Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableGremlinDatabaseList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableGremlinDatabaseList.json */ async function cosmosDbRestorableGremlinDatabaseList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableGremlinGraphsListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableGremlinGraphsListSample.ts index b4801fd3bbf..bee2195cd1b 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableGremlinGraphsListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableGremlinGraphsListSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission * * @summary Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableGremlinGraphList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableGremlinGraphList.json */ async function cosmosDbRestorableGremlinGraphList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableGremlinResourcesListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableGremlinResourcesListSample.ts index 3e8528b6a45..7f054be648d 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableGremlinResourcesListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableGremlinResourcesListSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. * * @summary Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableGremlinResourceList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableGremlinResourceList.json */ async function cosmosDbRestorableGremlinResourceList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableMongodbCollectionsListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableMongodbCollectionsListSample.ts index c7d959cdc80..60e50ba7d55 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableMongodbCollectionsListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableMongodbCollectionsListSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB collections under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission * * @summary Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB collections under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableMongodbCollectionList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableMongodbCollectionList.json */ async function cosmosDbRestorableMongodbCollectionList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableMongodbDatabasesListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableMongodbDatabasesListSample.ts index 799b83a61dc..01eb8a9c2e4 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableMongodbDatabasesListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableMongodbDatabasesListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission * * @summary Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableMongodbDatabaseList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableMongodbDatabaseList.json */ async function cosmosDbRestorableMongodbDatabaseList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableMongodbResourcesListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableMongodbResourcesListSample.ts index 2defe3128fa..20ec7cc87dc 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableMongodbResourcesListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableMongodbResourcesListSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Return a list of database and collection combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. * * @summary Return a list of database and collection combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableMongodbResourceList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableMongodbResourceList.json */ async function cosmosDbRestorableMongodbResourceList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableSqlContainersListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableSqlContainersListSample.ts index 78e1b5779e0..532bda8c921 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableSqlContainersListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableSqlContainersListSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB SQL containers under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission * * @summary Show the event feed of all mutations done on all the Azure Cosmos DB SQL containers under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableSqlContainerList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableSqlContainerList.json */ async function cosmosDbRestorableSqlContainerList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableSqlDatabasesListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableSqlDatabasesListSample.ts index 094a1226b62..9ae92c525ae 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableSqlDatabasesListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableSqlDatabasesListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB SQL databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission * * @summary Show the event feed of all mutations done on all the Azure Cosmos DB SQL databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableSqlDatabaseList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableSqlDatabaseList.json */ async function cosmosDbRestorableSqlDatabaseList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableSqlResourcesListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableSqlResourcesListSample.ts index bd6a2faba7e..01a6a4d3d47 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableSqlResourcesListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableSqlResourcesListSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Return a list of database and container combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. * * @summary Return a list of database and container combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableSqlResourceList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableSqlResourceList.json */ async function cosmosDbRestorableSqlResourceList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableTableResourcesListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableTableResourcesListSample.ts index d4c56a2fbde..9d807a2ef8e 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableTableResourcesListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableTableResourcesListSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Return a list of tables that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. * * @summary Return a list of tables that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableTableResourceList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableTableResourceList.json */ async function cosmosDbRestorableTableResourceList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableTablesListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableTablesListSample.ts index 5c58a8f11c6..df74623ffa1 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableTablesListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/restorableTablesListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB Tables. This helps in scenario where table was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission * * @summary Show the event feed of all mutations done on all the Azure Cosmos DB Tables. This helps in scenario where table was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBRestorableTableList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBRestorableTableList.json */ async function cosmosDbRestorableTableList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/serviceCreateSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/serviceCreateSample.ts index 55805b05755..5c88a3b40b9 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/serviceCreateSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/serviceCreateSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Creates a service. * * @summary Creates a service. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDataTransferServiceCreate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDataTransferServiceCreate.json */ async function dataTransferServiceCreate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; @@ -50,7 +50,7 @@ async function dataTransferServiceCreate() { * This sample demonstrates how to Creates a service. * * @summary Creates a service. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBGraphAPIComputeServiceCreate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGraphAPIComputeServiceCreate.json */ async function graphApiComputeServiceCreate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; @@ -79,7 +79,7 @@ async function graphApiComputeServiceCreate() { * This sample demonstrates how to Creates a service. * * @summary Creates a service. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMaterializedViewsBuilderServiceCreate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMaterializedViewsBuilderServiceCreate.json */ async function materializedViewsBuilderServiceCreate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; @@ -108,7 +108,7 @@ async function materializedViewsBuilderServiceCreate() { * This sample demonstrates how to Creates a service. * * @summary Creates a service. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceCreate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceCreate.json */ async function sqlDedicatedGatewayServiceCreate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/serviceDeleteSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/serviceDeleteSample.ts index e03ac88d32e..f44ebfc0271 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/serviceDeleteSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/serviceDeleteSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes service with the given serviceName. * * @summary Deletes service with the given serviceName. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDataTransferServiceDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDataTransferServiceDelete.json */ async function dataTransferServiceDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; @@ -39,7 +39,7 @@ async function dataTransferServiceDelete() { * This sample demonstrates how to Deletes service with the given serviceName. * * @summary Deletes service with the given serviceName. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBGraphAPIComputeServiceDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGraphAPIComputeServiceDelete.json */ async function graphApiComputeServiceDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; @@ -60,7 +60,7 @@ async function graphApiComputeServiceDelete() { * This sample demonstrates how to Deletes service with the given serviceName. * * @summary Deletes service with the given serviceName. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMaterializedViewsBuilderServiceDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMaterializedViewsBuilderServiceDelete.json */ async function materializedViewsBuilderServiceDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; @@ -81,7 +81,7 @@ async function materializedViewsBuilderServiceDelete() { * This sample demonstrates how to Deletes service with the given serviceName. * * @summary Deletes service with the given serviceName. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceDelete.json */ async function sqlDedicatedGatewayServiceDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/serviceGetSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/serviceGetSample.ts index d8767d629d3..0732eba7bed 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/serviceGetSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/serviceGetSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the status of service. * * @summary Gets the status of service. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBDataTransferServiceGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBDataTransferServiceGet.json */ async function dataTransferServiceGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; @@ -39,7 +39,7 @@ async function dataTransferServiceGet() { * This sample demonstrates how to Gets the status of service. * * @summary Gets the status of service. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBGraphAPIComputeServiceGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBGraphAPIComputeServiceGet.json */ async function graphApiComputeServiceGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; @@ -60,7 +60,7 @@ async function graphApiComputeServiceGet() { * This sample demonstrates how to Gets the status of service. * * @summary Gets the status of service. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBMaterializedViewsBuilderServiceGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBMaterializedViewsBuilderServiceGet.json */ async function materializedViewsBuilderServiceGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; @@ -81,7 +81,7 @@ async function materializedViewsBuilderServiceGet() { * This sample demonstrates how to Gets the status of service. * * @summary Gets the status of service. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceGet.json */ async function sqlDedicatedGatewayServiceGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/serviceListSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/serviceListSample.ts index b278efcd14e..336d391272b 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/serviceListSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/serviceListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the status of service. * * @summary Gets the status of service. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBServicesList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBServicesList.json */ async function cosmosDbServicesList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateClientEncryptionKeySample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateClientEncryptionKeySample.ts index 70d0d63d9af..8464bb9b02a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateClientEncryptionKeySample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateClientEncryptionKeySample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell (instead of directly). * * @summary Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell (instead of directly). - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlClientEncryptionKeyCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlClientEncryptionKeyCreateUpdate.json */ async function cosmosDbClientEncryptionKeyCreateUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subId"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlContainerSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlContainerSample.ts index 61af4967387..43bd78b7e5d 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlContainerSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlContainerSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Create or update an Azure Cosmos DB SQL container * * @summary Create or update an Azure Cosmos DB SQL container - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerCreateUpdate.json */ async function cosmosDbSqlContainerCreateUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlDatabaseSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlDatabaseSample.ts index 103bece32a6..8235f43ae8f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlDatabaseSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlDatabaseSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Create or update an Azure Cosmos DB SQL database * * @summary Create or update an Azure Cosmos DB SQL database - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseCreateUpdate.json */ async function cosmosDbSqlDatabaseCreateUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlRoleAssignmentSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlRoleAssignmentSample.ts index 1b19fb8e5a2..564419382f8 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlRoleAssignmentSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlRoleAssignmentSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Creates or updates an Azure Cosmos DB SQL Role Assignment. * * @summary Creates or updates an Azure Cosmos DB SQL Role Assignment. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleAssignmentCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleAssignmentCreateUpdate.json */ async function cosmosDbSqlRoleAssignmentCreateUpdate() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlRoleDefinitionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlRoleDefinitionSample.ts index 9060486bf2f..11bcb1c9e4f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlRoleDefinitionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlRoleDefinitionSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Creates or updates an Azure Cosmos DB SQL Role Definition. * * @summary Creates or updates an Azure Cosmos DB SQL Role Definition. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleDefinitionCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleDefinitionCreateUpdate.json */ async function cosmosDbSqlRoleDefinitionCreateUpdate() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlStoredProcedureSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlStoredProcedureSample.ts index 8514938d80c..2a7563e304f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlStoredProcedureSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlStoredProcedureSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Create or update an Azure Cosmos DB SQL storedProcedure * * @summary Create or update an Azure Cosmos DB SQL storedProcedure - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlStoredProcedureCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlStoredProcedureCreateUpdate.json */ async function cosmosDbSqlStoredProcedureCreateUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlTriggerSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlTriggerSample.ts index 5d0968ebd13..5d368f063f6 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlTriggerSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlTriggerSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Create or update an Azure Cosmos DB SQL trigger * * @summary Create or update an Azure Cosmos DB SQL trigger - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlTriggerCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlTriggerCreateUpdate.json */ async function cosmosDbSqlTriggerCreateUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlUserDefinedFunctionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlUserDefinedFunctionSample.ts index b5980a1011f..1550b414ee4 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlUserDefinedFunctionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesCreateUpdateSqlUserDefinedFunctionSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Create or update an Azure Cosmos DB SQL userDefinedFunction * * @summary Create or update an Azure Cosmos DB SQL userDefinedFunction - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlUserDefinedFunctionCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlUserDefinedFunctionCreateUpdate.json */ async function cosmosDbSqlUserDefinedFunctionCreateUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlContainerSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlContainerSample.ts index 11a1857cf84..bac3a9c1769 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlContainerSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlContainerSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes an existing Azure Cosmos DB SQL container. * * @summary Deletes an existing Azure Cosmos DB SQL container. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerDelete.json */ async function cosmosDbSqlContainerDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlDatabaseSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlDatabaseSample.ts index 58177903c79..cf1f8d3d9a8 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlDatabaseSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlDatabaseSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes an existing Azure Cosmos DB SQL database. * * @summary Deletes an existing Azure Cosmos DB SQL database. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseDelete.json */ async function cosmosDbSqlDatabaseDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlRoleAssignmentSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlRoleAssignmentSample.ts index 1f56245b95e..d6ff6547f8d 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlRoleAssignmentSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlRoleAssignmentSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes an existing Azure Cosmos DB SQL Role Assignment. * * @summary Deletes an existing Azure Cosmos DB SQL Role Assignment. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleAssignmentDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleAssignmentDelete.json */ async function cosmosDbSqlRoleAssignmentDelete() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlRoleDefinitionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlRoleDefinitionSample.ts index 79c41850b95..34ac8b1112a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlRoleDefinitionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlRoleDefinitionSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes an existing Azure Cosmos DB SQL Role Definition. * * @summary Deletes an existing Azure Cosmos DB SQL Role Definition. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleDefinitionDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleDefinitionDelete.json */ async function cosmosDbSqlRoleDefinitionDelete() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlStoredProcedureSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlStoredProcedureSample.ts index 06596f907f8..59454fe8247 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlStoredProcedureSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlStoredProcedureSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes an existing Azure Cosmos DB SQL storedProcedure. * * @summary Deletes an existing Azure Cosmos DB SQL storedProcedure. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlStoredProcedureDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlStoredProcedureDelete.json */ async function cosmosDbSqlStoredProcedureDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlTriggerSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlTriggerSample.ts index 0d6a45d04b3..4a22b5ea8cf 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlTriggerSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlTriggerSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes an existing Azure Cosmos DB SQL trigger. * * @summary Deletes an existing Azure Cosmos DB SQL trigger. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlTriggerDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlTriggerDelete.json */ async function cosmosDbSqlTriggerDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlUserDefinedFunctionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlUserDefinedFunctionSample.ts index 29af172de14..d156b9c0fc0 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlUserDefinedFunctionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesDeleteSqlUserDefinedFunctionSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes an existing Azure Cosmos DB SQL userDefinedFunction. * * @summary Deletes an existing Azure Cosmos DB SQL userDefinedFunction. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlUserDefinedFunctionDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlUserDefinedFunctionDelete.json */ async function cosmosDbSqlUserDefinedFunctionDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetClientEncryptionKeySample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetClientEncryptionKeySample.ts index 224ffa56617..09ab5079e1f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetClientEncryptionKeySample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetClientEncryptionKeySample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database. * * @summary Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlClientEncryptionKeyGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlClientEncryptionKeyGet.json */ async function cosmosDbClientEncryptionKeyGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subId"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlContainerSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlContainerSample.ts index 5bc9bd44709..93a083d8707 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlContainerSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlContainerSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the SQL container under an existing Azure Cosmos DB database account. * * @summary Gets the SQL container under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerGet.json */ async function cosmosDbSqlContainerGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlContainerThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlContainerThroughputSample.ts index b1739956fcc..7be5c830d48 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlContainerThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlContainerThroughputSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account. * * @summary Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerThroughputGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerThroughputGet.json */ async function cosmosDbSqlContainerThroughputGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlDatabaseSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlDatabaseSample.ts index 259b6828934..f345fd3eb36 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlDatabaseSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlDatabaseSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the SQL database under an existing Azure Cosmos DB database account with the provided name. * * @summary Gets the SQL 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/CosmosDBSqlDatabaseGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseGet.json */ async function cosmosDbSqlDatabaseGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlDatabaseThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlDatabaseThroughputSample.ts index b48aa0920ca..43986ac1d64 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlDatabaseThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlDatabaseThroughputSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the provided name. * * @summary Gets the RUs per second of the SQL 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/CosmosDBSqlDatabaseThroughputGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseThroughputGet.json */ async function cosmosDbSqlDatabaseThroughputGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlRoleAssignmentSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlRoleAssignmentSample.ts index 573033996d7..79f46c57894 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlRoleAssignmentSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlRoleAssignmentSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id. * * @summary Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleAssignmentGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleAssignmentGet.json */ async function cosmosDbSqlRoleAssignmentGet() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlRoleDefinitionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlRoleDefinitionSample.ts index ad9f8996b26..13d05c2e134 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlRoleDefinitionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlRoleDefinitionSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id. * * @summary Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleDefinitionGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleDefinitionGet.json */ async function cosmosDbSqlRoleDefinitionGet() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlStoredProcedureSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlStoredProcedureSample.ts index d913e6fb609..37ba6eccc10 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlStoredProcedureSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlStoredProcedureSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the SQL storedProcedure under an existing Azure Cosmos DB database account. * * @summary Gets the SQL storedProcedure under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlStoredProcedureGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlStoredProcedureGet.json */ async function cosmosDbSqlStoredProcedureGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlTriggerSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlTriggerSample.ts index bbd53cb14c2..ebb4fc931b7 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlTriggerSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlTriggerSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the SQL trigger under an existing Azure Cosmos DB database account. * * @summary Gets the SQL trigger under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlTriggerGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlTriggerGet.json */ async function cosmosDbSqlTriggerGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlUserDefinedFunctionSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlUserDefinedFunctionSample.ts index 2c3365ce532..c89279383ac 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlUserDefinedFunctionSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesGetSqlUserDefinedFunctionSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account. * * @summary Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlUserDefinedFunctionGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlUserDefinedFunctionGet.json */ async function cosmosDbSqlUserDefinedFunctionGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListClientEncryptionKeysSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListClientEncryptionKeysSample.ts index 3f0157eca44..24cd8331b16 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListClientEncryptionKeysSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListClientEncryptionKeysSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database. * * @summary Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlClientEncryptionKeysList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlClientEncryptionKeysList.json */ async function cosmosDbClientEncryptionKeysList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subId"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlContainersSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlContainersSample.ts index 09218124414..5cb96bbe297 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlContainersSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlContainersSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists the SQL container under an existing Azure Cosmos DB database account. * * @summary Lists the SQL container under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerList.json */ async function cosmosDbSqlContainerList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlDatabasesSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlDatabasesSample.ts index c4d982288c9..6926a1a9ac3 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlDatabasesSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlDatabasesSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists the SQL databases under an existing Azure Cosmos DB database account. * * @summary Lists the SQL 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/CosmosDBSqlDatabaseList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseList.json */ async function cosmosDbSqlDatabaseList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlRoleAssignmentsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlRoleAssignmentsSample.ts index 6c5d3512c5b..d12de3afaf4 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlRoleAssignmentsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlRoleAssignmentsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves the list of all Azure Cosmos DB SQL Role Assignments. * * @summary Retrieves the list of all Azure Cosmos DB SQL Role Assignments. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleAssignmentList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleAssignmentList.json */ async function cosmosDbSqlRoleAssignmentList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlRoleDefinitionsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlRoleDefinitionsSample.ts index 230cfcf9998..0d070fbf49c 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlRoleDefinitionsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlRoleDefinitionsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves the list of all Azure Cosmos DB SQL Role Definitions. * * @summary Retrieves the list of all Azure Cosmos DB SQL Role Definitions. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleDefinitionList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleDefinitionList.json */ async function cosmosDbSqlRoleDefinitionList() { const subscriptionId = diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlStoredProceduresSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlStoredProceduresSample.ts index 04404d58442..a1853c23070 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlStoredProceduresSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlStoredProceduresSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists the SQL storedProcedure under an existing Azure Cosmos DB database account. * * @summary Lists the SQL storedProcedure under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlStoredProcedureList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlStoredProcedureList.json */ async function cosmosDbSqlStoredProcedureList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlTriggersSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlTriggersSample.ts index 3f0f9b09a0c..a7dd1102423 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlTriggersSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlTriggersSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists the SQL trigger under an existing Azure Cosmos DB database account. * * @summary Lists the SQL trigger under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlTriggerList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlTriggerList.json */ async function cosmosDbSqlTriggerList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlUserDefinedFunctionsSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlUserDefinedFunctionsSample.ts index 5defa576b42..f1280d17c49 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlUserDefinedFunctionsSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesListSqlUserDefinedFunctionsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists the SQL userDefinedFunction under an existing Azure Cosmos DB database account. * * @summary Lists the SQL userDefinedFunction under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlUserDefinedFunctionList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlUserDefinedFunctionList.json */ async function cosmosDbSqlUserDefinedFunctionList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesMigrateSqlContainerToAutoscaleSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesMigrateSqlContainerToAutoscaleSample.ts index 2bf976c24b2..911b97e420a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesMigrateSqlContainerToAutoscaleSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesMigrateSqlContainerToAutoscaleSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Migrate an Azure Cosmos DB SQL container from manual throughput to autoscale * * @summary Migrate an Azure Cosmos DB SQL container from manual throughput to autoscale - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerMigrateToAutoscale.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerMigrateToAutoscale.json */ async function cosmosDbSqlContainerMigrateToAutoscale() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesMigrateSqlContainerToManualThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesMigrateSqlContainerToManualThroughputSample.ts index b07e2196d07..774f08539db 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesMigrateSqlContainerToManualThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesMigrateSqlContainerToManualThroughputSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput * * @summary Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerMigrateToManualThroughput.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerMigrateToManualThroughput.json */ async function cosmosDbSqlContainerMigrateToManualThroughput() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesMigrateSqlDatabaseToAutoscaleSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesMigrateSqlDatabaseToAutoscaleSample.ts index 4f04248cae8..ca8b2c33140 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesMigrateSqlDatabaseToAutoscaleSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesMigrateSqlDatabaseToAutoscaleSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Migrate an Azure Cosmos DB SQL database from manual throughput to autoscale * * @summary Migrate an Azure Cosmos DB SQL database from manual throughput to autoscale - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseMigrateToAutoscale.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseMigrateToAutoscale.json */ async function cosmosDbSqlDatabaseMigrateToAutoscale() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesMigrateSqlDatabaseToManualThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesMigrateSqlDatabaseToManualThroughputSample.ts index 0d4ba70bd65..1f00bf8274a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesMigrateSqlDatabaseToManualThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesMigrateSqlDatabaseToManualThroughputSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Migrate an Azure Cosmos DB SQL database from autoscale to manual throughput * * @summary Migrate an Azure Cosmos DB SQL database from autoscale to manual throughput - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseMigrateToManualThroughput.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseMigrateToManualThroughput.json */ async function cosmosDbSqlDatabaseMigrateToManualThroughput() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesRetrieveContinuousBackupInformationSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesRetrieveContinuousBackupInformationSample.ts index 8f487e46e87..c3bd5813dc3 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesRetrieveContinuousBackupInformationSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesRetrieveContinuousBackupInformationSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves continuous backup information for a container resource. * * @summary Retrieves continuous backup information for a container resource. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerBackupInformation.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerBackupInformation.json */ async function cosmosDbSqlContainerBackupInformation() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesUpdateSqlContainerThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesUpdateSqlContainerThroughputSample.ts index abd198a6fe8..5ac2f12bb95 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesUpdateSqlContainerThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesUpdateSqlContainerThroughputSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Update RUs per second of an Azure Cosmos DB SQL container * * @summary Update RUs per second of an Azure Cosmos DB SQL container - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerThroughputUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerThroughputUpdate.json */ async function cosmosDbSqlContainerThroughputUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesUpdateSqlDatabaseThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesUpdateSqlDatabaseThroughputSample.ts index 6ce7975eed1..9b31398b3ec 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesUpdateSqlDatabaseThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/sqlResourcesUpdateSqlDatabaseThroughputSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Update RUs per second of an Azure Cosmos DB SQL database * * @summary Update RUs per second of an Azure Cosmos DB SQL database - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseThroughputUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseThroughputUpdate.json */ async function cosmosDbSqlDatabaseThroughputUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesCreateUpdateTableSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesCreateUpdateTableSample.ts index 6aad8485083..a0ed1922237 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesCreateUpdateTableSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesCreateUpdateTableSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Create or update an Azure Cosmos DB Table * * @summary Create or update an Azure Cosmos DB Table - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableCreateUpdate.json */ async function cosmosDbTableReplace() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesDeleteTableSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesDeleteTableSample.ts index a6fb393a633..7af60070d2f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesDeleteTableSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesDeleteTableSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes an existing Azure Cosmos DB Table. * * @summary Deletes an existing Azure Cosmos DB Table. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableDelete.json */ async function cosmosDbTableDelete() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesGetTableSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesGetTableSample.ts index 283a8797791..be6e7e346c2 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesGetTableSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesGetTableSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the Tables under an existing Azure Cosmos DB database account with the provided name. * * @summary Gets the Tables 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/CosmosDBTableGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableGet.json */ async function cosmosDbTableGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesGetTableThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesGetTableThroughputSample.ts index 352d7d2519f..9c9ad3c9d17 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesGetTableThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesGetTableThroughputSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name. * * @summary Gets the RUs per second of the 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/CosmosDBTableThroughputGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableThroughputGet.json */ async function cosmosDbTableThroughputGet() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesListTablesSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesListTablesSample.ts index 756f8866627..a46baf61b1a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesListTablesSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesListTablesSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists the Tables under an existing Azure Cosmos DB database account. * * @summary Lists the Tables under an existing Azure Cosmos DB database account. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableList.json */ async function cosmosDbTableList() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesMigrateTableToAutoscaleSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesMigrateTableToAutoscaleSample.ts index 70d4240d6d9..972882ee93f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesMigrateTableToAutoscaleSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesMigrateTableToAutoscaleSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Migrate an Azure Cosmos DB Table from manual throughput to autoscale * * @summary Migrate an Azure Cosmos DB Table from manual throughput to autoscale - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableMigrateToAutoscale.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableMigrateToAutoscale.json */ async function cosmosDbTableMigrateToAutoscale() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesMigrateTableToManualThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesMigrateTableToManualThroughputSample.ts index ecb427ff75b..319d8fdf38c 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesMigrateTableToManualThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesMigrateTableToManualThroughputSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Migrate an Azure Cosmos DB Table from autoscale to manual throughput * * @summary Migrate an Azure Cosmos DB Table from autoscale to manual throughput - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableMigrateToManualThroughput.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableMigrateToManualThroughput.json */ async function cosmosDbTableMigrateToManualThroughput() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesRetrieveContinuousBackupInformationSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesRetrieveContinuousBackupInformationSample.ts index a66ed9066f6..7b5e6ac3622 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesRetrieveContinuousBackupInformationSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesRetrieveContinuousBackupInformationSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Retrieves continuous backup information for a table. * * @summary Retrieves continuous backup information for a table. - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableBackupInformation.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableBackupInformation.json */ async function cosmosDbTableCollectionBackupInformation() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesUpdateTableThroughputSample.ts b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesUpdateTableThroughputSample.ts index 3493914e259..e86ea694957 100644 --- a/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesUpdateTableThroughputSample.ts +++ b/sdk/cosmosdb/arm-cosmosdb/samples/v16/typescript/src/tableResourcesUpdateTableThroughputSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Update RUs per second of an Azure Cosmos DB Table * * @summary Update RUs per second of an Azure Cosmos DB Table - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableThroughputUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableThroughputUpdate.json */ async function cosmosDbTableThroughputUpdate() { const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid"; diff --git a/sdk/cosmosdb/arm-cosmosdb/src/cosmosDBManagementClient.ts b/sdk/cosmosdb/arm-cosmosdb/src/cosmosDBManagementClient.ts index 5c22645c8e4..aad44db44e4 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/cosmosDBManagementClient.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/cosmosDBManagementClient.ts @@ -126,7 +126,7 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient { credential: credentials, }; - const packageDetails = `azsdk-js-arm-cosmosdb/16.0.1`; + const packageDetails = `azsdk-js-arm-cosmosdb/16.1.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -180,7 +180,7 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient { // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; - this.apiVersion = options.apiVersion || "2024-05-15"; + this.apiVersion = options.apiVersion || "2024-08-15"; this.databaseAccounts = new DatabaseAccountsImpl(this); this.operations = new OperationsImpl(this); this.database = new DatabaseImpl(this); diff --git a/sdk/cosmosdb/arm-cosmosdb/src/models/index.ts b/sdk/cosmosdb/arm-cosmosdb/src/models/index.ts index c8de29f49c1..679ba1f5cff 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/models/index.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/models/index.ts @@ -167,7 +167,7 @@ export interface Resource { } export interface ApiProperties { - /** Describes the ServerVersion of an a MongoDB account. */ + /** Describes the version of the MongoDB account. */ serverVersion?: ServerVersion; } @@ -199,6 +199,8 @@ export interface RestoreParametersBase { restoreSource?: string; /** Time to which the account has to be restored (ISO-8601 format). */ restoreTimestampInUtc?: Date; + /** Specifies whether the restored account will have Time-To-Live disabled upon the successful restore. */ + restoreWithTtlDisabled?: boolean; } /** The object representing the policy for taking backups on an account. */ @@ -376,7 +378,7 @@ export interface DatabaseAccountUpdateParameters { enablePartitionMerge?: boolean; /** Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2. */ minimalTlsVersion?: MinimalTlsVersion; - /** Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account */ + /** Flag to indicate enabling/disabling of Burst Capacity feature on the account */ enableBurstCapacity?: boolean; /** Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. */ customerManagedKeyStatus?: string; @@ -447,12 +449,53 @@ export interface RegionForOnlineOffline { region: string; } -/** Error Response. */ +/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */ export interface ErrorResponse { - /** Error code. */ - code?: string; - /** Error message indicating why the operation failed. */ - message?: string; + /** The error object. */ + error?: ErrorDetail; +} + +/** The error detail. */ +export interface ErrorDetail { + /** + * The error code. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly code?: string; + /** + * The error message. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly message?: string; + /** + * The error target. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly target?: string; + /** + * The error details. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly details?: ErrorDetail[]; + /** + * The error additional info. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly additionalInfo?: ErrorAdditionalInfo[]; +} + +/** The resource management error additional info. */ +export interface ErrorAdditionalInfo { + /** + * The additional info type. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly type?: string; + /** + * The additional info. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly info?: Record; } /** Parameters to regenerate the keys within the database account. */ @@ -845,12 +888,6 @@ export interface ThroughputPolicyResource { incrementPercent?: number; } -/** An error response from the service. */ -export interface CloudError { - /** Error Response. */ - error?: ErrorResponse; -} - /** The List operation response, that contains the containers and their properties. */ export interface SqlContainerListResult { /** @@ -2766,7 +2803,7 @@ export interface DatabaseAccountGetResults extends ARMResourceProperties { enablePartitionMerge?: boolean; /** Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2. */ minimalTlsVersion?: MinimalTlsVersion; - /** Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account */ + /** Flag to indicate enabling/disabling of Burst Capacity feature on the account */ enableBurstCapacity?: boolean; /** Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. */ customerManagedKeyStatus?: string; @@ -2842,7 +2879,7 @@ export interface DatabaseAccountCreateUpdateParameters enablePartitionMerge?: boolean; /** Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2. */ minimalTlsVersion?: MinimalTlsVersion; - /** Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account */ + /** Flag to indicate enabling/disabling of Burst Capacity feature on the account */ enableBurstCapacity?: boolean; /** Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. */ customerManagedKeyStatus?: string; @@ -4017,6 +4054,8 @@ export enum KnownServerVersion { Five0 = "5.0", /** Six0 */ Six0 = "6.0", + /** Seven0 */ + Seven0 = "7.0", } /** @@ -4029,7 +4068,8 @@ export enum KnownServerVersion { * **4.0** \ * **4.2** \ * **5.0** \ - * **6.0** + * **6.0** \ + * **7.0** */ export type ServerVersion = string; diff --git a/sdk/cosmosdb/arm-cosmosdb/src/models/mappers.ts b/sdk/cosmosdb/arm-cosmosdb/src/models/mappers.ts index 3e0a2416970..f72576c7c85 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/models/mappers.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/models/mappers.ts @@ -430,6 +430,12 @@ export const RestoreParametersBase: coreClient.CompositeMapper = { name: "DateTime", }, }, + restoreWithTtlDisabled: { + serializedName: "restoreWithTtlDisabled", + type: { + name: "Boolean", + }, + }, }, }, }; @@ -1084,19 +1090,94 @@ export const ErrorResponse: coreClient.CompositeMapper = { type: { name: "Composite", className: "ErrorResponse", + modelProperties: { + error: { + serializedName: "error", + type: { + name: "Composite", + className: "ErrorDetail", + }, + }, + }, + }, +}; + +export const ErrorDetail: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ErrorDetail", modelProperties: { code: { serializedName: "code", + readOnly: true, type: { name: "String", }, }, message: { serializedName: "message", + readOnly: true, type: { name: "String", }, }, + target: { + serializedName: "target", + readOnly: true, + type: { + name: "String", + }, + }, + details: { + serializedName: "details", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorDetail", + }, + }, + }, + }, + additionalInfo: { + serializedName: "additionalInfo", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorAdditionalInfo", + }, + }, + }, + }, + }, + }, +}; + +export const ErrorAdditionalInfo: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ErrorAdditionalInfo", + modelProperties: { + type: { + serializedName: "type", + readOnly: true, + type: { + name: "String", + }, + }, + info: { + serializedName: "info", + readOnly: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, }, }, }; @@ -1895,22 +1976,6 @@ export const ThroughputPolicyResource: coreClient.CompositeMapper = { }, }; -export const CloudError: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CloudError", - modelProperties: { - error: { - serializedName: "error", - type: { - name: "Composite", - className: "ErrorResponse", - }, - }, - }, - }, -}; - export const SqlContainerListResult: coreClient.CompositeMapper = { type: { name: "Composite", diff --git a/sdk/cosmosdb/arm-cosmosdb/src/models/parameters.ts b/sdk/cosmosdb/arm-cosmosdb/src/models/parameters.ts index d554d121614..847caefc23c 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/models/parameters.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/models/parameters.ts @@ -116,7 +116,7 @@ export const accountName: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2024-05-15", + defaultValue: "2024-08-15", isConstant: true, serializedName: "api-version", type: { diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/cassandraClusters.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/cassandraClusters.ts index 8c1a9d2f634..4b3062258ec 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/operations/cassandraClusters.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/cassandraClusters.ts @@ -754,7 +754,7 @@ const listBySubscriptionOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ListClusters, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -770,7 +770,7 @@ const listByResourceGroupOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ListClusters, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -790,7 +790,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ClusterResource, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -812,7 +812,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -842,7 +842,7 @@ const createUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ClusterResource, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, requestBody: Parameters.body, @@ -874,7 +874,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ClusterResource, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, requestBody: Parameters.body, @@ -906,7 +906,7 @@ const invokeCommandOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CommandOutput, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, requestBody: Parameters.body1, @@ -930,7 +930,7 @@ const deallocateOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -952,7 +952,7 @@ const startOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -973,7 +973,7 @@ const statusOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CassandraClusterPublicStatus, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/cassandraDataCenters.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/cassandraDataCenters.ts index 21e99757e61..a0dd87df8fe 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/operations/cassandraDataCenters.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/cassandraDataCenters.ts @@ -435,7 +435,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ListDataCenters, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -456,7 +456,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DataCenterResource, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -479,7 +479,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -510,7 +510,7 @@ const createUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DataCenterResource, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, requestBody: Parameters.body2, @@ -543,7 +543,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DataCenterResource, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, requestBody: Parameters.body2, diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/cassandraResources.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/cassandraResources.ts index 9e345d37fa4..c3cb5c29a45 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/operations/cassandraResources.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/cassandraResources.ts @@ -1532,7 +1532,7 @@ const migrateCassandraKeyspaceToAutoscaleOperationSpec: coreClient.OperationSpec bodyMapper: Mappers.ThroughputSettingsGetResults, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -1564,7 +1564,7 @@ const migrateCassandraKeyspaceToManualThroughputOperationSpec: coreClient.Operat bodyMapper: Mappers.ThroughputSettingsGetResults, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -1745,7 +1745,7 @@ const migrateCassandraTableToAutoscaleOperationSpec: coreClient.OperationSpec = bodyMapper: Mappers.ThroughputSettingsGetResults, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -1778,7 +1778,7 @@ const migrateCassandraTableToManualThroughputOperationSpec: coreClient.Operation bodyMapper: Mappers.ThroughputSettingsGetResults, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/gremlinResources.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/gremlinResources.ts index 370b59a302a..9b77aec8a3c 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/operations/gremlinResources.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/gremlinResources.ts @@ -1644,7 +1644,7 @@ const migrateGremlinDatabaseToAutoscaleOperationSpec: coreClient.OperationSpec = bodyMapper: Mappers.ThroughputSettingsGetResults, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -1676,7 +1676,7 @@ const migrateGremlinDatabaseToManualThroughputOperationSpec: coreClient.Operatio bodyMapper: Mappers.ThroughputSettingsGetResults, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -1856,7 +1856,7 @@ const migrateGremlinGraphToAutoscaleOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ThroughputSettingsGetResults, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -1889,7 +1889,7 @@ const migrateGremlinGraphToManualThroughputOperationSpec: coreClient.OperationSp bodyMapper: Mappers.ThroughputSettingsGetResults, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -1922,7 +1922,7 @@ const retrieveContinuousBackupInformationOperationSpec: coreClient.OperationSpec bodyMapper: Mappers.BackupInformation, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, requestBody: Parameters.location, diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/locations.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/locations.ts index 3fe1e43a9af..8862acdaa75 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/operations/locations.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/locations.ts @@ -110,7 +110,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.LocationListResult, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -126,7 +126,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.LocationGetResult, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/mongoDBResources.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/mongoDBResources.ts index baf8e594bc5..c300057bce9 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/operations/mongoDBResources.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/mongoDBResources.ts @@ -2223,7 +2223,7 @@ const updateMongoDBDatabaseThroughputOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ThroughputSettingsGetResults, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, requestBody: Parameters.updateThroughputParameters, @@ -2257,7 +2257,7 @@ const migrateMongoDBDatabaseToAutoscaleOperationSpec: coreClient.OperationSpec = bodyMapper: Mappers.ThroughputSettingsGetResults, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -2289,7 +2289,7 @@ const migrateMongoDBDatabaseToManualThroughputOperationSpec: coreClient.Operatio bodyMapper: Mappers.ThroughputSettingsGetResults, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -2471,7 +2471,7 @@ const migrateMongoDBCollectionToAutoscaleOperationSpec: coreClient.OperationSpec bodyMapper: Mappers.ThroughputSettingsGetResults, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -2504,7 +2504,7 @@ const migrateMongoDBCollectionToManualThroughputOperationSpec: coreClient.Operat bodyMapper: Mappers.ThroughputSettingsGetResults, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -2527,7 +2527,7 @@ const getMongoRoleDefinitionOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.MongoRoleDefinitionGetResults, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -2558,7 +2558,7 @@ const createUpdateMongoRoleDefinitionOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.MongoRoleDefinitionGetResults, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, requestBody: Parameters.createUpdateMongoRoleDefinitionParameters, @@ -2583,7 +2583,7 @@ const deleteMongoRoleDefinitionOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -2605,7 +2605,7 @@ const listMongoRoleDefinitionsOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.MongoRoleDefinitionListResult, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -2626,7 +2626,7 @@ const getMongoUserDefinitionOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.MongoUserDefinitionGetResults, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -2657,7 +2657,7 @@ const createUpdateMongoUserDefinitionOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.MongoUserDefinitionGetResults, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, requestBody: Parameters.createUpdateMongoUserDefinitionParameters, @@ -2682,7 +2682,7 @@ const deleteMongoUserDefinitionOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -2704,7 +2704,7 @@ const listMongoUserDefinitionsOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.MongoUserDefinitionListResult, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -2735,7 +2735,7 @@ const retrieveContinuousBackupInformationOperationSpec: coreClient.OperationSpec bodyMapper: Mappers.BackupInformation, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, requestBody: Parameters.location, diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableDatabaseAccounts.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableDatabaseAccounts.ts index 1746715f607..242010d6309 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableDatabaseAccounts.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableDatabaseAccounts.ts @@ -183,7 +183,7 @@ const listByLocationOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.RestorableDatabaseAccountsListResult, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -203,7 +203,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.RestorableDatabaseAccountsListResult, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -219,7 +219,7 @@ const getByLocationOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.RestorableDatabaseAccountGetResult, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableGremlinDatabases.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableGremlinDatabases.ts index ddb3291140d..c024a18ae97 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableGremlinDatabases.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableGremlinDatabases.ts @@ -120,7 +120,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.RestorableGremlinDatabasesListResult, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableGremlinGraphs.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableGremlinGraphs.ts index 2913f20e802..4117ada1d84 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableGremlinGraphs.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableGremlinGraphs.ts @@ -116,7 +116,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.RestorableGremlinGraphsListResult, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [ diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableGremlinResources.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableGremlinResources.ts index 70d160b4779..1ba63556b39 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableGremlinResources.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableGremlinResources.ts @@ -120,7 +120,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.RestorableGremlinResourcesListResult, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [ diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableMongodbCollections.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableMongodbCollections.ts index 57e7a39999a..6ceb9521c6b 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableMongodbCollections.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableMongodbCollections.ts @@ -118,7 +118,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.RestorableMongodbCollectionsListResult, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [ diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableMongodbDatabases.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableMongodbDatabases.ts index ab0f7b59508..5a5f8334c7f 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableMongodbDatabases.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableMongodbDatabases.ts @@ -120,7 +120,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.RestorableMongodbDatabasesListResult, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableMongodbResources.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableMongodbResources.ts index d78b566b309..074e5fbaa01 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableMongodbResources.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableMongodbResources.ts @@ -118,7 +118,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.RestorableMongodbResourcesListResult, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [ diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableSqlContainers.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableSqlContainers.ts index a1b966a55b1..170c9ab3514 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableSqlContainers.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableSqlContainers.ts @@ -116,7 +116,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.RestorableSqlContainersListResult, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [ diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableSqlDatabases.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableSqlDatabases.ts index 9aae8f8bc8a..950816ebbc6 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableSqlDatabases.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableSqlDatabases.ts @@ -118,7 +118,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.RestorableSqlDatabasesListResult, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableSqlResources.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableSqlResources.ts index bab7a8f242d..bd7e4bd02ba 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableSqlResources.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableSqlResources.ts @@ -116,7 +116,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.RestorableSqlResourcesListResult, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [ diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableTableResources.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableTableResources.ts index ed23df37e43..665da79b4ef 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableTableResources.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableTableResources.ts @@ -116,7 +116,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.RestorableTableResourcesListResult, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [ diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableTables.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableTables.ts index 6e9068e4fe1..f1091686d3a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableTables.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableTables.ts @@ -116,7 +116,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.RestorableTablesListResult, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [ diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/service.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/service.ts index 54d7a2bc570..33db45e5a8a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/operations/service.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/service.ts @@ -339,7 +339,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ServiceResourceListResult, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -369,7 +369,7 @@ const createOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ServiceResource, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, requestBody: Parameters.createUpdateParameters1, @@ -393,7 +393,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ServiceResource, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -416,7 +416,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/sqlResources.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/sqlResources.ts index 3970e6c5237..014f07fa158 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/operations/sqlResources.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/sqlResources.ts @@ -3607,7 +3607,7 @@ const migrateSqlDatabaseToAutoscaleOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ThroughputSettingsGetResults, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -3639,7 +3639,7 @@ const migrateSqlDatabaseToManualThroughputOperationSpec: coreClient.OperationSpe bodyMapper: Mappers.ThroughputSettingsGetResults, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -3819,7 +3819,7 @@ const migrateSqlContainerToAutoscaleOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ThroughputSettingsGetResults, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -3852,7 +3852,7 @@ const migrateSqlContainerToManualThroughputOperationSpec: coreClient.OperationSp bodyMapper: Mappers.ThroughputSettingsGetResults, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -3945,7 +3945,7 @@ const listSqlStoredProceduresOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.SqlStoredProcedureListResult, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -4255,7 +4255,7 @@ const getSqlRoleDefinitionOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.SqlRoleDefinitionGetResults, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -4286,7 +4286,7 @@ const createUpdateSqlRoleDefinitionOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.SqlRoleDefinitionGetResults, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, requestBody: Parameters.createUpdateSqlRoleDefinitionParameters, @@ -4311,7 +4311,7 @@ const deleteSqlRoleDefinitionOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -4333,7 +4333,7 @@ const listSqlRoleDefinitionsOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.SqlRoleDefinitionListResult, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -4354,7 +4354,7 @@ const getSqlRoleAssignmentOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.SqlRoleAssignmentGetResults, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -4385,7 +4385,7 @@ const createUpdateSqlRoleAssignmentOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.SqlRoleAssignmentGetResults, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, requestBody: Parameters.createUpdateSqlRoleAssignmentParameters, @@ -4410,7 +4410,7 @@ const deleteSqlRoleAssignmentOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -4432,7 +4432,7 @@ const listSqlRoleAssignmentsOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.SqlRoleAssignmentListResult, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -4463,7 +4463,7 @@ const retrieveContinuousBackupInformationOperationSpec: coreClient.OperationSpec bodyMapper: Mappers.BackupInformation, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, requestBody: Parameters.location, diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/tableResources.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/tableResources.ts index 2433f2bae4e..5b17b76a2f6 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/operations/tableResources.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/tableResources.ts @@ -931,7 +931,7 @@ const migrateTableToAutoscaleOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ThroughputSettingsGetResults, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -962,7 +962,7 @@ const migrateTableToManualThroughputOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ThroughputSettingsGetResults, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, queryParameters: [Parameters.apiVersion], @@ -994,7 +994,7 @@ const retrieveContinuousBackupInformationOperationSpec: coreClient.OperationSpec bodyMapper: Mappers.BackupInformation, }, default: { - bodyMapper: Mappers.CloudError, + bodyMapper: Mappers.ErrorResponse, }, }, requestBody: Parameters.location, diff --git a/sdk/cosmosdb/arm-cosmosdb/test/cosmosdb_cassandra_examples.ts b/sdk/cosmosdb/arm-cosmosdb/test/cosmosdb_cassandra_examples.ts index bbe3245a12b..62504aaf190 100644 --- a/sdk/cosmosdb/arm-cosmosdb/test/cosmosdb_cassandra_examples.ts +++ b/sdk/cosmosdb/arm-cosmosdb/test/cosmosdb_cassandra_examples.ts @@ -53,7 +53,7 @@ describe("Cosmosdb test", () => { const credential = createTestCredential(); client = new CosmosDBManagementClient(credential, subscriptionId, recorder.configureClientOptions({})); location = "eastasia"; - resourceGroupName = "czwjstest"; + resourceGroupName = "myjstest"; accountName = "myaccountxxyz1"; keyspaceName = "mykeyspacexxx"; }); diff --git a/sdk/cosmosdb/arm-cosmosdb/test/cosmosdb_examples.ts b/sdk/cosmosdb/arm-cosmosdb/test/cosmosdb_examples.ts index e5efd06a48f..5e9dc490d28 100644 --- a/sdk/cosmosdb/arm-cosmosdb/test/cosmosdb_examples.ts +++ b/sdk/cosmosdb/arm-cosmosdb/test/cosmosdb_examples.ts @@ -53,7 +53,7 @@ describe("Cosmosdb test", () => { const credential = createTestCredential(); client = new CosmosDBManagementClient(credential, subscriptionId, recorder.configureClientOptions({})); location = "eastasia"; - resourceGroupName = "czwjstest"; + resourceGroupName = "myjstest"; accountName = "myaccountxxyz2"; }); diff --git a/sdk/cosmosdb/arm-cosmosdb/test/cosmosdb_mongodb_examples.ts b/sdk/cosmosdb/arm-cosmosdb/test/cosmosdb_mongodb_examples.ts index 3ed5357f075..cb0063827c8 100644 --- a/sdk/cosmosdb/arm-cosmosdb/test/cosmosdb_mongodb_examples.ts +++ b/sdk/cosmosdb/arm-cosmosdb/test/cosmosdb_mongodb_examples.ts @@ -52,7 +52,7 @@ describe("Cosmosdb test", () => { const credential = createTestCredential(); client = new CosmosDBManagementClient(credential, subscriptionId, recorder.configureClientOptions({})); location = "eastasia"; - resourceGroupName = "czwjstest"; + resourceGroupName = "myjstest"; accountName = "myaccountxxyz3"; databaseName = "mydatabasexxxx"; });