@azure/arm-cosmosdb 16.1.1-alpha.20241028.1 → 16.2.0-alpha.20241218.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +354 -6
- package/README.md +4 -5
- package/dist/index.js +149 -3
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/cassandraClustersCreateUpdateSample.js +3 -2
- package/dist-esm/samples-dev/cassandraClustersCreateUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/cassandraClustersDeallocateSample.js +3 -2
- package/dist-esm/samples-dev/cassandraClustersDeallocateSample.js.map +1 -1
- package/dist-esm/samples-dev/cassandraClustersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/cassandraClustersGetSample.js +1 -1
- package/dist-esm/samples-dev/cassandraClustersInvokeCommandSample.js +3 -2
- package/dist-esm/samples-dev/cassandraClustersInvokeCommandSample.js.map +1 -1
- package/dist-esm/samples-dev/cassandraClustersListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/cassandraClustersListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/cassandraClustersStartSample.js +3 -2
- package/dist-esm/samples-dev/cassandraClustersStartSample.js.map +1 -1
- package/dist-esm/samples-dev/cassandraClustersStatusSample.js +3 -2
- package/dist-esm/samples-dev/cassandraClustersStatusSample.js.map +1 -1
- package/dist-esm/samples-dev/cassandraClustersUpdateSample.js +1 -1
- package/dist-esm/samples-dev/cassandraDataCentersCreateUpdateSample.js +1 -1
- package/dist-esm/samples-dev/cassandraDataCentersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/cassandraDataCentersGetSample.js +1 -1
- package/dist-esm/samples-dev/cassandraDataCentersListSample.js +1 -1
- package/dist-esm/samples-dev/cassandraDataCentersUpdateSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesCreateUpdateCassandraKeyspaceSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesCreateUpdateCassandraTableSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesDeleteCassandraKeyspaceSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesDeleteCassandraTableSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesGetCassandraKeyspaceSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesGetCassandraKeyspaceThroughputSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesGetCassandraTableSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesGetCassandraTableThroughputSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesListCassandraKeyspacesSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesListCassandraTablesSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesMigrateCassandraKeyspaceToAutoscaleSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesMigrateCassandraKeyspaceToManualThroughputSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesMigrateCassandraTableToAutoscaleSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesMigrateCassandraTableToManualThroughputSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesUpdateCassandraKeyspaceThroughputSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesUpdateCassandraTableThroughputSample.js +1 -1
- package/dist-esm/samples-dev/collectionListMetricDefinitionsSample.js +1 -1
- package/dist-esm/samples-dev/collectionListMetricsSample.js +1 -1
- package/dist-esm/samples-dev/collectionListUsagesSample.js +1 -1
- package/dist-esm/samples-dev/collectionPartitionListMetricsSample.js +1 -1
- package/dist-esm/samples-dev/collectionPartitionListUsagesSample.js +1 -1
- package/dist-esm/samples-dev/collectionPartitionRegionListMetricsSample.js +1 -1
- package/dist-esm/samples-dev/collectionRegionListMetricsSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountRegionListMetricsSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsCheckNameExistsSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsCreateOrUpdateSample.js +4 -3
- package/dist-esm/samples-dev/databaseAccountsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/databaseAccountsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsFailoverPriorityChangeSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsGetReadOnlyKeysSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsGetSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsListConnectionStringsSample.js +2 -2
- package/dist-esm/samples-dev/databaseAccountsListKeysSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsListMetricDefinitionsSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsListMetricsSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsListReadOnlyKeysSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsListSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsListUsagesSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsOfflineRegionSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsOnlineRegionSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsRegenerateKeySample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsUpdateSample.js +2 -1
- package/dist-esm/samples-dev/databaseAccountsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/databaseListMetricDefinitionsSample.js +1 -1
- package/dist-esm/samples-dev/databaseListMetricsSample.js +1 -1
- package/dist-esm/samples-dev/databaseListUsagesSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesCreateUpdateGremlinDatabaseSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesCreateUpdateGremlinGraphSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesDeleteGremlinDatabaseSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesDeleteGremlinGraphSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesGetGremlinDatabaseSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesGetGremlinDatabaseThroughputSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesGetGremlinGraphSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesGetGremlinGraphThroughputSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesListGremlinDatabasesSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesListGremlinGraphsSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesMigrateGremlinDatabaseToAutoscaleSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesMigrateGremlinDatabaseToManualThroughputSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesMigrateGremlinGraphToAutoscaleSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesMigrateGremlinGraphToManualThroughputSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesRetrieveContinuousBackupInformationSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesUpdateGremlinDatabaseThroughputSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesUpdateGremlinGraphThroughputSample.js +1 -1
- package/dist-esm/samples-dev/locationsGetSample.js +1 -1
- package/dist-esm/samples-dev/locationsListSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesCreateUpdateMongoDbcollectionSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesCreateUpdateMongoDbdatabaseSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesCreateUpdateMongoRoleDefinitionSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesCreateUpdateMongoUserDefinitionSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesDeleteMongoDbcollectionSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesDeleteMongoDbdatabaseSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesDeleteMongoRoleDefinitionSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesDeleteMongoUserDefinitionSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesGetMongoDbcollectionSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesGetMongoDbcollectionThroughputSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesGetMongoDbdatabaseSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesGetMongoDbdatabaseThroughputSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesGetMongoRoleDefinitionSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesGetMongoUserDefinitionSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesListMongoDbcollectionsSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesListMongoDbdatabasesSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesListMongoRoleDefinitionsSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesListMongoUserDefinitionsSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesMigrateMongoDbcollectionToAutoscaleSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesMigrateMongoDbcollectionToManualThroughputSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesMigrateMongoDbdatabaseToAutoscaleSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesMigrateMongoDbdatabaseToManualThroughputSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesRetrieveContinuousBackupInformationSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesUpdateMongoDbcollectionThroughputSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesUpdateMongoDbdatabaseThroughputSample.js +1 -1
- package/dist-esm/samples-dev/notebookWorkspacesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/notebookWorkspacesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/notebookWorkspacesGetSample.js +1 -1
- package/dist-esm/samples-dev/notebookWorkspacesListByDatabaseAccountSample.js +1 -1
- package/dist-esm/samples-dev/notebookWorkspacesListConnectionInfoSample.js +1 -1
- package/dist-esm/samples-dev/notebookWorkspacesRegenerateAuthTokenSample.js +1 -1
- package/dist-esm/samples-dev/notebookWorkspacesStartSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/partitionKeyRangeIdListMetricsSample.js +1 -1
- package/dist-esm/samples-dev/partitionKeyRangeIdRegionListMetricsSample.js +1 -1
- package/dist-esm/samples-dev/percentileListMetricsSample.js +1 -1
- package/dist-esm/samples-dev/percentileSourceTargetListMetricsSample.js +1 -1
- package/dist-esm/samples-dev/percentileTargetListMetricsSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByDatabaseAccountSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByDatabaseAccountSample.js +1 -1
- package/dist-esm/samples-dev/restorableDatabaseAccountsGetByLocationSample.js +1 -1
- package/dist-esm/samples-dev/restorableDatabaseAccountsListByLocationSample.js +1 -1
- package/dist-esm/samples-dev/restorableDatabaseAccountsListSample.js +1 -1
- package/dist-esm/samples-dev/restorableGremlinDatabasesListSample.js +1 -1
- package/dist-esm/samples-dev/restorableGremlinGraphsListSample.js +1 -1
- package/dist-esm/samples-dev/restorableGremlinResourcesListSample.js +1 -1
- package/dist-esm/samples-dev/restorableMongodbCollectionsListSample.js +1 -1
- package/dist-esm/samples-dev/restorableMongodbDatabasesListSample.js +1 -1
- package/dist-esm/samples-dev/restorableMongodbResourcesListSample.js +1 -1
- package/dist-esm/samples-dev/restorableSqlContainersListSample.js +1 -1
- package/dist-esm/samples-dev/restorableSqlDatabasesListSample.js +1 -1
- package/dist-esm/samples-dev/restorableSqlResourcesListSample.js +1 -1
- package/dist-esm/samples-dev/restorableTableResourcesListSample.js +1 -1
- package/dist-esm/samples-dev/restorableTablesListSample.js +1 -1
- package/dist-esm/samples-dev/serviceCreateSample.js +4 -4
- package/dist-esm/samples-dev/serviceDeleteSample.js +4 -4
- package/dist-esm/samples-dev/serviceGetSample.js +4 -4
- package/dist-esm/samples-dev/serviceListSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesCreateUpdateClientEncryptionKeySample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlContainerSample.js +28 -1
- package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlContainerSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlDatabaseSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlRoleAssignmentSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlRoleDefinitionSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlStoredProcedureSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlTriggerSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlUserDefinedFunctionSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesDeleteSqlContainerSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesDeleteSqlDatabaseSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesDeleteSqlRoleAssignmentSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesDeleteSqlRoleDefinitionSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesDeleteSqlStoredProcedureSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesDeleteSqlTriggerSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesDeleteSqlUserDefinedFunctionSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesGetClientEncryptionKeySample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesGetSqlContainerSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesGetSqlContainerThroughputSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesGetSqlDatabaseSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesGetSqlDatabaseThroughputSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesGetSqlRoleAssignmentSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesGetSqlRoleDefinitionSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesGetSqlStoredProcedureSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesGetSqlTriggerSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesGetSqlUserDefinedFunctionSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesListClientEncryptionKeysSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesListSqlContainersSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesListSqlDatabasesSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesListSqlRoleAssignmentsSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesListSqlRoleDefinitionsSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesListSqlStoredProceduresSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesListSqlTriggersSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesListSqlUserDefinedFunctionsSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesMigrateSqlContainerToAutoscaleSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesMigrateSqlContainerToManualThroughputSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesMigrateSqlDatabaseToAutoscaleSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesMigrateSqlDatabaseToManualThroughputSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesRetrieveContinuousBackupInformationSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesUpdateSqlContainerThroughputSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesUpdateSqlDatabaseThroughputSample.js +1 -1
- package/dist-esm/samples-dev/tableResourcesCreateUpdateTableSample.js +1 -1
- package/dist-esm/samples-dev/tableResourcesDeleteTableSample.js +1 -1
- package/dist-esm/samples-dev/tableResourcesGetTableSample.js +1 -1
- package/dist-esm/samples-dev/tableResourcesGetTableThroughputSample.js +1 -1
- package/dist-esm/samples-dev/tableResourcesListTablesSample.js +1 -1
- package/dist-esm/samples-dev/tableResourcesMigrateTableToAutoscaleSample.js +1 -1
- package/dist-esm/samples-dev/tableResourcesMigrateTableToManualThroughputSample.js +1 -1
- package/dist-esm/samples-dev/tableResourcesRetrieveContinuousBackupInformationSample.js +1 -1
- package/dist-esm/samples-dev/tableResourcesUpdateTableThroughputSample.js +1 -1
- package/dist-esm/src/cosmosDBManagementClient.js +2 -2
- package/dist-esm/src/models/index.d.ts +89 -0
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +30 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +3 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +113 -0
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/test/cosmosdb_cassandra_examples.js +1 -1
- package/dist-esm/test/cosmosdb_cassandra_examples.js.map +1 -1
- package/package.json +26 -28
- package/review/arm-cosmosdb.api.md +54 -0
- package/src/cosmosDBManagementClient.ts +2 -2
- package/src/models/index.ts +98 -0
- package/src/models/mappers.ts +118 -0
- package/src/models/parameters.ts +1 -1
- package/tsconfig.json +2 -2
- package/types/arm-cosmosdb.d.ts +98 -0
- package/types/tsdoc-metadata.json +1 -1
|
@@ -16,11 +16,12 @@ dotenv.config();
|
|
|
16
16
|
* 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.
|
|
17
17
|
*
|
|
18
18
|
* @summary Create or update a managed Cassandra cluster. When updating, you must specify all writable properties. To update only some properties, use PATCH.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBManagedCassandraClusterCreate.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbManagedCassandraClusterCreate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] ||
|
|
23
|
+
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] ||
|
|
24
|
+
"ffffffff-ffff-ffff-ffff-ffffffffffff";
|
|
24
25
|
const resourceGroupName = process.env["COSMOSDB_RESOURCE_GROUP"] || "cassandra-prod-rg";
|
|
25
26
|
const clusterName = "cassandra-prod";
|
|
26
27
|
const body = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cassandraClustersCreateUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/cassandraClustersCreateUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAmB,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,qCAAqC;;QAClD,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"cassandraClustersCreateUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/cassandraClustersCreateUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,O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,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,qCAAqC,EAAE,CAAC;IAC1C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,11 +16,12 @@ dotenv.config();
|
|
|
16
16
|
* 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.
|
|
17
17
|
*
|
|
18
18
|
* @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.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBManagedCassandraClusterDeallocate.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbManagedCassandraClusterDeallocate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] ||
|
|
23
|
+
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] ||
|
|
24
|
+
"ffffffff-ffff-ffff-ffff-ffffffffffff";
|
|
24
25
|
const resourceGroupName = process.env["COSMOSDB_RESOURCE_GROUP"] || "cassandra-prod-rg";
|
|
25
26
|
const clusterName = "cassandra-prod";
|
|
26
27
|
const credential = new DefaultAzureCredential();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cassandraClustersDeallocateSample.js","sourceRoot":"","sources":["../../samples-dev/cassandraClustersDeallocateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,yCAAyC;;QACtD,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"cassandraClustersDeallocateSample.js","sourceRoot":"","sources":["../../samples-dev/cassandraClustersDeallocateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,yCAAyC;;QACtD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC;YACvC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAI,mBAAmB,CAAC;QAChE,MAAM,WAAW,GAAG,gBAAgB,CAAC;QACrC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,wBAAwB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACxE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,iBAAiB,CAAC,sBAAsB,CAClE,iBAAiB,EACjB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,yCAAyC,EAAE,CAAC;IAC9C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Deletes a managed Cassandra cluster.
|
|
17
17
|
*
|
|
18
18
|
* @summary Deletes a managed Cassandra cluster.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBManagedCassandraClusterDelete.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbManagedCassandraClusterDelete() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get the properties of a managed Cassandra cluster.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get the properties of a managed Cassandra cluster.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBManagedCassandraClusterGet.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbManagedCassandraClusterGet() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,11 +16,12 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Invoke a command like nodetool for cassandra maintenance
|
|
17
17
|
*
|
|
18
18
|
* @summary Invoke a command like nodetool for cassandra maintenance
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBManagedCassandraCommand.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbManagedCassandraCommand() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] ||
|
|
23
|
+
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] ||
|
|
24
|
+
"ffffffff-ffff-ffff-ffff-ffffffffffff";
|
|
24
25
|
const resourceGroupName = process.env["COSMOSDB_RESOURCE_GROUP"] || "cassandra-prod-rg";
|
|
25
26
|
const clusterName = "cassandra-prod";
|
|
26
27
|
const body = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cassandraClustersInvokeCommandSample.js","sourceRoot":"","sources":["../../samples-dev/cassandraClustersInvokeCommandSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAmB,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,+BAA+B;;QAC5C,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"cassandraClustersInvokeCommandSample.js","sourceRoot":"","sources":["../../samples-dev/cassandraClustersInvokeCommandSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAmB,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,+BAA+B;;QAC5C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC;YACvC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAI,mBAAmB,CAAC;QAChE,MAAM,WAAW,GAAG,gBAAgB,CAAC;QACrC,MAAM,IAAI,GAAoB;YAC5B,OAAO,EAAE,iBAAiB;YAC1B,IAAI,EAAE,WAAW;SAClB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,wBAAwB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACxE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,iBAAiB,CAAC,yBAAyB,CACrE,iBAAiB,EACjB,WAAW,EACX,IAAI,CACL,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,+BAA+B,EAAE,CAAC;IACpC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List all managed Cassandra clusters in this resource group.
|
|
17
17
|
*
|
|
18
18
|
* @summary List all managed Cassandra clusters in this resource group.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBManagedCassandraClusterListByResourceGroup.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbManagedCassandraClusterListByResourceGroup() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List all managed Cassandra clusters in this subscription.
|
|
17
17
|
*
|
|
18
18
|
* @summary List all managed Cassandra clusters in this subscription.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBManagedCassandraClusterListBySubscription.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbManagedCassandraClusterListBySubscription() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,11 +16,12 @@ dotenv.config();
|
|
|
16
16
|
* 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.
|
|
17
17
|
*
|
|
18
18
|
* @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.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBManagedCassandraClusterStart.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbManagedCassandraClusterStart() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] ||
|
|
23
|
+
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] ||
|
|
24
|
+
"ffffffff-ffff-ffff-ffff-ffffffffffff";
|
|
24
25
|
const resourceGroupName = process.env["COSMOSDB_RESOURCE_GROUP"] || "cassandra-prod-rg";
|
|
25
26
|
const clusterName = "cassandra-prod";
|
|
26
27
|
const credential = new DefaultAzureCredential();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cassandraClustersStartSample.js","sourceRoot":"","sources":["../../samples-dev/cassandraClustersStartSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,oCAAoC;;QACjD,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"cassandraClustersStartSample.js","sourceRoot":"","sources":["../../samples-dev/cassandraClustersStartSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,oCAAoC;;QACjD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC;YACvC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAI,mBAAmB,CAAC;QAChE,MAAM,WAAW,GAAG,gBAAgB,CAAC;QACrC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,wBAAwB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACxE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,iBAAiB,CAAC,iBAAiB,CAC7D,iBAAiB,EACjB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,oCAAoC,EAAE,CAAC;IACzC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,11 +16,12 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets the CPU, memory, and disk usage statistics for each Cassandra node in a cluster.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the CPU, memory, and disk usage statistics for each Cassandra node in a cluster.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBManagedCassandraStatus.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbManagedCassandraStatus() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] ||
|
|
23
|
+
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] ||
|
|
24
|
+
"ffffffff-ffff-ffff-ffff-ffffffffffff";
|
|
24
25
|
const resourceGroupName = process.env["COSMOSDB_RESOURCE_GROUP"] || "cassandra-prod-rg";
|
|
25
26
|
const clusterName = "cassandra-prod";
|
|
26
27
|
const credential = new DefaultAzureCredential();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cassandraClustersStatusSample.js","sourceRoot":"","sources":["../../samples-dev/cassandraClustersStatusSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,8BAA8B;;QAC3C,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"cassandraClustersStatusSample.js","sourceRoot":"","sources":["../../samples-dev/cassandraClustersStatusSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,8BAA8B;;QAC3C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC;YACvC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAI,mBAAmB,CAAC;QAChE,MAAM,WAAW,GAAG,gBAAgB,CAAC;QACrC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,wBAAwB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACxE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,iBAAiB,CAAC,MAAM,CAClD,iBAAiB,EACjB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,8BAA8B,EAAE,CAAC;IACnC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Updates some of the properties of a managed Cassandra cluster.
|
|
17
17
|
*
|
|
18
18
|
* @summary Updates some of the properties of a managed Cassandra cluster.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBManagedCassandraClusterPatch.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbManagedCassandraClusterPatch() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* 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.
|
|
17
17
|
*
|
|
18
18
|
* @summary Create or update a managed Cassandra data center. When updating, overwrite all properties. To update only some properties, use PATCH.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBManagedCassandraDataCenterCreate.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbManagedCassandraDataCenterCreate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Delete a managed Cassandra data center.
|
|
17
17
|
*
|
|
18
18
|
* @summary Delete a managed Cassandra data center.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBManagedCassandraDataCenterDelete.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbManagedCassandraDataCenterDelete() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get the properties of a managed Cassandra data center.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get the properties of a managed Cassandra data center.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBManagedCassandraDataCenterGet.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbManagedCassandraDataCenterGet() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List all data centers in a particular managed Cassandra cluster.
|
|
17
17
|
*
|
|
18
18
|
* @summary List all data centers in a particular managed Cassandra cluster.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBManagedCassandraDataCenterList.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbManagedCassandraDataCenterList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Update some of the properties of a managed Cassandra data center.
|
|
17
17
|
*
|
|
18
18
|
* @summary Update some of the properties of a managed Cassandra data center.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBManagedCassandraDataCenterPatch.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbManagedCassandraDataCenterUpdate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Create or update an Azure Cosmos DB Cassandra keyspace
|
|
17
17
|
*
|
|
18
18
|
* @summary Create or update an Azure Cosmos DB Cassandra keyspace
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBCassandraKeyspaceCreateUpdate.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbCassandraKeyspaceCreateUpdate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Create or update an Azure Cosmos DB Cassandra Table
|
|
17
17
|
*
|
|
18
18
|
* @summary Create or update an Azure Cosmos DB Cassandra Table
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBCassandraTableCreateUpdate.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbCassandraTableCreateUpdate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Deletes an existing Azure Cosmos DB Cassandra keyspace.
|
|
17
17
|
*
|
|
18
18
|
* @summary Deletes an existing Azure Cosmos DB Cassandra keyspace.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBCassandraKeyspaceDelete.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbCassandraKeyspaceDelete() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Deletes an existing Azure Cosmos DB Cassandra table.
|
|
17
17
|
*
|
|
18
18
|
* @summary Deletes an existing Azure Cosmos DB Cassandra table.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBCassandraTableDelete.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbCassandraTableDelete() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBCassandraKeyspaceGet.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbCassandraKeyspaceGet() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* 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.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the RUs per second of the Cassandra Keyspace under an existing Azure Cosmos DB database account with the provided name.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBCassandraKeyspaceThroughputGet.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbCassandraKeyspaceThroughputGet() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets the Cassandra table under an existing Azure Cosmos DB database account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the Cassandra table under an existing Azure Cosmos DB database account.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBCassandraTableGet.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbCassandraTableGet() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* 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.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the RUs per second of the Cassandra table under an existing Azure Cosmos DB database account with the provided name.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBCassandraTableThroughputGet.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbCassandraTableThroughputGet() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Lists the Cassandra keyspaces under an existing Azure Cosmos DB database account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Lists the Cassandra keyspaces under an existing Azure Cosmos DB database account.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBCassandraKeyspaceList.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbCassandraKeyspaceList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Lists the Cassandra table under an existing Azure Cosmos DB database account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Lists the Cassandra table under an existing Azure Cosmos DB database account.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBCassandraTableList.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbCassandraTableList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Migrate an Azure Cosmos DB Cassandra Keyspace from manual throughput to autoscale
|
|
17
17
|
*
|
|
18
18
|
* @summary Migrate an Azure Cosmos DB Cassandra Keyspace from manual throughput to autoscale
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBCassandraKeyspaceMigrateToAutoscale.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbCassandraKeyspaceMigrateToAutoscale() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
package/dist-esm/samples-dev/cassandraResourcesMigrateCassandraKeyspaceToManualThroughputSample.js
CHANGED
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Migrate an Azure Cosmos DB Cassandra Keyspace from autoscale to manual throughput
|
|
17
17
|
*
|
|
18
18
|
* @summary Migrate an Azure Cosmos DB Cassandra Keyspace from autoscale to manual throughput
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBCassandraKeyspaceMigrateToManualThroughput.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbCassandraKeyspaceMigrateToManualThroughput() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Migrate an Azure Cosmos DB Cassandra table from manual throughput to autoscale
|
|
17
17
|
*
|
|
18
18
|
* @summary Migrate an Azure Cosmos DB Cassandra table from manual throughput to autoscale
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBCassandraTableMigrateToAutoscale.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbCassandraTableMigrateToAutoscale() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
package/dist-esm/samples-dev/cassandraResourcesMigrateCassandraTableToManualThroughputSample.js
CHANGED
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Migrate an Azure Cosmos DB Cassandra table from autoscale to manual throughput
|
|
17
17
|
*
|
|
18
18
|
* @summary Migrate an Azure Cosmos DB Cassandra table from autoscale to manual throughput
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBCassandraTableMigrateToManualThroughput.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbCassandraTableMigrateToManualThroughput() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Update RUs per second of an Azure Cosmos DB Cassandra Keyspace
|
|
17
17
|
*
|
|
18
18
|
* @summary Update RUs per second of an Azure Cosmos DB Cassandra Keyspace
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBCassandraKeyspaceThroughputUpdate.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbCassandraKeyspaceThroughputUpdate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Update RUs per second of an Azure Cosmos DB Cassandra table
|
|
17
17
|
*
|
|
18
18
|
* @summary Update RUs per second of an Azure Cosmos DB Cassandra table
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBCassandraTableThroughputUpdate.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbCassandraTableThroughputUpdate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Retrieves metric definitions for the given collection.
|
|
17
17
|
*
|
|
18
18
|
* @summary Retrieves metric definitions for the given collection.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBCollectionGetMetricDefinitions.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbCollectionGetMetricDefinitions() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Retrieves the metrics determined by the given filter for the given database account and collection.
|
|
17
17
|
*
|
|
18
18
|
* @summary Retrieves the metrics determined by the given filter for the given database account and collection.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBCollectionGetMetrics.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbCollectionGetMetrics() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Retrieves the usages (most recent storage data) for the given collection.
|
|
17
17
|
*
|
|
18
18
|
* @summary Retrieves the usages (most recent storage data) for the given collection.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBCollectionGetUsages.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbCollectionGetUsages() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Retrieves the metrics determined by the given filter for the given collection, split by partition.
|
|
17
17
|
*
|
|
18
18
|
* @summary Retrieves the metrics determined by the given filter for the given collection, split by partition.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBCollectionPartitionGetMetrics.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbDatabaseAccountRegionGetMetrics() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Retrieves the usages (most recent storage data) for the given collection, split by partition.
|
|
17
17
|
*
|
|
18
18
|
* @summary Retrieves the usages (most recent storage data) for the given collection, split by partition.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBCollectionPartitionGetUsages.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbCollectionGetUsages() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Retrieves the metrics determined by the given filter for the given collection and region, split by partition.
|
|
17
17
|
*
|
|
18
18
|
* @summary Retrieves the metrics determined by the given filter for the given collection and region, split by partition.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBCollectionPartitionRegionGetMetrics.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbDatabaseAccountRegionGetMetrics() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Retrieves the metrics determined by the given filter for the given database account, collection and region.
|
|
17
17
|
*
|
|
18
18
|
* @summary Retrieves the metrics determined by the given filter for the given database account, collection and region.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBRegionCollectionGetMetrics.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbRegionCollectionGetMetrics() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Retrieves the metrics determined by the given filter for the given database account and region.
|
|
17
17
|
*
|
|
18
18
|
* @summary Retrieves the metrics determined by the given filter for the given database account and region.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBDatabaseAccountRegionGetMetrics.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbDatabaseAccountRegionGetMetrics() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* 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.
|
|
17
17
|
*
|
|
18
18
|
* @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.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBDatabaseAccountCheckNameExists.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbDatabaseAccountCheckNameExists() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* 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.
|
|
17
17
|
*
|
|
18
18
|
* @summary Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBDatabaseAccountCreateMax.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbDatabaseAccountCreateMax() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -47,6 +47,7 @@ function cosmosDbDatabaseAccountCreateMax() {
|
|
|
47
47
|
enableAnalyticalStorage: true,
|
|
48
48
|
enableBurstCapacity: true,
|
|
49
49
|
enableFreeTier: false,
|
|
50
|
+
enablePerRegionPerPartitionAutoscale: true,
|
|
50
51
|
identity: {
|
|
51
52
|
type: "SystemAssigned,UserAssigned",
|
|
52
53
|
userAssignedIdentities: {
|
|
@@ -93,7 +94,7 @@ function cosmosDbDatabaseAccountCreateMax() {
|
|
|
93
94
|
* 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.
|
|
94
95
|
*
|
|
95
96
|
* @summary Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account.
|
|
96
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
97
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBDatabaseAccountCreateMin.json
|
|
97
98
|
*/
|
|
98
99
|
function cosmosDbDatabaseAccountCreateMin() {
|
|
99
100
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -122,7 +123,7 @@ function cosmosDbDatabaseAccountCreateMin() {
|
|
|
122
123
|
* 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.
|
|
123
124
|
*
|
|
124
125
|
* @summary Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account.
|
|
125
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
126
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBRestoreDatabaseAccountCreateUpdate.json
|
|
126
127
|
*/
|
|
127
128
|
function cosmosDbRestoreDatabaseAccountCreateUpdateJson() {
|
|
128
129
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"databaseAccountsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../sam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,oCAAoC;YACpD,IAAI,EAAE,kBAAkB;YACxB,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE;gBACT;oBACE,gBAAgB,EAAE,CAAC;oBACnB,eAAe,EAAE,KAAK;oBACtB,YAAY,EAAE,gBAAgB;iBAC/B;aACF;YACD,iBAAiB,EAAE,KAAK;YACxB,iBAAiB,EAAE;gBACjB,kBAAkB,EAAE;oBAClB;wBACE,eAAe,EAAE,CAAC,aAAa,EAAE,aAAa,CAAC;wBAC/C,YAAY,EAAE,KAAK;qBACpB;oBACD;wBACE,eAAe,EAAE,CAAC,aAAa,EAAE,aAAa,CAAC;wBAC/C,YAAY,EAAE,KAAK;qBACpB;iBACF;gBACD,WAAW,EAAE,aAAa;gBAC1B,aAAa,EACX,sIAAsI;gBACxI,qBAAqB,EAAE,IAAI,IAAI,CAAC,sBAAsB,CAAC;gBACvD,sBAAsB,EAAE,KAAK;aAC9B;YACD,IAAI,EAAE,EAAE;SACT,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,wBAAwB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACxE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,gBAAgB,CAAC,0BAA0B,CACrE,iBAAiB,EACjB,WAAW,EACX,sBAAsB,CACvB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,gCAAgC,EAAE,CAAC;QACnC,gCAAgC,EAAE,CAAC;QACnC,8CAA8C,EAAE,CAAC;IACnD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"databaseAccountsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/databaseAccountsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH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AAQ,EAAE,QAAQ;YAClB,SAAS,EAAE;gBACT;oBACE,gBAAgB,EAAE,CAAC;oBACnB,eAAe,EAAE,KAAK;oBACtB,YAAY,EAAE,gBAAgB;iBAC/B;aACF;YACD,iBAAiB,EAAE,KAAK;YACxB,iBAAiB,EAAE;gBACjB,kBAAkB,EAAE;oBAClB;wBACE,eAAe,EAAE,CAAC,aAAa,EAAE,aAAa,CAAC;wBAC/C,YAAY,EAAE,KAAK;qBACpB;oBACD;wBACE,eAAe,EAAE,CAAC,aAAa,EAAE,aAAa,CAAC;wBAC/C,YAAY,EAAE,KAAK;qBACpB;iBACF;gBACD,WAAW,EAAE,aAAa;gBAC1B,aAAa,EACX,sIAAsI;gBACxI,qBAAqB,EAAE,IAAI,IAAI,CAAC,sBAAsB,CAAC;gBACvD,sBAAsB,EAAE,KAAK;aAC9B;YACD,IAAI,EAAE,EAAE;SACT,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,wBAAwB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACxE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,gBAAgB,CAAC,0BAA0B,CACrE,iBAAiB,EACjB,WAAW,EACX,sBAAsB,CACvB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,gCAAgC,EAAE,CAAC;QACnC,gCAAgC,EAAE,CAAC;QACnC,8CAA8C,EAAE,CAAC;IACnD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Deletes an existing Azure Cosmos DB database account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Deletes an existing Azure Cosmos DB database account.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBDatabaseAccountDelete.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbDatabaseAccountDelete() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* 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.
|
|
17
17
|
*
|
|
18
18
|
* @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.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBDatabaseAccountFailoverPriorityChange.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbDatabaseAccountFailoverPriorityChange() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Lists the read-only access keys for the specified Azure Cosmos DB database account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Lists the read-only access keys for the specified Azure Cosmos DB database account.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBDatabaseAccountListReadOnlyKeys.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbDatabaseAccountListReadOnlyKeys() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|