@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
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
8
|
import * as coreClient from "@azure/core-client";
|
|
10
9
|
import * as Mappers from "../models/mappers.js";
|
|
11
10
|
import * as Parameters from "../models/parameters.js";
|
|
@@ -14,6 +13,7 @@ import { createLroSpec } from "../lroImpl.js";
|
|
|
14
13
|
/// <reference lib="esnext.asynciterable" />
|
|
15
14
|
/** Class containing CassandraResources operations. */
|
|
16
15
|
export class CassandraResourcesImpl {
|
|
16
|
+
client;
|
|
17
17
|
/**
|
|
18
18
|
* Initialize a new instance of the class CassandraResources class.
|
|
19
19
|
* @param client Reference to the service client
|
|
@@ -37,39 +37,22 @@ export class CassandraResourcesImpl {
|
|
|
37
37
|
return this;
|
|
38
38
|
},
|
|
39
39
|
byPage: (settings) => {
|
|
40
|
-
if (settings
|
|
40
|
+
if (settings?.maxPageSize) {
|
|
41
41
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
42
42
|
}
|
|
43
43
|
return this.listCassandraKeyspacesPagingPage(resourceGroupName, accountName, options, settings);
|
|
44
44
|
},
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
listCassandraKeyspacesPagingPage(resourceGroupName, accountName, options, _settings) {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
yield yield __await(result.value || []);
|
|
52
|
-
});
|
|
47
|
+
async *listCassandraKeyspacesPagingPage(resourceGroupName, accountName, options, _settings) {
|
|
48
|
+
let result;
|
|
49
|
+
result = await this._listCassandraKeyspaces(resourceGroupName, accountName, options);
|
|
50
|
+
yield result.value || [];
|
|
53
51
|
}
|
|
54
|
-
listCassandraKeyspacesPagingAll(resourceGroupName, accountName, options) {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
for (var _d = true, _e = __asyncValues(this.listCassandraKeyspacesPagingPage(resourceGroupName, accountName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
59
|
-
_c = _f.value;
|
|
60
|
-
_d = false;
|
|
61
|
-
const page = _c;
|
|
62
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
66
|
-
finally {
|
|
67
|
-
try {
|
|
68
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
69
|
-
}
|
|
70
|
-
finally { if (e_1) throw e_1.error; }
|
|
71
|
-
}
|
|
72
|
-
});
|
|
52
|
+
async *listCassandraKeyspacesPagingAll(resourceGroupName, accountName, options) {
|
|
53
|
+
for await (const page of this.listCassandraKeyspacesPagingPage(resourceGroupName, accountName, options)) {
|
|
54
|
+
yield* page;
|
|
55
|
+
}
|
|
73
56
|
}
|
|
74
57
|
/**
|
|
75
58
|
* Lists the Cassandra table under an existing Azure Cosmos DB database account.
|
|
@@ -88,39 +71,22 @@ export class CassandraResourcesImpl {
|
|
|
88
71
|
return this;
|
|
89
72
|
},
|
|
90
73
|
byPage: (settings) => {
|
|
91
|
-
if (settings
|
|
74
|
+
if (settings?.maxPageSize) {
|
|
92
75
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
93
76
|
}
|
|
94
77
|
return this.listCassandraTablesPagingPage(resourceGroupName, accountName, keyspaceName, options, settings);
|
|
95
78
|
},
|
|
96
79
|
};
|
|
97
80
|
}
|
|
98
|
-
listCassandraTablesPagingPage(resourceGroupName, accountName, keyspaceName, options, _settings) {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
yield yield __await(result.value || []);
|
|
103
|
-
});
|
|
81
|
+
async *listCassandraTablesPagingPage(resourceGroupName, accountName, keyspaceName, options, _settings) {
|
|
82
|
+
let result;
|
|
83
|
+
result = await this._listCassandraTables(resourceGroupName, accountName, keyspaceName, options);
|
|
84
|
+
yield result.value || [];
|
|
104
85
|
}
|
|
105
|
-
listCassandraTablesPagingAll(resourceGroupName, accountName, keyspaceName, options) {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
for (var _d = true, _e = __asyncValues(this.listCassandraTablesPagingPage(resourceGroupName, accountName, keyspaceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
110
|
-
_c = _f.value;
|
|
111
|
-
_d = false;
|
|
112
|
-
const page = _c;
|
|
113
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
117
|
-
finally {
|
|
118
|
-
try {
|
|
119
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
120
|
-
}
|
|
121
|
-
finally { if (e_2) throw e_2.error; }
|
|
122
|
-
}
|
|
123
|
-
});
|
|
86
|
+
async *listCassandraTablesPagingAll(resourceGroupName, accountName, keyspaceName, options) {
|
|
87
|
+
for await (const page of this.listCassandraTablesPagingPage(resourceGroupName, accountName, keyspaceName, options)) {
|
|
88
|
+
yield* page;
|
|
89
|
+
}
|
|
124
90
|
}
|
|
125
91
|
/**
|
|
126
92
|
* Lists the Cassandra keyspaces under an existing Azure Cosmos DB database account.
|
|
@@ -156,14 +122,19 @@ export class CassandraResourcesImpl {
|
|
|
156
122
|
return this.client.sendOperationRequest(args, spec);
|
|
157
123
|
};
|
|
158
124
|
const sendOperationFn = async (args, spec) => {
|
|
159
|
-
var _a;
|
|
160
125
|
let currentRawResponse = undefined;
|
|
161
|
-
const providedCallback =
|
|
126
|
+
const providedCallback = args.options?.onResponse;
|
|
162
127
|
const callback = (rawResponse, flatResponse) => {
|
|
163
128
|
currentRawResponse = rawResponse;
|
|
164
|
-
providedCallback
|
|
129
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
130
|
+
};
|
|
131
|
+
const updatedArgs = {
|
|
132
|
+
...args,
|
|
133
|
+
options: {
|
|
134
|
+
...args.options,
|
|
135
|
+
onResponse: callback,
|
|
136
|
+
},
|
|
165
137
|
};
|
|
166
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
167
138
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
168
139
|
return {
|
|
169
140
|
flatResponse,
|
|
@@ -186,8 +157,8 @@ export class CassandraResourcesImpl {
|
|
|
186
157
|
spec: createUpdateCassandraKeyspaceOperationSpec,
|
|
187
158
|
});
|
|
188
159
|
const poller = await createHttpPoller(lro, {
|
|
189
|
-
restoreFrom: options
|
|
190
|
-
intervalInMs: options
|
|
160
|
+
restoreFrom: options?.resumeFrom,
|
|
161
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
191
162
|
});
|
|
192
163
|
await poller.poll();
|
|
193
164
|
return poller;
|
|
@@ -217,14 +188,19 @@ export class CassandraResourcesImpl {
|
|
|
217
188
|
return this.client.sendOperationRequest(args, spec);
|
|
218
189
|
};
|
|
219
190
|
const sendOperationFn = async (args, spec) => {
|
|
220
|
-
var _a;
|
|
221
191
|
let currentRawResponse = undefined;
|
|
222
|
-
const providedCallback =
|
|
192
|
+
const providedCallback = args.options?.onResponse;
|
|
223
193
|
const callback = (rawResponse, flatResponse) => {
|
|
224
194
|
currentRawResponse = rawResponse;
|
|
225
|
-
providedCallback
|
|
195
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
196
|
+
};
|
|
197
|
+
const updatedArgs = {
|
|
198
|
+
...args,
|
|
199
|
+
options: {
|
|
200
|
+
...args.options,
|
|
201
|
+
onResponse: callback,
|
|
202
|
+
},
|
|
226
203
|
};
|
|
227
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
228
204
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
229
205
|
return {
|
|
230
206
|
flatResponse,
|
|
@@ -241,8 +217,8 @@ export class CassandraResourcesImpl {
|
|
|
241
217
|
spec: deleteCassandraKeyspaceOperationSpec,
|
|
242
218
|
});
|
|
243
219
|
const poller = await createHttpPoller(lro, {
|
|
244
|
-
restoreFrom: options
|
|
245
|
-
intervalInMs: options
|
|
220
|
+
restoreFrom: options?.resumeFrom,
|
|
221
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
246
222
|
});
|
|
247
223
|
await poller.poll();
|
|
248
224
|
return poller;
|
|
@@ -283,14 +259,19 @@ export class CassandraResourcesImpl {
|
|
|
283
259
|
return this.client.sendOperationRequest(args, spec);
|
|
284
260
|
};
|
|
285
261
|
const sendOperationFn = async (args, spec) => {
|
|
286
|
-
var _a;
|
|
287
262
|
let currentRawResponse = undefined;
|
|
288
|
-
const providedCallback =
|
|
263
|
+
const providedCallback = args.options?.onResponse;
|
|
289
264
|
const callback = (rawResponse, flatResponse) => {
|
|
290
265
|
currentRawResponse = rawResponse;
|
|
291
|
-
providedCallback
|
|
266
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
267
|
+
};
|
|
268
|
+
const updatedArgs = {
|
|
269
|
+
...args,
|
|
270
|
+
options: {
|
|
271
|
+
...args.options,
|
|
272
|
+
onResponse: callback,
|
|
273
|
+
},
|
|
292
274
|
};
|
|
293
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
294
275
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
295
276
|
return {
|
|
296
277
|
flatResponse,
|
|
@@ -313,8 +294,8 @@ export class CassandraResourcesImpl {
|
|
|
313
294
|
spec: updateCassandraKeyspaceThroughputOperationSpec,
|
|
314
295
|
});
|
|
315
296
|
const poller = await createHttpPoller(lro, {
|
|
316
|
-
restoreFrom: options
|
|
317
|
-
intervalInMs: options
|
|
297
|
+
restoreFrom: options?.resumeFrom,
|
|
298
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
318
299
|
});
|
|
319
300
|
await poller.poll();
|
|
320
301
|
return poller;
|
|
@@ -344,14 +325,19 @@ export class CassandraResourcesImpl {
|
|
|
344
325
|
return this.client.sendOperationRequest(args, spec);
|
|
345
326
|
};
|
|
346
327
|
const sendOperationFn = async (args, spec) => {
|
|
347
|
-
var _a;
|
|
348
328
|
let currentRawResponse = undefined;
|
|
349
|
-
const providedCallback =
|
|
329
|
+
const providedCallback = args.options?.onResponse;
|
|
350
330
|
const callback = (rawResponse, flatResponse) => {
|
|
351
331
|
currentRawResponse = rawResponse;
|
|
352
|
-
providedCallback
|
|
332
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
333
|
+
};
|
|
334
|
+
const updatedArgs = {
|
|
335
|
+
...args,
|
|
336
|
+
options: {
|
|
337
|
+
...args.options,
|
|
338
|
+
onResponse: callback,
|
|
339
|
+
},
|
|
353
340
|
};
|
|
354
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
355
341
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
356
342
|
return {
|
|
357
343
|
flatResponse,
|
|
@@ -368,8 +354,8 @@ export class CassandraResourcesImpl {
|
|
|
368
354
|
spec: migrateCassandraKeyspaceToAutoscaleOperationSpec,
|
|
369
355
|
});
|
|
370
356
|
const poller = await createHttpPoller(lro, {
|
|
371
|
-
restoreFrom: options
|
|
372
|
-
intervalInMs: options
|
|
357
|
+
restoreFrom: options?.resumeFrom,
|
|
358
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
373
359
|
});
|
|
374
360
|
await poller.poll();
|
|
375
361
|
return poller;
|
|
@@ -397,14 +383,19 @@ export class CassandraResourcesImpl {
|
|
|
397
383
|
return this.client.sendOperationRequest(args, spec);
|
|
398
384
|
};
|
|
399
385
|
const sendOperationFn = async (args, spec) => {
|
|
400
|
-
var _a;
|
|
401
386
|
let currentRawResponse = undefined;
|
|
402
|
-
const providedCallback =
|
|
387
|
+
const providedCallback = args.options?.onResponse;
|
|
403
388
|
const callback = (rawResponse, flatResponse) => {
|
|
404
389
|
currentRawResponse = rawResponse;
|
|
405
|
-
providedCallback
|
|
390
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
391
|
+
};
|
|
392
|
+
const updatedArgs = {
|
|
393
|
+
...args,
|
|
394
|
+
options: {
|
|
395
|
+
...args.options,
|
|
396
|
+
onResponse: callback,
|
|
397
|
+
},
|
|
406
398
|
};
|
|
407
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
408
399
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
409
400
|
return {
|
|
410
401
|
flatResponse,
|
|
@@ -421,8 +412,8 @@ export class CassandraResourcesImpl {
|
|
|
421
412
|
spec: migrateCassandraKeyspaceToManualThroughputOperationSpec,
|
|
422
413
|
});
|
|
423
414
|
const poller = await createHttpPoller(lro, {
|
|
424
|
-
restoreFrom: options
|
|
425
|
-
intervalInMs: options
|
|
415
|
+
restoreFrom: options?.resumeFrom,
|
|
416
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
426
417
|
});
|
|
427
418
|
await poller.poll();
|
|
428
419
|
return poller;
|
|
@@ -474,14 +465,19 @@ export class CassandraResourcesImpl {
|
|
|
474
465
|
return this.client.sendOperationRequest(args, spec);
|
|
475
466
|
};
|
|
476
467
|
const sendOperationFn = async (args, spec) => {
|
|
477
|
-
var _a;
|
|
478
468
|
let currentRawResponse = undefined;
|
|
479
|
-
const providedCallback =
|
|
469
|
+
const providedCallback = args.options?.onResponse;
|
|
480
470
|
const callback = (rawResponse, flatResponse) => {
|
|
481
471
|
currentRawResponse = rawResponse;
|
|
482
|
-
providedCallback
|
|
472
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
473
|
+
};
|
|
474
|
+
const updatedArgs = {
|
|
475
|
+
...args,
|
|
476
|
+
options: {
|
|
477
|
+
...args.options,
|
|
478
|
+
onResponse: callback,
|
|
479
|
+
},
|
|
483
480
|
};
|
|
484
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
485
481
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
486
482
|
return {
|
|
487
483
|
flatResponse,
|
|
@@ -505,8 +501,8 @@ export class CassandraResourcesImpl {
|
|
|
505
501
|
spec: createUpdateCassandraTableOperationSpec,
|
|
506
502
|
});
|
|
507
503
|
const poller = await createHttpPoller(lro, {
|
|
508
|
-
restoreFrom: options
|
|
509
|
-
intervalInMs: options
|
|
504
|
+
restoreFrom: options?.resumeFrom,
|
|
505
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
510
506
|
});
|
|
511
507
|
await poller.poll();
|
|
512
508
|
return poller;
|
|
@@ -538,14 +534,19 @@ export class CassandraResourcesImpl {
|
|
|
538
534
|
return this.client.sendOperationRequest(args, spec);
|
|
539
535
|
};
|
|
540
536
|
const sendOperationFn = async (args, spec) => {
|
|
541
|
-
var _a;
|
|
542
537
|
let currentRawResponse = undefined;
|
|
543
|
-
const providedCallback =
|
|
538
|
+
const providedCallback = args.options?.onResponse;
|
|
544
539
|
const callback = (rawResponse, flatResponse) => {
|
|
545
540
|
currentRawResponse = rawResponse;
|
|
546
|
-
providedCallback
|
|
541
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
542
|
+
};
|
|
543
|
+
const updatedArgs = {
|
|
544
|
+
...args,
|
|
545
|
+
options: {
|
|
546
|
+
...args.options,
|
|
547
|
+
onResponse: callback,
|
|
548
|
+
},
|
|
547
549
|
};
|
|
548
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
549
550
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
550
551
|
return {
|
|
551
552
|
flatResponse,
|
|
@@ -568,8 +569,8 @@ export class CassandraResourcesImpl {
|
|
|
568
569
|
spec: deleteCassandraTableOperationSpec,
|
|
569
570
|
});
|
|
570
571
|
const poller = await createHttpPoller(lro, {
|
|
571
|
-
restoreFrom: options
|
|
572
|
-
intervalInMs: options
|
|
572
|
+
restoreFrom: options?.resumeFrom,
|
|
573
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
573
574
|
});
|
|
574
575
|
await poller.poll();
|
|
575
576
|
return poller;
|
|
@@ -613,14 +614,19 @@ export class CassandraResourcesImpl {
|
|
|
613
614
|
return this.client.sendOperationRequest(args, spec);
|
|
614
615
|
};
|
|
615
616
|
const sendOperationFn = async (args, spec) => {
|
|
616
|
-
var _a;
|
|
617
617
|
let currentRawResponse = undefined;
|
|
618
|
-
const providedCallback =
|
|
618
|
+
const providedCallback = args.options?.onResponse;
|
|
619
619
|
const callback = (rawResponse, flatResponse) => {
|
|
620
620
|
currentRawResponse = rawResponse;
|
|
621
|
-
providedCallback
|
|
621
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
622
|
+
};
|
|
623
|
+
const updatedArgs = {
|
|
624
|
+
...args,
|
|
625
|
+
options: {
|
|
626
|
+
...args.options,
|
|
627
|
+
onResponse: callback,
|
|
628
|
+
},
|
|
622
629
|
};
|
|
623
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
624
630
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
625
631
|
return {
|
|
626
632
|
flatResponse,
|
|
@@ -644,8 +650,8 @@ export class CassandraResourcesImpl {
|
|
|
644
650
|
spec: updateCassandraTableThroughputOperationSpec,
|
|
645
651
|
});
|
|
646
652
|
const poller = await createHttpPoller(lro, {
|
|
647
|
-
restoreFrom: options
|
|
648
|
-
intervalInMs: options
|
|
653
|
+
restoreFrom: options?.resumeFrom,
|
|
654
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
649
655
|
});
|
|
650
656
|
await poller.poll();
|
|
651
657
|
return poller;
|
|
@@ -677,14 +683,19 @@ export class CassandraResourcesImpl {
|
|
|
677
683
|
return this.client.sendOperationRequest(args, spec);
|
|
678
684
|
};
|
|
679
685
|
const sendOperationFn = async (args, spec) => {
|
|
680
|
-
var _a;
|
|
681
686
|
let currentRawResponse = undefined;
|
|
682
|
-
const providedCallback =
|
|
687
|
+
const providedCallback = args.options?.onResponse;
|
|
683
688
|
const callback = (rawResponse, flatResponse) => {
|
|
684
689
|
currentRawResponse = rawResponse;
|
|
685
|
-
providedCallback
|
|
690
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
691
|
+
};
|
|
692
|
+
const updatedArgs = {
|
|
693
|
+
...args,
|
|
694
|
+
options: {
|
|
695
|
+
...args.options,
|
|
696
|
+
onResponse: callback,
|
|
697
|
+
},
|
|
686
698
|
};
|
|
687
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
688
699
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
689
700
|
return {
|
|
690
701
|
flatResponse,
|
|
@@ -707,8 +718,8 @@ export class CassandraResourcesImpl {
|
|
|
707
718
|
spec: migrateCassandraTableToAutoscaleOperationSpec,
|
|
708
719
|
});
|
|
709
720
|
const poller = await createHttpPoller(lro, {
|
|
710
|
-
restoreFrom: options
|
|
711
|
-
intervalInMs: options
|
|
721
|
+
restoreFrom: options?.resumeFrom,
|
|
722
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
712
723
|
});
|
|
713
724
|
await poller.poll();
|
|
714
725
|
return poller;
|
|
@@ -738,14 +749,19 @@ export class CassandraResourcesImpl {
|
|
|
738
749
|
return this.client.sendOperationRequest(args, spec);
|
|
739
750
|
};
|
|
740
751
|
const sendOperationFn = async (args, spec) => {
|
|
741
|
-
var _a;
|
|
742
752
|
let currentRawResponse = undefined;
|
|
743
|
-
const providedCallback =
|
|
753
|
+
const providedCallback = args.options?.onResponse;
|
|
744
754
|
const callback = (rawResponse, flatResponse) => {
|
|
745
755
|
currentRawResponse = rawResponse;
|
|
746
|
-
providedCallback
|
|
756
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
757
|
+
};
|
|
758
|
+
const updatedArgs = {
|
|
759
|
+
...args,
|
|
760
|
+
options: {
|
|
761
|
+
...args.options,
|
|
762
|
+
onResponse: callback,
|
|
763
|
+
},
|
|
747
764
|
};
|
|
748
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
749
765
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
750
766
|
return {
|
|
751
767
|
flatResponse,
|
|
@@ -768,8 +784,8 @@ export class CassandraResourcesImpl {
|
|
|
768
784
|
spec: migrateCassandraTableToManualThroughputOperationSpec,
|
|
769
785
|
});
|
|
770
786
|
const poller = await createHttpPoller(lro, {
|
|
771
|
-
restoreFrom: options
|
|
772
|
-
intervalInMs: options
|
|
787
|
+
restoreFrom: options?.resumeFrom,
|
|
788
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
773
789
|
});
|
|
774
790
|
await poller.poll();
|
|
775
791
|
return poller;
|