@azure/arm-cosmosdb 16.3.0-alpha.20250718.1 → 16.3.0-alpha.20250721.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/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 GremlinResources operations. */
|
|
19
19
|
class GremlinResourcesImpl {
|
|
20
|
+
client;
|
|
20
21
|
/**
|
|
21
22
|
* Initialize a new instance of the class GremlinResources class.
|
|
22
23
|
* @param client Reference to the service client
|
|
@@ -40,39 +41,22 @@ class GremlinResourcesImpl {
|
|
|
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.listGremlinDatabasesPagingPage(resourceGroupName, accountName, options, settings);
|
|
47
48
|
},
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
|
-
listGremlinDatabasesPagingPage(resourceGroupName, accountName, options, _settings) {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
yield yield tslib_1.__await(result.value || []);
|
|
55
|
-
});
|
|
51
|
+
async *listGremlinDatabasesPagingPage(resourceGroupName, accountName, options, _settings) {
|
|
52
|
+
let result;
|
|
53
|
+
result = await this._listGremlinDatabases(resourceGroupName, accountName, options);
|
|
54
|
+
yield result.value || [];
|
|
56
55
|
}
|
|
57
|
-
listGremlinDatabasesPagingAll(resourceGroupName, accountName, options) {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listGremlinDatabasesPagingPage(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 *listGremlinDatabasesPagingAll(resourceGroupName, accountName, options) {
|
|
57
|
+
for await (const page of this.listGremlinDatabasesPagingPage(resourceGroupName, accountName, options)) {
|
|
58
|
+
yield* page;
|
|
59
|
+
}
|
|
76
60
|
}
|
|
77
61
|
/**
|
|
78
62
|
* Lists the Gremlin graph under an existing Azure Cosmos DB database account.
|
|
@@ -91,39 +75,22 @@ class GremlinResourcesImpl {
|
|
|
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.listGremlinGraphsPagingPage(resourceGroupName, accountName, databaseName, options, settings);
|
|
98
82
|
},
|
|
99
83
|
};
|
|
100
84
|
}
|
|
101
|
-
listGremlinGraphsPagingPage(resourceGroupName, accountName, databaseName, options, _settings) {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
yield yield tslib_1.__await(result.value || []);
|
|
106
|
-
});
|
|
85
|
+
async *listGremlinGraphsPagingPage(resourceGroupName, accountName, databaseName, options, _settings) {
|
|
86
|
+
let result;
|
|
87
|
+
result = await this._listGremlinGraphs(resourceGroupName, accountName, databaseName, options);
|
|
88
|
+
yield result.value || [];
|
|
107
89
|
}
|
|
108
|
-
listGremlinGraphsPagingAll(resourceGroupName, accountName, databaseName, options) {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listGremlinGraphsPagingPage(resourceGroupName, accountName, databaseName, 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 *listGremlinGraphsPagingAll(resourceGroupName, accountName, databaseName, options) {
|
|
91
|
+
for await (const page of this.listGremlinGraphsPagingPage(resourceGroupName, accountName, databaseName, options)) {
|
|
92
|
+
yield* page;
|
|
93
|
+
}
|
|
127
94
|
}
|
|
128
95
|
/**
|
|
129
96
|
* Lists the Gremlin databases under an existing Azure Cosmos DB database account.
|
|
@@ -159,14 +126,19 @@ class GremlinResourcesImpl {
|
|
|
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 GremlinResourcesImpl {
|
|
|
189
161
|
spec: createUpdateGremlinDatabaseOperationSpec,
|
|
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 GremlinResourcesImpl {
|
|
|
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 GremlinResourcesImpl {
|
|
|
244
221
|
spec: deleteGremlinDatabaseOperationSpec,
|
|
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 GremlinResourcesImpl {
|
|
|
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 GremlinResourcesImpl {
|
|
|
316
298
|
spec: updateGremlinDatabaseThroughputOperationSpec,
|
|
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 GremlinResourcesImpl {
|
|
|
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 GremlinResourcesImpl {
|
|
|
371
358
|
spec: migrateGremlinDatabaseToAutoscaleOperationSpec,
|
|
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 GremlinResourcesImpl {
|
|
|
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 GremlinResourcesImpl {
|
|
|
424
416
|
spec: migrateGremlinDatabaseToManualThroughputOperationSpec,
|
|
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;
|
|
@@ -476,14 +468,19 @@ class GremlinResourcesImpl {
|
|
|
476
468
|
return this.client.sendOperationRequest(args, spec);
|
|
477
469
|
};
|
|
478
470
|
const sendOperationFn = async (args, spec) => {
|
|
479
|
-
var _a;
|
|
480
471
|
let currentRawResponse = undefined;
|
|
481
|
-
const providedCallback =
|
|
472
|
+
const providedCallback = args.options?.onResponse;
|
|
482
473
|
const callback = (rawResponse, flatResponse) => {
|
|
483
474
|
currentRawResponse = rawResponse;
|
|
484
|
-
providedCallback
|
|
475
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
476
|
+
};
|
|
477
|
+
const updatedArgs = {
|
|
478
|
+
...args,
|
|
479
|
+
options: {
|
|
480
|
+
...args.options,
|
|
481
|
+
onResponse: callback,
|
|
482
|
+
},
|
|
485
483
|
};
|
|
486
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
487
484
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
488
485
|
return {
|
|
489
486
|
flatResponse,
|
|
@@ -507,8 +504,8 @@ class GremlinResourcesImpl {
|
|
|
507
504
|
spec: createUpdateGremlinGraphOperationSpec,
|
|
508
505
|
});
|
|
509
506
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
510
|
-
restoreFrom: options
|
|
511
|
-
intervalInMs: options
|
|
507
|
+
restoreFrom: options?.resumeFrom,
|
|
508
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
512
509
|
});
|
|
513
510
|
await poller.poll();
|
|
514
511
|
return poller;
|
|
@@ -539,14 +536,19 @@ class GremlinResourcesImpl {
|
|
|
539
536
|
return this.client.sendOperationRequest(args, spec);
|
|
540
537
|
};
|
|
541
538
|
const sendOperationFn = async (args, spec) => {
|
|
542
|
-
var _a;
|
|
543
539
|
let currentRawResponse = undefined;
|
|
544
|
-
const providedCallback =
|
|
540
|
+
const providedCallback = args.options?.onResponse;
|
|
545
541
|
const callback = (rawResponse, flatResponse) => {
|
|
546
542
|
currentRawResponse = rawResponse;
|
|
547
|
-
providedCallback
|
|
543
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
544
|
+
};
|
|
545
|
+
const updatedArgs = {
|
|
546
|
+
...args,
|
|
547
|
+
options: {
|
|
548
|
+
...args.options,
|
|
549
|
+
onResponse: callback,
|
|
550
|
+
},
|
|
548
551
|
};
|
|
549
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
550
552
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
551
553
|
return {
|
|
552
554
|
flatResponse,
|
|
@@ -569,8 +571,8 @@ class GremlinResourcesImpl {
|
|
|
569
571
|
spec: deleteGremlinGraphOperationSpec,
|
|
570
572
|
});
|
|
571
573
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
572
|
-
restoreFrom: options
|
|
573
|
-
intervalInMs: options
|
|
574
|
+
restoreFrom: options?.resumeFrom,
|
|
575
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
574
576
|
});
|
|
575
577
|
await poller.poll();
|
|
576
578
|
return poller;
|
|
@@ -614,14 +616,19 @@ class GremlinResourcesImpl {
|
|
|
614
616
|
return this.client.sendOperationRequest(args, spec);
|
|
615
617
|
};
|
|
616
618
|
const sendOperationFn = async (args, spec) => {
|
|
617
|
-
var _a;
|
|
618
619
|
let currentRawResponse = undefined;
|
|
619
|
-
const providedCallback =
|
|
620
|
+
const providedCallback = args.options?.onResponse;
|
|
620
621
|
const callback = (rawResponse, flatResponse) => {
|
|
621
622
|
currentRawResponse = rawResponse;
|
|
622
|
-
providedCallback
|
|
623
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
624
|
+
};
|
|
625
|
+
const updatedArgs = {
|
|
626
|
+
...args,
|
|
627
|
+
options: {
|
|
628
|
+
...args.options,
|
|
629
|
+
onResponse: callback,
|
|
630
|
+
},
|
|
623
631
|
};
|
|
624
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
625
632
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
626
633
|
return {
|
|
627
634
|
flatResponse,
|
|
@@ -645,8 +652,8 @@ class GremlinResourcesImpl {
|
|
|
645
652
|
spec: updateGremlinGraphThroughputOperationSpec,
|
|
646
653
|
});
|
|
647
654
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
648
|
-
restoreFrom: options
|
|
649
|
-
intervalInMs: options
|
|
655
|
+
restoreFrom: options?.resumeFrom,
|
|
656
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
650
657
|
});
|
|
651
658
|
await poller.poll();
|
|
652
659
|
return poller;
|
|
@@ -678,14 +685,19 @@ class GremlinResourcesImpl {
|
|
|
678
685
|
return this.client.sendOperationRequest(args, spec);
|
|
679
686
|
};
|
|
680
687
|
const sendOperationFn = async (args, spec) => {
|
|
681
|
-
var _a;
|
|
682
688
|
let currentRawResponse = undefined;
|
|
683
|
-
const providedCallback =
|
|
689
|
+
const providedCallback = args.options?.onResponse;
|
|
684
690
|
const callback = (rawResponse, flatResponse) => {
|
|
685
691
|
currentRawResponse = rawResponse;
|
|
686
|
-
providedCallback
|
|
692
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
693
|
+
};
|
|
694
|
+
const updatedArgs = {
|
|
695
|
+
...args,
|
|
696
|
+
options: {
|
|
697
|
+
...args.options,
|
|
698
|
+
onResponse: callback,
|
|
699
|
+
},
|
|
687
700
|
};
|
|
688
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
689
701
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
690
702
|
return {
|
|
691
703
|
flatResponse,
|
|
@@ -708,8 +720,8 @@ class GremlinResourcesImpl {
|
|
|
708
720
|
spec: migrateGremlinGraphToAutoscaleOperationSpec,
|
|
709
721
|
});
|
|
710
722
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
711
|
-
restoreFrom: options
|
|
712
|
-
intervalInMs: options
|
|
723
|
+
restoreFrom: options?.resumeFrom,
|
|
724
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
713
725
|
});
|
|
714
726
|
await poller.poll();
|
|
715
727
|
return poller;
|
|
@@ -739,14 +751,19 @@ class GremlinResourcesImpl {
|
|
|
739
751
|
return this.client.sendOperationRequest(args, spec);
|
|
740
752
|
};
|
|
741
753
|
const sendOperationFn = async (args, spec) => {
|
|
742
|
-
var _a;
|
|
743
754
|
let currentRawResponse = undefined;
|
|
744
|
-
const providedCallback =
|
|
755
|
+
const providedCallback = args.options?.onResponse;
|
|
745
756
|
const callback = (rawResponse, flatResponse) => {
|
|
746
757
|
currentRawResponse = rawResponse;
|
|
747
|
-
providedCallback
|
|
758
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
759
|
+
};
|
|
760
|
+
const updatedArgs = {
|
|
761
|
+
...args,
|
|
762
|
+
options: {
|
|
763
|
+
...args.options,
|
|
764
|
+
onResponse: callback,
|
|
765
|
+
},
|
|
748
766
|
};
|
|
749
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
750
767
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
751
768
|
return {
|
|
752
769
|
flatResponse,
|
|
@@ -769,8 +786,8 @@ class GremlinResourcesImpl {
|
|
|
769
786
|
spec: migrateGremlinGraphToManualThroughputOperationSpec,
|
|
770
787
|
});
|
|
771
788
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
772
|
-
restoreFrom: options
|
|
773
|
-
intervalInMs: options
|
|
789
|
+
restoreFrom: options?.resumeFrom,
|
|
790
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
774
791
|
});
|
|
775
792
|
await poller.poll();
|
|
776
793
|
return poller;
|
|
@@ -801,14 +818,19 @@ class GremlinResourcesImpl {
|
|
|
801
818
|
return this.client.sendOperationRequest(args, spec);
|
|
802
819
|
};
|
|
803
820
|
const sendOperationFn = async (args, spec) => {
|
|
804
|
-
var _a;
|
|
805
821
|
let currentRawResponse = undefined;
|
|
806
|
-
const providedCallback =
|
|
822
|
+
const providedCallback = args.options?.onResponse;
|
|
807
823
|
const callback = (rawResponse, flatResponse) => {
|
|
808
824
|
currentRawResponse = rawResponse;
|
|
809
|
-
providedCallback
|
|
825
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
826
|
+
};
|
|
827
|
+
const updatedArgs = {
|
|
828
|
+
...args,
|
|
829
|
+
options: {
|
|
830
|
+
...args.options,
|
|
831
|
+
onResponse: callback,
|
|
832
|
+
},
|
|
810
833
|
};
|
|
811
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
812
834
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
813
835
|
return {
|
|
814
836
|
flatResponse,
|
|
@@ -832,8 +854,8 @@ class GremlinResourcesImpl {
|
|
|
832
854
|
spec: retrieveContinuousBackupInformationOperationSpec,
|
|
833
855
|
});
|
|
834
856
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
835
|
-
restoreFrom: options
|
|
836
|
-
intervalInMs: options
|
|
857
|
+
restoreFrom: options?.resumeFrom,
|
|
858
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
837
859
|
resourceLocationConfig: "location",
|
|
838
860
|
});
|
|
839
861
|
await poller.poll();
|