@azure/arm-cosmosdb 16.3.0-alpha.20250718.1 → 16.3.0-alpha.20250730.1
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/dist/browser/cosmosDBManagementClient.js +50 -5
- package/dist/browser/cosmosDBManagementClient.js.map +1 -1
- package/dist/browser/lroImpl.js +7 -3
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/mappers.js +661 -279
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/operations/cassandraClusters.js +85 -89
- package/dist/browser/operations/cassandraClusters.js.map +1 -1
- package/dist/browser/operations/cassandraDataCenters.js +43 -45
- package/dist/browser/operations/cassandraDataCenters.js.map +1 -1
- package/dist/browser/operations/cassandraResources.js +129 -113
- package/dist/browser/operations/cassandraResources.js.map +1 -1
- package/dist/browser/operations/collection.js +28 -79
- package/dist/browser/operations/collection.js.map +1 -1
- package/dist/browser/operations/collectionPartition.js +19 -53
- package/dist/browser/operations/collectionPartition.js.map +1 -1
- package/dist/browser/operations/collectionPartitionRegion.js +10 -27
- package/dist/browser/operations/collectionPartitionRegion.js.map +1 -1
- package/dist/browser/operations/collectionRegion.js +10 -27
- package/dist/browser/operations/collectionRegion.js.map +1 -1
- package/dist/browser/operations/database.js +28 -79
- package/dist/browser/operations/database.js.map +1 -1
- package/dist/browser/operations/databaseAccountRegion.js +10 -27
- package/dist/browser/operations/databaseAccountRegion.js.map +1 -1
- package/dist/browser/operations/databaseAccounts.js +123 -173
- package/dist/browser/operations/databaseAccounts.js.map +1 -1
- package/dist/browser/operations/gremlinResources.js +140 -119
- package/dist/browser/operations/gremlinResources.js.map +1 -1
- package/dist/browser/operations/locations.js +10 -27
- package/dist/browser/operations/locations.js.map +1 -1
- package/dist/browser/operations/mongoDBResources.js +202 -195
- package/dist/browser/operations/mongoDBResources.js.map +1 -1
- package/dist/browser/operations/notebookWorkspaces.js +54 -51
- package/dist/browser/operations/notebookWorkspaces.js.map +1 -1
- package/dist/browser/operations/operations.js +23 -40
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/partitionKeyRangeId.js +10 -27
- package/dist/browser/operations/partitionKeyRangeId.js.map +1 -1
- package/dist/browser/operations/partitionKeyRangeIdRegion.js +10 -27
- package/dist/browser/operations/partitionKeyRangeIdRegion.js.map +1 -1
- package/dist/browser/operations/percentile.js +10 -27
- package/dist/browser/operations/percentile.js.map +1 -1
- package/dist/browser/operations/percentileSourceTarget.js +10 -27
- package/dist/browser/operations/percentileSourceTarget.js.map +1 -1
- package/dist/browser/operations/percentileTarget.js +10 -27
- package/dist/browser/operations/percentileTarget.js.map +1 -1
- package/dist/browser/operations/privateEndpointConnections.js +32 -39
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
- package/dist/browser/operations/privateLinkResources.js +10 -27
- package/dist/browser/operations/privateLinkResources.js.map +1 -1
- package/dist/browser/operations/restorableDatabaseAccounts.js +19 -53
- package/dist/browser/operations/restorableDatabaseAccounts.js.map +1 -1
- package/dist/browser/operations/restorableGremlinDatabases.js +10 -27
- package/dist/browser/operations/restorableGremlinDatabases.js.map +1 -1
- package/dist/browser/operations/restorableGremlinGraphs.js +10 -27
- package/dist/browser/operations/restorableGremlinGraphs.js.map +1 -1
- package/dist/browser/operations/restorableGremlinResources.js +10 -27
- package/dist/browser/operations/restorableGremlinResources.js.map +1 -1
- package/dist/browser/operations/restorableMongodbCollections.js +10 -27
- package/dist/browser/operations/restorableMongodbCollections.js.map +1 -1
- package/dist/browser/operations/restorableMongodbDatabases.js +10 -27
- package/dist/browser/operations/restorableMongodbDatabases.js.map +1 -1
- package/dist/browser/operations/restorableMongodbResources.js +10 -27
- package/dist/browser/operations/restorableMongodbResources.js.map +1 -1
- package/dist/browser/operations/restorableSqlContainers.js +10 -27
- package/dist/browser/operations/restorableSqlContainers.js.map +1 -1
- package/dist/browser/operations/restorableSqlDatabases.js +10 -27
- package/dist/browser/operations/restorableSqlDatabases.js.map +1 -1
- package/dist/browser/operations/restorableSqlResources.js +10 -27
- package/dist/browser/operations/restorableSqlResources.js.map +1 -1
- package/dist/browser/operations/restorableTableResources.js +10 -27
- package/dist/browser/operations/restorableTableResources.js.map +1 -1
- package/dist/browser/operations/restorableTables.js +10 -27
- package/dist/browser/operations/restorableTables.js.map +1 -1
- package/dist/browser/operations/service.js +32 -39
- package/dist/browser/operations/service.js.map +1 -1
- package/dist/browser/operations/sqlResources.js +315 -341
- package/dist/browser/operations/sqlResources.js.map +1 -1
- package/dist/browser/operations/tableResources.js +76 -63
- package/dist/browser/operations/tableResources.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/cosmosDBManagementClient.js +50 -5
- package/dist/commonjs/cosmosDBManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.js +7 -3
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/mappers.js +661 -279
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/operations/cassandraClusters.js +85 -88
- package/dist/commonjs/operations/cassandraClusters.js.map +1 -1
- package/dist/commonjs/operations/cassandraDataCenters.js +43 -44
- package/dist/commonjs/operations/cassandraDataCenters.js.map +1 -1
- package/dist/commonjs/operations/cassandraResources.js +129 -112
- package/dist/commonjs/operations/cassandraResources.js.map +1 -1
- package/dist/commonjs/operations/collection.js +28 -78
- package/dist/commonjs/operations/collection.js.map +1 -1
- package/dist/commonjs/operations/collectionPartition.js +19 -52
- package/dist/commonjs/operations/collectionPartition.js.map +1 -1
- package/dist/commonjs/operations/collectionPartitionRegion.js +10 -26
- package/dist/commonjs/operations/collectionPartitionRegion.js.map +1 -1
- package/dist/commonjs/operations/collectionRegion.js +10 -26
- package/dist/commonjs/operations/collectionRegion.js.map +1 -1
- package/dist/commonjs/operations/database.js +28 -78
- package/dist/commonjs/operations/database.js.map +1 -1
- package/dist/commonjs/operations/databaseAccountRegion.js +10 -26
- package/dist/commonjs/operations/databaseAccountRegion.js.map +1 -1
- package/dist/commonjs/operations/databaseAccounts.js +123 -172
- package/dist/commonjs/operations/databaseAccounts.js.map +1 -1
- package/dist/commonjs/operations/gremlinResources.js +140 -118
- package/dist/commonjs/operations/gremlinResources.js.map +1 -1
- package/dist/commonjs/operations/locations.js +10 -26
- package/dist/commonjs/operations/locations.js.map +1 -1
- package/dist/commonjs/operations/mongoDBResources.js +202 -194
- package/dist/commonjs/operations/mongoDBResources.js.map +1 -1
- package/dist/commonjs/operations/notebookWorkspaces.js +54 -50
- package/dist/commonjs/operations/notebookWorkspaces.js.map +1 -1
- package/dist/commonjs/operations/operations.js +23 -39
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/partitionKeyRangeId.js +10 -26
- package/dist/commonjs/operations/partitionKeyRangeId.js.map +1 -1
- package/dist/commonjs/operations/partitionKeyRangeIdRegion.js +10 -26
- package/dist/commonjs/operations/partitionKeyRangeIdRegion.js.map +1 -1
- package/dist/commonjs/operations/percentile.js +10 -26
- package/dist/commonjs/operations/percentile.js.map +1 -1
- package/dist/commonjs/operations/percentileSourceTarget.js +10 -26
- package/dist/commonjs/operations/percentileSourceTarget.js.map +1 -1
- package/dist/commonjs/operations/percentileTarget.js +10 -26
- package/dist/commonjs/operations/percentileTarget.js.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnections.js +32 -38
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operations/privateLinkResources.js +10 -26
- package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
- package/dist/commonjs/operations/restorableDatabaseAccounts.js +19 -52
- package/dist/commonjs/operations/restorableDatabaseAccounts.js.map +1 -1
- package/dist/commonjs/operations/restorableGremlinDatabases.js +10 -26
- package/dist/commonjs/operations/restorableGremlinDatabases.js.map +1 -1
- package/dist/commonjs/operations/restorableGremlinGraphs.js +10 -26
- package/dist/commonjs/operations/restorableGremlinGraphs.js.map +1 -1
- package/dist/commonjs/operations/restorableGremlinResources.js +10 -26
- package/dist/commonjs/operations/restorableGremlinResources.js.map +1 -1
- package/dist/commonjs/operations/restorableMongodbCollections.js +10 -26
- package/dist/commonjs/operations/restorableMongodbCollections.js.map +1 -1
- package/dist/commonjs/operations/restorableMongodbDatabases.js +10 -26
- package/dist/commonjs/operations/restorableMongodbDatabases.js.map +1 -1
- package/dist/commonjs/operations/restorableMongodbResources.js +10 -26
- package/dist/commonjs/operations/restorableMongodbResources.js.map +1 -1
- package/dist/commonjs/operations/restorableSqlContainers.js +10 -26
- package/dist/commonjs/operations/restorableSqlContainers.js.map +1 -1
- package/dist/commonjs/operations/restorableSqlDatabases.js +10 -26
- package/dist/commonjs/operations/restorableSqlDatabases.js.map +1 -1
- package/dist/commonjs/operations/restorableSqlResources.js +10 -26
- package/dist/commonjs/operations/restorableSqlResources.js.map +1 -1
- package/dist/commonjs/operations/restorableTableResources.js +10 -26
- package/dist/commonjs/operations/restorableTableResources.js.map +1 -1
- package/dist/commonjs/operations/restorableTables.js +10 -26
- package/dist/commonjs/operations/restorableTables.js.map +1 -1
- package/dist/commonjs/operations/service.js +32 -38
- package/dist/commonjs/operations/service.js.map +1 -1
- package/dist/commonjs/operations/sqlResources.js +315 -340
- package/dist/commonjs/operations/sqlResources.js.map +1 -1
- package/dist/commonjs/operations/tableResources.js +76 -62
- package/dist/commonjs/operations/tableResources.js.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/cosmosDBManagementClient.js +50 -5
- package/dist/esm/cosmosDBManagementClient.js.map +1 -1
- package/dist/esm/lroImpl.js +7 -3
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/mappers.js +661 -279
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/operations/cassandraClusters.js +85 -89
- package/dist/esm/operations/cassandraClusters.js.map +1 -1
- package/dist/esm/operations/cassandraDataCenters.js +43 -45
- package/dist/esm/operations/cassandraDataCenters.js.map +1 -1
- package/dist/esm/operations/cassandraResources.js +129 -113
- package/dist/esm/operations/cassandraResources.js.map +1 -1
- package/dist/esm/operations/collection.js +28 -79
- package/dist/esm/operations/collection.js.map +1 -1
- package/dist/esm/operations/collectionPartition.js +19 -53
- package/dist/esm/operations/collectionPartition.js.map +1 -1
- package/dist/esm/operations/collectionPartitionRegion.js +10 -27
- package/dist/esm/operations/collectionPartitionRegion.js.map +1 -1
- package/dist/esm/operations/collectionRegion.js +10 -27
- package/dist/esm/operations/collectionRegion.js.map +1 -1
- package/dist/esm/operations/database.js +28 -79
- package/dist/esm/operations/database.js.map +1 -1
- package/dist/esm/operations/databaseAccountRegion.js +10 -27
- package/dist/esm/operations/databaseAccountRegion.js.map +1 -1
- package/dist/esm/operations/databaseAccounts.js +123 -173
- package/dist/esm/operations/databaseAccounts.js.map +1 -1
- package/dist/esm/operations/gremlinResources.js +140 -119
- package/dist/esm/operations/gremlinResources.js.map +1 -1
- package/dist/esm/operations/locations.js +10 -27
- package/dist/esm/operations/locations.js.map +1 -1
- package/dist/esm/operations/mongoDBResources.js +202 -195
- package/dist/esm/operations/mongoDBResources.js.map +1 -1
- package/dist/esm/operations/notebookWorkspaces.js +54 -51
- package/dist/esm/operations/notebookWorkspaces.js.map +1 -1
- package/dist/esm/operations/operations.js +23 -40
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/partitionKeyRangeId.js +10 -27
- package/dist/esm/operations/partitionKeyRangeId.js.map +1 -1
- package/dist/esm/operations/partitionKeyRangeIdRegion.js +10 -27
- package/dist/esm/operations/partitionKeyRangeIdRegion.js.map +1 -1
- package/dist/esm/operations/percentile.js +10 -27
- package/dist/esm/operations/percentile.js.map +1 -1
- package/dist/esm/operations/percentileSourceTarget.js +10 -27
- package/dist/esm/operations/percentileSourceTarget.js.map +1 -1
- package/dist/esm/operations/percentileTarget.js +10 -27
- package/dist/esm/operations/percentileTarget.js.map +1 -1
- package/dist/esm/operations/privateEndpointConnections.js +32 -39
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
- package/dist/esm/operations/privateLinkResources.js +10 -27
- package/dist/esm/operations/privateLinkResources.js.map +1 -1
- package/dist/esm/operations/restorableDatabaseAccounts.js +19 -53
- package/dist/esm/operations/restorableDatabaseAccounts.js.map +1 -1
- package/dist/esm/operations/restorableGremlinDatabases.js +10 -27
- package/dist/esm/operations/restorableGremlinDatabases.js.map +1 -1
- package/dist/esm/operations/restorableGremlinGraphs.js +10 -27
- package/dist/esm/operations/restorableGremlinGraphs.js.map +1 -1
- package/dist/esm/operations/restorableGremlinResources.js +10 -27
- package/dist/esm/operations/restorableGremlinResources.js.map +1 -1
- package/dist/esm/operations/restorableMongodbCollections.js +10 -27
- package/dist/esm/operations/restorableMongodbCollections.js.map +1 -1
- package/dist/esm/operations/restorableMongodbDatabases.js +10 -27
- package/dist/esm/operations/restorableMongodbDatabases.js.map +1 -1
- package/dist/esm/operations/restorableMongodbResources.js +10 -27
- package/dist/esm/operations/restorableMongodbResources.js.map +1 -1
- package/dist/esm/operations/restorableSqlContainers.js +10 -27
- package/dist/esm/operations/restorableSqlContainers.js.map +1 -1
- package/dist/esm/operations/restorableSqlDatabases.js +10 -27
- package/dist/esm/operations/restorableSqlDatabases.js.map +1 -1
- package/dist/esm/operations/restorableSqlResources.js +10 -27
- package/dist/esm/operations/restorableSqlResources.js.map +1 -1
- package/dist/esm/operations/restorableTableResources.js +10 -27
- package/dist/esm/operations/restorableTableResources.js.map +1 -1
- package/dist/esm/operations/restorableTables.js +10 -27
- package/dist/esm/operations/restorableTables.js.map +1 -1
- package/dist/esm/operations/service.js +32 -39
- package/dist/esm/operations/service.js.map +1 -1
- package/dist/esm/operations/sqlResources.js +315 -341
- package/dist/esm/operations/sqlResources.js.map +1 -1
- package/dist/esm/operations/tableResources.js +76 -63
- package/dist/esm/operations/tableResources.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/cosmosDBManagementClient.js +50 -5
- package/dist/react-native/cosmosDBManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.js +7 -3
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/mappers.js +661 -279
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/operations/cassandraClusters.js +85 -89
- package/dist/react-native/operations/cassandraClusters.js.map +1 -1
- package/dist/react-native/operations/cassandraDataCenters.js +43 -45
- package/dist/react-native/operations/cassandraDataCenters.js.map +1 -1
- package/dist/react-native/operations/cassandraResources.js +129 -113
- package/dist/react-native/operations/cassandraResources.js.map +1 -1
- package/dist/react-native/operations/collection.js +28 -79
- package/dist/react-native/operations/collection.js.map +1 -1
- package/dist/react-native/operations/collectionPartition.js +19 -53
- package/dist/react-native/operations/collectionPartition.js.map +1 -1
- package/dist/react-native/operations/collectionPartitionRegion.js +10 -27
- package/dist/react-native/operations/collectionPartitionRegion.js.map +1 -1
- package/dist/react-native/operations/collectionRegion.js +10 -27
- package/dist/react-native/operations/collectionRegion.js.map +1 -1
- package/dist/react-native/operations/database.js +28 -79
- package/dist/react-native/operations/database.js.map +1 -1
- package/dist/react-native/operations/databaseAccountRegion.js +10 -27
- package/dist/react-native/operations/databaseAccountRegion.js.map +1 -1
- package/dist/react-native/operations/databaseAccounts.js +123 -173
- package/dist/react-native/operations/databaseAccounts.js.map +1 -1
- package/dist/react-native/operations/gremlinResources.js +140 -119
- package/dist/react-native/operations/gremlinResources.js.map +1 -1
- package/dist/react-native/operations/locations.js +10 -27
- package/dist/react-native/operations/locations.js.map +1 -1
- package/dist/react-native/operations/mongoDBResources.js +202 -195
- package/dist/react-native/operations/mongoDBResources.js.map +1 -1
- package/dist/react-native/operations/notebookWorkspaces.js +54 -51
- package/dist/react-native/operations/notebookWorkspaces.js.map +1 -1
- package/dist/react-native/operations/operations.js +23 -40
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/partitionKeyRangeId.js +10 -27
- package/dist/react-native/operations/partitionKeyRangeId.js.map +1 -1
- package/dist/react-native/operations/partitionKeyRangeIdRegion.js +10 -27
- package/dist/react-native/operations/partitionKeyRangeIdRegion.js.map +1 -1
- package/dist/react-native/operations/percentile.js +10 -27
- package/dist/react-native/operations/percentile.js.map +1 -1
- package/dist/react-native/operations/percentileSourceTarget.js +10 -27
- package/dist/react-native/operations/percentileSourceTarget.js.map +1 -1
- package/dist/react-native/operations/percentileTarget.js +10 -27
- package/dist/react-native/operations/percentileTarget.js.map +1 -1
- package/dist/react-native/operations/privateEndpointConnections.js +32 -39
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
- package/dist/react-native/operations/privateLinkResources.js +10 -27
- package/dist/react-native/operations/privateLinkResources.js.map +1 -1
- package/dist/react-native/operations/restorableDatabaseAccounts.js +19 -53
- package/dist/react-native/operations/restorableDatabaseAccounts.js.map +1 -1
- package/dist/react-native/operations/restorableGremlinDatabases.js +10 -27
- package/dist/react-native/operations/restorableGremlinDatabases.js.map +1 -1
- package/dist/react-native/operations/restorableGremlinGraphs.js +10 -27
- package/dist/react-native/operations/restorableGremlinGraphs.js.map +1 -1
- package/dist/react-native/operations/restorableGremlinResources.js +10 -27
- package/dist/react-native/operations/restorableGremlinResources.js.map +1 -1
- package/dist/react-native/operations/restorableMongodbCollections.js +10 -27
- package/dist/react-native/operations/restorableMongodbCollections.js.map +1 -1
- package/dist/react-native/operations/restorableMongodbDatabases.js +10 -27
- package/dist/react-native/operations/restorableMongodbDatabases.js.map +1 -1
- package/dist/react-native/operations/restorableMongodbResources.js +10 -27
- package/dist/react-native/operations/restorableMongodbResources.js.map +1 -1
- package/dist/react-native/operations/restorableSqlContainers.js +10 -27
- package/dist/react-native/operations/restorableSqlContainers.js.map +1 -1
- package/dist/react-native/operations/restorableSqlDatabases.js +10 -27
- package/dist/react-native/operations/restorableSqlDatabases.js.map +1 -1
- package/dist/react-native/operations/restorableSqlResources.js +10 -27
- package/dist/react-native/operations/restorableSqlResources.js.map +1 -1
- package/dist/react-native/operations/restorableTableResources.js +10 -27
- package/dist/react-native/operations/restorableTableResources.js.map +1 -1
- package/dist/react-native/operations/restorableTables.js +10 -27
- package/dist/react-native/operations/restorableTables.js.map +1 -1
- package/dist/react-native/operations/service.js +32 -39
- package/dist/react-native/operations/service.js.map +1 -1
- package/dist/react-native/operations/sqlResources.js +315 -341
- package/dist/react-native/operations/sqlResources.js.map +1 -1
- package/dist/react-native/operations/tableResources.js +76 -63
- package/dist/react-native/operations/tableResources.js.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +2 -2
|
@@ -17,6 +17,7 @@ const lroImpl_js_1 = require("../lroImpl.js");
|
|
|
17
17
|
/// <reference lib="esnext.asynciterable" />
|
|
18
18
|
/** Class containing CassandraResources operations. */
|
|
19
19
|
class CassandraResourcesImpl {
|
|
20
|
+
client;
|
|
20
21
|
/**
|
|
21
22
|
* Initialize a new instance of the class CassandraResources class.
|
|
22
23
|
* @param client Reference to the service client
|
|
@@ -40,39 +41,22 @@ class CassandraResourcesImpl {
|
|
|
40
41
|
return this;
|
|
41
42
|
},
|
|
42
43
|
byPage: (settings) => {
|
|
43
|
-
if (settings
|
|
44
|
+
if (settings?.maxPageSize) {
|
|
44
45
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
45
46
|
}
|
|
46
47
|
return this.listCassandraKeyspacesPagingPage(resourceGroupName, accountName, options, settings);
|
|
47
48
|
},
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
|
-
listCassandraKeyspacesPagingPage(resourceGroupName, accountName, options, _settings) {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
yield yield tslib_1.__await(result.value || []);
|
|
55
|
-
});
|
|
51
|
+
async *listCassandraKeyspacesPagingPage(resourceGroupName, accountName, options, _settings) {
|
|
52
|
+
let result;
|
|
53
|
+
result = await this._listCassandraKeyspaces(resourceGroupName, accountName, options);
|
|
54
|
+
yield result.value || [];
|
|
56
55
|
}
|
|
57
|
-
listCassandraKeyspacesPagingAll(resourceGroupName, accountName, options) {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listCassandraKeyspacesPagingPage(resourceGroupName, accountName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
62
|
-
_c = _f.value;
|
|
63
|
-
_d = false;
|
|
64
|
-
const page = _c;
|
|
65
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
69
|
-
finally {
|
|
70
|
-
try {
|
|
71
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
72
|
-
}
|
|
73
|
-
finally { if (e_1) throw e_1.error; }
|
|
74
|
-
}
|
|
75
|
-
});
|
|
56
|
+
async *listCassandraKeyspacesPagingAll(resourceGroupName, accountName, options) {
|
|
57
|
+
for await (const page of this.listCassandraKeyspacesPagingPage(resourceGroupName, accountName, options)) {
|
|
58
|
+
yield* page;
|
|
59
|
+
}
|
|
76
60
|
}
|
|
77
61
|
/**
|
|
78
62
|
* Lists the Cassandra table under an existing Azure Cosmos DB database account.
|
|
@@ -91,39 +75,22 @@ class CassandraResourcesImpl {
|
|
|
91
75
|
return this;
|
|
92
76
|
},
|
|
93
77
|
byPage: (settings) => {
|
|
94
|
-
if (settings
|
|
78
|
+
if (settings?.maxPageSize) {
|
|
95
79
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
96
80
|
}
|
|
97
81
|
return this.listCassandraTablesPagingPage(resourceGroupName, accountName, keyspaceName, options, settings);
|
|
98
82
|
},
|
|
99
83
|
};
|
|
100
84
|
}
|
|
101
|
-
listCassandraTablesPagingPage(resourceGroupName, accountName, keyspaceName, options, _settings) {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
yield yield tslib_1.__await(result.value || []);
|
|
106
|
-
});
|
|
85
|
+
async *listCassandraTablesPagingPage(resourceGroupName, accountName, keyspaceName, options, _settings) {
|
|
86
|
+
let result;
|
|
87
|
+
result = await this._listCassandraTables(resourceGroupName, accountName, keyspaceName, options);
|
|
88
|
+
yield result.value || [];
|
|
107
89
|
}
|
|
108
|
-
listCassandraTablesPagingAll(resourceGroupName, accountName, keyspaceName, options) {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listCassandraTablesPagingPage(resourceGroupName, accountName, keyspaceName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
113
|
-
_c = _f.value;
|
|
114
|
-
_d = false;
|
|
115
|
-
const page = _c;
|
|
116
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
120
|
-
finally {
|
|
121
|
-
try {
|
|
122
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
123
|
-
}
|
|
124
|
-
finally { if (e_2) throw e_2.error; }
|
|
125
|
-
}
|
|
126
|
-
});
|
|
90
|
+
async *listCassandraTablesPagingAll(resourceGroupName, accountName, keyspaceName, options) {
|
|
91
|
+
for await (const page of this.listCassandraTablesPagingPage(resourceGroupName, accountName, keyspaceName, options)) {
|
|
92
|
+
yield* page;
|
|
93
|
+
}
|
|
127
94
|
}
|
|
128
95
|
/**
|
|
129
96
|
* Lists the Cassandra keyspaces under an existing Azure Cosmos DB database account.
|
|
@@ -159,14 +126,19 @@ class CassandraResourcesImpl {
|
|
|
159
126
|
return this.client.sendOperationRequest(args, spec);
|
|
160
127
|
};
|
|
161
128
|
const sendOperationFn = async (args, spec) => {
|
|
162
|
-
var _a;
|
|
163
129
|
let currentRawResponse = undefined;
|
|
164
|
-
const providedCallback =
|
|
130
|
+
const providedCallback = args.options?.onResponse;
|
|
165
131
|
const callback = (rawResponse, flatResponse) => {
|
|
166
132
|
currentRawResponse = rawResponse;
|
|
167
|
-
providedCallback
|
|
133
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
134
|
+
};
|
|
135
|
+
const updatedArgs = {
|
|
136
|
+
...args,
|
|
137
|
+
options: {
|
|
138
|
+
...args.options,
|
|
139
|
+
onResponse: callback,
|
|
140
|
+
},
|
|
168
141
|
};
|
|
169
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
170
142
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
171
143
|
return {
|
|
172
144
|
flatResponse,
|
|
@@ -189,8 +161,8 @@ class CassandraResourcesImpl {
|
|
|
189
161
|
spec: createUpdateCassandraKeyspaceOperationSpec,
|
|
190
162
|
});
|
|
191
163
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
192
|
-
restoreFrom: options
|
|
193
|
-
intervalInMs: options
|
|
164
|
+
restoreFrom: options?.resumeFrom,
|
|
165
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
194
166
|
});
|
|
195
167
|
await poller.poll();
|
|
196
168
|
return poller;
|
|
@@ -220,14 +192,19 @@ class CassandraResourcesImpl {
|
|
|
220
192
|
return this.client.sendOperationRequest(args, spec);
|
|
221
193
|
};
|
|
222
194
|
const sendOperationFn = async (args, spec) => {
|
|
223
|
-
var _a;
|
|
224
195
|
let currentRawResponse = undefined;
|
|
225
|
-
const providedCallback =
|
|
196
|
+
const providedCallback = args.options?.onResponse;
|
|
226
197
|
const callback = (rawResponse, flatResponse) => {
|
|
227
198
|
currentRawResponse = rawResponse;
|
|
228
|
-
providedCallback
|
|
199
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
200
|
+
};
|
|
201
|
+
const updatedArgs = {
|
|
202
|
+
...args,
|
|
203
|
+
options: {
|
|
204
|
+
...args.options,
|
|
205
|
+
onResponse: callback,
|
|
206
|
+
},
|
|
229
207
|
};
|
|
230
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
231
208
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
232
209
|
return {
|
|
233
210
|
flatResponse,
|
|
@@ -244,8 +221,8 @@ class CassandraResourcesImpl {
|
|
|
244
221
|
spec: deleteCassandraKeyspaceOperationSpec,
|
|
245
222
|
});
|
|
246
223
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
247
|
-
restoreFrom: options
|
|
248
|
-
intervalInMs: options
|
|
224
|
+
restoreFrom: options?.resumeFrom,
|
|
225
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
249
226
|
});
|
|
250
227
|
await poller.poll();
|
|
251
228
|
return poller;
|
|
@@ -286,14 +263,19 @@ class CassandraResourcesImpl {
|
|
|
286
263
|
return this.client.sendOperationRequest(args, spec);
|
|
287
264
|
};
|
|
288
265
|
const sendOperationFn = async (args, spec) => {
|
|
289
|
-
var _a;
|
|
290
266
|
let currentRawResponse = undefined;
|
|
291
|
-
const providedCallback =
|
|
267
|
+
const providedCallback = args.options?.onResponse;
|
|
292
268
|
const callback = (rawResponse, flatResponse) => {
|
|
293
269
|
currentRawResponse = rawResponse;
|
|
294
|
-
providedCallback
|
|
270
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
271
|
+
};
|
|
272
|
+
const updatedArgs = {
|
|
273
|
+
...args,
|
|
274
|
+
options: {
|
|
275
|
+
...args.options,
|
|
276
|
+
onResponse: callback,
|
|
277
|
+
},
|
|
295
278
|
};
|
|
296
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
297
279
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
298
280
|
return {
|
|
299
281
|
flatResponse,
|
|
@@ -316,8 +298,8 @@ class CassandraResourcesImpl {
|
|
|
316
298
|
spec: updateCassandraKeyspaceThroughputOperationSpec,
|
|
317
299
|
});
|
|
318
300
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
319
|
-
restoreFrom: options
|
|
320
|
-
intervalInMs: options
|
|
301
|
+
restoreFrom: options?.resumeFrom,
|
|
302
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
321
303
|
});
|
|
322
304
|
await poller.poll();
|
|
323
305
|
return poller;
|
|
@@ -347,14 +329,19 @@ class CassandraResourcesImpl {
|
|
|
347
329
|
return this.client.sendOperationRequest(args, spec);
|
|
348
330
|
};
|
|
349
331
|
const sendOperationFn = async (args, spec) => {
|
|
350
|
-
var _a;
|
|
351
332
|
let currentRawResponse = undefined;
|
|
352
|
-
const providedCallback =
|
|
333
|
+
const providedCallback = args.options?.onResponse;
|
|
353
334
|
const callback = (rawResponse, flatResponse) => {
|
|
354
335
|
currentRawResponse = rawResponse;
|
|
355
|
-
providedCallback
|
|
336
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
337
|
+
};
|
|
338
|
+
const updatedArgs = {
|
|
339
|
+
...args,
|
|
340
|
+
options: {
|
|
341
|
+
...args.options,
|
|
342
|
+
onResponse: callback,
|
|
343
|
+
},
|
|
356
344
|
};
|
|
357
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
358
345
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
359
346
|
return {
|
|
360
347
|
flatResponse,
|
|
@@ -371,8 +358,8 @@ class CassandraResourcesImpl {
|
|
|
371
358
|
spec: migrateCassandraKeyspaceToAutoscaleOperationSpec,
|
|
372
359
|
});
|
|
373
360
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
374
|
-
restoreFrom: options
|
|
375
|
-
intervalInMs: options
|
|
361
|
+
restoreFrom: options?.resumeFrom,
|
|
362
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
376
363
|
});
|
|
377
364
|
await poller.poll();
|
|
378
365
|
return poller;
|
|
@@ -400,14 +387,19 @@ class CassandraResourcesImpl {
|
|
|
400
387
|
return this.client.sendOperationRequest(args, spec);
|
|
401
388
|
};
|
|
402
389
|
const sendOperationFn = async (args, spec) => {
|
|
403
|
-
var _a;
|
|
404
390
|
let currentRawResponse = undefined;
|
|
405
|
-
const providedCallback =
|
|
391
|
+
const providedCallback = args.options?.onResponse;
|
|
406
392
|
const callback = (rawResponse, flatResponse) => {
|
|
407
393
|
currentRawResponse = rawResponse;
|
|
408
|
-
providedCallback
|
|
394
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
395
|
+
};
|
|
396
|
+
const updatedArgs = {
|
|
397
|
+
...args,
|
|
398
|
+
options: {
|
|
399
|
+
...args.options,
|
|
400
|
+
onResponse: callback,
|
|
401
|
+
},
|
|
409
402
|
};
|
|
410
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
411
403
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
412
404
|
return {
|
|
413
405
|
flatResponse,
|
|
@@ -424,8 +416,8 @@ class CassandraResourcesImpl {
|
|
|
424
416
|
spec: migrateCassandraKeyspaceToManualThroughputOperationSpec,
|
|
425
417
|
});
|
|
426
418
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
427
|
-
restoreFrom: options
|
|
428
|
-
intervalInMs: options
|
|
419
|
+
restoreFrom: options?.resumeFrom,
|
|
420
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
429
421
|
});
|
|
430
422
|
await poller.poll();
|
|
431
423
|
return poller;
|
|
@@ -477,14 +469,19 @@ class CassandraResourcesImpl {
|
|
|
477
469
|
return this.client.sendOperationRequest(args, spec);
|
|
478
470
|
};
|
|
479
471
|
const sendOperationFn = async (args, spec) => {
|
|
480
|
-
var _a;
|
|
481
472
|
let currentRawResponse = undefined;
|
|
482
|
-
const providedCallback =
|
|
473
|
+
const providedCallback = args.options?.onResponse;
|
|
483
474
|
const callback = (rawResponse, flatResponse) => {
|
|
484
475
|
currentRawResponse = rawResponse;
|
|
485
|
-
providedCallback
|
|
476
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
477
|
+
};
|
|
478
|
+
const updatedArgs = {
|
|
479
|
+
...args,
|
|
480
|
+
options: {
|
|
481
|
+
...args.options,
|
|
482
|
+
onResponse: callback,
|
|
483
|
+
},
|
|
486
484
|
};
|
|
487
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
488
485
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
489
486
|
return {
|
|
490
487
|
flatResponse,
|
|
@@ -508,8 +505,8 @@ class CassandraResourcesImpl {
|
|
|
508
505
|
spec: createUpdateCassandraTableOperationSpec,
|
|
509
506
|
});
|
|
510
507
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
511
|
-
restoreFrom: options
|
|
512
|
-
intervalInMs: options
|
|
508
|
+
restoreFrom: options?.resumeFrom,
|
|
509
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
513
510
|
});
|
|
514
511
|
await poller.poll();
|
|
515
512
|
return poller;
|
|
@@ -541,14 +538,19 @@ class CassandraResourcesImpl {
|
|
|
541
538
|
return this.client.sendOperationRequest(args, spec);
|
|
542
539
|
};
|
|
543
540
|
const sendOperationFn = async (args, spec) => {
|
|
544
|
-
var _a;
|
|
545
541
|
let currentRawResponse = undefined;
|
|
546
|
-
const providedCallback =
|
|
542
|
+
const providedCallback = args.options?.onResponse;
|
|
547
543
|
const callback = (rawResponse, flatResponse) => {
|
|
548
544
|
currentRawResponse = rawResponse;
|
|
549
|
-
providedCallback
|
|
545
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
546
|
+
};
|
|
547
|
+
const updatedArgs = {
|
|
548
|
+
...args,
|
|
549
|
+
options: {
|
|
550
|
+
...args.options,
|
|
551
|
+
onResponse: callback,
|
|
552
|
+
},
|
|
550
553
|
};
|
|
551
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
552
554
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
553
555
|
return {
|
|
554
556
|
flatResponse,
|
|
@@ -571,8 +573,8 @@ class CassandraResourcesImpl {
|
|
|
571
573
|
spec: deleteCassandraTableOperationSpec,
|
|
572
574
|
});
|
|
573
575
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
574
|
-
restoreFrom: options
|
|
575
|
-
intervalInMs: options
|
|
576
|
+
restoreFrom: options?.resumeFrom,
|
|
577
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
576
578
|
});
|
|
577
579
|
await poller.poll();
|
|
578
580
|
return poller;
|
|
@@ -616,14 +618,19 @@ class CassandraResourcesImpl {
|
|
|
616
618
|
return this.client.sendOperationRequest(args, spec);
|
|
617
619
|
};
|
|
618
620
|
const sendOperationFn = async (args, spec) => {
|
|
619
|
-
var _a;
|
|
620
621
|
let currentRawResponse = undefined;
|
|
621
|
-
const providedCallback =
|
|
622
|
+
const providedCallback = args.options?.onResponse;
|
|
622
623
|
const callback = (rawResponse, flatResponse) => {
|
|
623
624
|
currentRawResponse = rawResponse;
|
|
624
|
-
providedCallback
|
|
625
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
626
|
+
};
|
|
627
|
+
const updatedArgs = {
|
|
628
|
+
...args,
|
|
629
|
+
options: {
|
|
630
|
+
...args.options,
|
|
631
|
+
onResponse: callback,
|
|
632
|
+
},
|
|
625
633
|
};
|
|
626
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
627
634
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
628
635
|
return {
|
|
629
636
|
flatResponse,
|
|
@@ -647,8 +654,8 @@ class CassandraResourcesImpl {
|
|
|
647
654
|
spec: updateCassandraTableThroughputOperationSpec,
|
|
648
655
|
});
|
|
649
656
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
650
|
-
restoreFrom: options
|
|
651
|
-
intervalInMs: options
|
|
657
|
+
restoreFrom: options?.resumeFrom,
|
|
658
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
652
659
|
});
|
|
653
660
|
await poller.poll();
|
|
654
661
|
return poller;
|
|
@@ -680,14 +687,19 @@ class CassandraResourcesImpl {
|
|
|
680
687
|
return this.client.sendOperationRequest(args, spec);
|
|
681
688
|
};
|
|
682
689
|
const sendOperationFn = async (args, spec) => {
|
|
683
|
-
var _a;
|
|
684
690
|
let currentRawResponse = undefined;
|
|
685
|
-
const providedCallback =
|
|
691
|
+
const providedCallback = args.options?.onResponse;
|
|
686
692
|
const callback = (rawResponse, flatResponse) => {
|
|
687
693
|
currentRawResponse = rawResponse;
|
|
688
|
-
providedCallback
|
|
694
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
695
|
+
};
|
|
696
|
+
const updatedArgs = {
|
|
697
|
+
...args,
|
|
698
|
+
options: {
|
|
699
|
+
...args.options,
|
|
700
|
+
onResponse: callback,
|
|
701
|
+
},
|
|
689
702
|
};
|
|
690
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
691
703
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
692
704
|
return {
|
|
693
705
|
flatResponse,
|
|
@@ -710,8 +722,8 @@ class CassandraResourcesImpl {
|
|
|
710
722
|
spec: migrateCassandraTableToAutoscaleOperationSpec,
|
|
711
723
|
});
|
|
712
724
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
713
|
-
restoreFrom: options
|
|
714
|
-
intervalInMs: options
|
|
725
|
+
restoreFrom: options?.resumeFrom,
|
|
726
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
715
727
|
});
|
|
716
728
|
await poller.poll();
|
|
717
729
|
return poller;
|
|
@@ -741,14 +753,19 @@ class CassandraResourcesImpl {
|
|
|
741
753
|
return this.client.sendOperationRequest(args, spec);
|
|
742
754
|
};
|
|
743
755
|
const sendOperationFn = async (args, spec) => {
|
|
744
|
-
var _a;
|
|
745
756
|
let currentRawResponse = undefined;
|
|
746
|
-
const providedCallback =
|
|
757
|
+
const providedCallback = args.options?.onResponse;
|
|
747
758
|
const callback = (rawResponse, flatResponse) => {
|
|
748
759
|
currentRawResponse = rawResponse;
|
|
749
|
-
providedCallback
|
|
760
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
761
|
+
};
|
|
762
|
+
const updatedArgs = {
|
|
763
|
+
...args,
|
|
764
|
+
options: {
|
|
765
|
+
...args.options,
|
|
766
|
+
onResponse: callback,
|
|
767
|
+
},
|
|
750
768
|
};
|
|
751
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
752
769
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
753
770
|
return {
|
|
754
771
|
flatResponse,
|
|
@@ -771,8 +788,8 @@ class CassandraResourcesImpl {
|
|
|
771
788
|
spec: migrateCassandraTableToManualThroughputOperationSpec,
|
|
772
789
|
});
|
|
773
790
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
774
|
-
restoreFrom: options
|
|
775
|
-
intervalInMs: options
|
|
791
|
+
restoreFrom: options?.resumeFrom,
|
|
792
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
776
793
|
});
|
|
777
794
|
await poller.poll();
|
|
778
795
|
return poller;
|