@azure/arm-cosmosdb 16.3.0-alpha.20250620.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/commonjs/tsdoc-metadata.json +11 -11
- 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
- /package/review/{arm-cosmosdb.api.md → arm-cosmosdb-node.api.md} +0 -0
|
@@ -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 TableResources operations. */
|
|
16
15
|
export class TableResourcesImpl {
|
|
16
|
+
client;
|
|
17
17
|
/**
|
|
18
18
|
* Initialize a new instance of the class TableResources class.
|
|
19
19
|
* @param client Reference to the service client
|
|
@@ -37,39 +37,22 @@ export class TableResourcesImpl {
|
|
|
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.listTablesPagingPage(resourceGroupName, accountName, options, settings);
|
|
44
44
|
},
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
listTablesPagingPage(resourceGroupName, accountName, options, _settings) {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
yield yield __await(result.value || []);
|
|
52
|
-
});
|
|
47
|
+
async *listTablesPagingPage(resourceGroupName, accountName, options, _settings) {
|
|
48
|
+
let result;
|
|
49
|
+
result = await this._listTables(resourceGroupName, accountName, options);
|
|
50
|
+
yield result.value || [];
|
|
53
51
|
}
|
|
54
|
-
listTablesPagingAll(resourceGroupName, accountName, options) {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
for (var _d = true, _e = __asyncValues(this.listTablesPagingPage(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 *listTablesPagingAll(resourceGroupName, accountName, options) {
|
|
53
|
+
for await (const page of this.listTablesPagingPage(resourceGroupName, accountName, options)) {
|
|
54
|
+
yield* page;
|
|
55
|
+
}
|
|
73
56
|
}
|
|
74
57
|
/**
|
|
75
58
|
* Lists the Tables under an existing Azure Cosmos DB database account.
|
|
@@ -103,14 +86,19 @@ export class TableResourcesImpl {
|
|
|
103
86
|
return this.client.sendOperationRequest(args, spec);
|
|
104
87
|
};
|
|
105
88
|
const sendOperationFn = async (args, spec) => {
|
|
106
|
-
var _a;
|
|
107
89
|
let currentRawResponse = undefined;
|
|
108
|
-
const providedCallback =
|
|
90
|
+
const providedCallback = args.options?.onResponse;
|
|
109
91
|
const callback = (rawResponse, flatResponse) => {
|
|
110
92
|
currentRawResponse = rawResponse;
|
|
111
|
-
providedCallback
|
|
93
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
94
|
+
};
|
|
95
|
+
const updatedArgs = {
|
|
96
|
+
...args,
|
|
97
|
+
options: {
|
|
98
|
+
...args.options,
|
|
99
|
+
onResponse: callback,
|
|
100
|
+
},
|
|
112
101
|
};
|
|
113
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
114
102
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
115
103
|
return {
|
|
116
104
|
flatResponse,
|
|
@@ -133,8 +121,8 @@ export class TableResourcesImpl {
|
|
|
133
121
|
spec: createUpdateTableOperationSpec,
|
|
134
122
|
});
|
|
135
123
|
const poller = await createHttpPoller(lro, {
|
|
136
|
-
restoreFrom: options
|
|
137
|
-
intervalInMs: options
|
|
124
|
+
restoreFrom: options?.resumeFrom,
|
|
125
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
138
126
|
});
|
|
139
127
|
await poller.poll();
|
|
140
128
|
return poller;
|
|
@@ -163,14 +151,19 @@ export class TableResourcesImpl {
|
|
|
163
151
|
return this.client.sendOperationRequest(args, spec);
|
|
164
152
|
};
|
|
165
153
|
const sendOperationFn = async (args, spec) => {
|
|
166
|
-
var _a;
|
|
167
154
|
let currentRawResponse = undefined;
|
|
168
|
-
const providedCallback =
|
|
155
|
+
const providedCallback = args.options?.onResponse;
|
|
169
156
|
const callback = (rawResponse, flatResponse) => {
|
|
170
157
|
currentRawResponse = rawResponse;
|
|
171
|
-
providedCallback
|
|
158
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
159
|
+
};
|
|
160
|
+
const updatedArgs = {
|
|
161
|
+
...args,
|
|
162
|
+
options: {
|
|
163
|
+
...args.options,
|
|
164
|
+
onResponse: callback,
|
|
165
|
+
},
|
|
172
166
|
};
|
|
173
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
174
167
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
175
168
|
return {
|
|
176
169
|
flatResponse,
|
|
@@ -187,8 +180,8 @@ export class TableResourcesImpl {
|
|
|
187
180
|
spec: deleteTableOperationSpec,
|
|
188
181
|
});
|
|
189
182
|
const poller = await createHttpPoller(lro, {
|
|
190
|
-
restoreFrom: options
|
|
191
|
-
intervalInMs: options
|
|
183
|
+
restoreFrom: options?.resumeFrom,
|
|
184
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
192
185
|
});
|
|
193
186
|
await poller.poll();
|
|
194
187
|
return poller;
|
|
@@ -229,14 +222,19 @@ export class TableResourcesImpl {
|
|
|
229
222
|
return this.client.sendOperationRequest(args, spec);
|
|
230
223
|
};
|
|
231
224
|
const sendOperationFn = async (args, spec) => {
|
|
232
|
-
var _a;
|
|
233
225
|
let currentRawResponse = undefined;
|
|
234
|
-
const providedCallback =
|
|
226
|
+
const providedCallback = args.options?.onResponse;
|
|
235
227
|
const callback = (rawResponse, flatResponse) => {
|
|
236
228
|
currentRawResponse = rawResponse;
|
|
237
|
-
providedCallback
|
|
229
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
230
|
+
};
|
|
231
|
+
const updatedArgs = {
|
|
232
|
+
...args,
|
|
233
|
+
options: {
|
|
234
|
+
...args.options,
|
|
235
|
+
onResponse: callback,
|
|
236
|
+
},
|
|
238
237
|
};
|
|
239
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
240
238
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
241
239
|
return {
|
|
242
240
|
flatResponse,
|
|
@@ -259,8 +257,8 @@ export class TableResourcesImpl {
|
|
|
259
257
|
spec: updateTableThroughputOperationSpec,
|
|
260
258
|
});
|
|
261
259
|
const poller = await createHttpPoller(lro, {
|
|
262
|
-
restoreFrom: options
|
|
263
|
-
intervalInMs: options
|
|
260
|
+
restoreFrom: options?.resumeFrom,
|
|
261
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
264
262
|
});
|
|
265
263
|
await poller.poll();
|
|
266
264
|
return poller;
|
|
@@ -290,14 +288,19 @@ export class TableResourcesImpl {
|
|
|
290
288
|
return this.client.sendOperationRequest(args, spec);
|
|
291
289
|
};
|
|
292
290
|
const sendOperationFn = async (args, spec) => {
|
|
293
|
-
var _a;
|
|
294
291
|
let currentRawResponse = undefined;
|
|
295
|
-
const providedCallback =
|
|
292
|
+
const providedCallback = args.options?.onResponse;
|
|
296
293
|
const callback = (rawResponse, flatResponse) => {
|
|
297
294
|
currentRawResponse = rawResponse;
|
|
298
|
-
providedCallback
|
|
295
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
296
|
+
};
|
|
297
|
+
const updatedArgs = {
|
|
298
|
+
...args,
|
|
299
|
+
options: {
|
|
300
|
+
...args.options,
|
|
301
|
+
onResponse: callback,
|
|
302
|
+
},
|
|
299
303
|
};
|
|
300
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
301
304
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
302
305
|
return {
|
|
303
306
|
flatResponse,
|
|
@@ -314,8 +317,8 @@ export class TableResourcesImpl {
|
|
|
314
317
|
spec: migrateTableToAutoscaleOperationSpec,
|
|
315
318
|
});
|
|
316
319
|
const poller = await createHttpPoller(lro, {
|
|
317
|
-
restoreFrom: options
|
|
318
|
-
intervalInMs: options
|
|
320
|
+
restoreFrom: options?.resumeFrom,
|
|
321
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
319
322
|
});
|
|
320
323
|
await poller.poll();
|
|
321
324
|
return poller;
|
|
@@ -343,14 +346,19 @@ export class TableResourcesImpl {
|
|
|
343
346
|
return this.client.sendOperationRequest(args, spec);
|
|
344
347
|
};
|
|
345
348
|
const sendOperationFn = async (args, spec) => {
|
|
346
|
-
var _a;
|
|
347
349
|
let currentRawResponse = undefined;
|
|
348
|
-
const providedCallback =
|
|
350
|
+
const providedCallback = args.options?.onResponse;
|
|
349
351
|
const callback = (rawResponse, flatResponse) => {
|
|
350
352
|
currentRawResponse = rawResponse;
|
|
351
|
-
providedCallback
|
|
353
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
354
|
+
};
|
|
355
|
+
const updatedArgs = {
|
|
356
|
+
...args,
|
|
357
|
+
options: {
|
|
358
|
+
...args.options,
|
|
359
|
+
onResponse: callback,
|
|
360
|
+
},
|
|
352
361
|
};
|
|
353
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
354
362
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
355
363
|
return {
|
|
356
364
|
flatResponse,
|
|
@@ -367,8 +375,8 @@ export class TableResourcesImpl {
|
|
|
367
375
|
spec: migrateTableToManualThroughputOperationSpec,
|
|
368
376
|
});
|
|
369
377
|
const poller = await createHttpPoller(lro, {
|
|
370
|
-
restoreFrom: options
|
|
371
|
-
intervalInMs: options
|
|
378
|
+
restoreFrom: options?.resumeFrom,
|
|
379
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
372
380
|
});
|
|
373
381
|
await poller.poll();
|
|
374
382
|
return poller;
|
|
@@ -397,14 +405,19 @@ export class TableResourcesImpl {
|
|
|
397
405
|
return this.client.sendOperationRequest(args, spec);
|
|
398
406
|
};
|
|
399
407
|
const sendOperationFn = async (args, spec) => {
|
|
400
|
-
var _a;
|
|
401
408
|
let currentRawResponse = undefined;
|
|
402
|
-
const providedCallback =
|
|
409
|
+
const providedCallback = args.options?.onResponse;
|
|
403
410
|
const callback = (rawResponse, flatResponse) => {
|
|
404
411
|
currentRawResponse = rawResponse;
|
|
405
|
-
providedCallback
|
|
412
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
413
|
+
};
|
|
414
|
+
const updatedArgs = {
|
|
415
|
+
...args,
|
|
416
|
+
options: {
|
|
417
|
+
...args.options,
|
|
418
|
+
onResponse: callback,
|
|
419
|
+
},
|
|
406
420
|
};
|
|
407
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
408
421
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
409
422
|
return {
|
|
410
423
|
flatResponse,
|
|
@@ -421,8 +434,8 @@ export class TableResourcesImpl {
|
|
|
421
434
|
spec: retrieveContinuousBackupInformationOperationSpec,
|
|
422
435
|
});
|
|
423
436
|
const poller = await createHttpPoller(lro, {
|
|
424
|
-
restoreFrom: options
|
|
425
|
-
intervalInMs: options
|
|
437
|
+
restoreFrom: options?.resumeFrom,
|
|
438
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
426
439
|
resourceLocationConfig: "location",
|
|
427
440
|
});
|
|
428
441
|
await poller.poll();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tableResources.js","sourceRoot":"","sources":["../../../src/operations/tableResources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AA0B9C,4CAA4C;AAC5C,kDAAkD;AAClD,MAAM,OAAO,kBAAkB;IAG7B;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,UAAU,CACf,iBAAyB,EACzB,WAAmB,EACnB,OAAgD;QAEhD,MAAM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QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,QAAQ;IAChC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,SAAS;KACrB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { TableResources } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { CosmosDBManagementClient } from \"../cosmosDBManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n TableGetResults,\n TableResourcesListTablesOptionalParams,\n TableResourcesListTablesResponse,\n TableResourcesGetTableOptionalParams,\n TableResourcesGetTableResponse,\n TableCreateUpdateParameters,\n TableResourcesCreateUpdateTableOptionalParams,\n TableResourcesCreateUpdateTableResponse,\n TableResourcesDeleteTableOptionalParams,\n TableResourcesDeleteTableResponse,\n TableResourcesGetTableThroughputOptionalParams,\n TableResourcesGetTableThroughputResponse,\n ThroughputSettingsUpdateParameters,\n TableResourcesUpdateTableThroughputOptionalParams,\n TableResourcesUpdateTableThroughputResponse,\n TableResourcesMigrateTableToAutoscaleOptionalParams,\n TableResourcesMigrateTableToAutoscaleResponse,\n TableResourcesMigrateTableToManualThroughputOptionalParams,\n TableResourcesMigrateTableToManualThroughputResponse,\n ContinuousBackupRestoreLocation,\n TableResourcesRetrieveContinuousBackupInformationOptionalParams,\n TableResourcesRetrieveContinuousBackupInformationResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing TableResources operations. */\nexport class TableResourcesImpl implements TableResources {\n private readonly client: CosmosDBManagementClient;\n\n /**\n * Initialize a new instance of the class TableResources class.\n * @param client Reference to the service client\n */\n constructor(client: CosmosDBManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists the Tables under an existing Azure Cosmos DB database account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param options The options parameters.\n */\n public listTables(\n resourceGroupName: string,\n accountName: string,\n options?: TableResourcesListTablesOptionalParams,\n ): PagedAsyncIterableIterator<TableGetResults> {\n const iter = this.listTablesPagingAll(\n resourceGroupName,\n accountName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listTablesPagingPage(\n resourceGroupName,\n accountName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listTablesPagingPage(\n resourceGroupName: string,\n accountName: string,\n options?: TableResourcesListTablesOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<TableGetResults[]> {\n let result: TableResourcesListTablesResponse;\n result = await this._listTables(resourceGroupName, accountName, options);\n yield result.value || [];\n }\n\n private async *listTablesPagingAll(\n resourceGroupName: string,\n accountName: string,\n options?: TableResourcesListTablesOptionalParams,\n ): AsyncIterableIterator<TableGetResults> {\n for await (const page of this.listTablesPagingPage(\n resourceGroupName,\n accountName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists the Tables under an existing Azure Cosmos DB database account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param options The options parameters.\n */\n private _listTables(\n resourceGroupName: string,\n accountName: string,\n options?: TableResourcesListTablesOptionalParams,\n ): Promise<TableResourcesListTablesResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listTablesOperationSpec,\n );\n }\n\n /**\n * Gets the Tables under an existing Azure Cosmos DB database account with the provided name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param options The options parameters.\n */\n getTable(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n options?: TableResourcesGetTableOptionalParams,\n ): Promise<TableResourcesGetTableResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, tableName, options },\n getTableOperationSpec,\n );\n }\n\n /**\n * Create or update an Azure Cosmos DB Table\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param createUpdateTableParameters The parameters to provide for the current Table.\n * @param options The options parameters.\n */\n async beginCreateUpdateTable(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n createUpdateTableParameters: TableCreateUpdateParameters,\n options?: TableResourcesCreateUpdateTableOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<TableResourcesCreateUpdateTableResponse>,\n TableResourcesCreateUpdateTableResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<TableResourcesCreateUpdateTableResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n accountName,\n tableName,\n createUpdateTableParameters,\n options,\n },\n spec: createUpdateTableOperationSpec,\n });\n const poller = await createHttpPoller<\n TableResourcesCreateUpdateTableResponse,\n OperationState<TableResourcesCreateUpdateTableResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create or update an Azure Cosmos DB Table\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param createUpdateTableParameters The parameters to provide for the current Table.\n * @param options The options parameters.\n */\n async beginCreateUpdateTableAndWait(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n createUpdateTableParameters: TableCreateUpdateParameters,\n options?: TableResourcesCreateUpdateTableOptionalParams,\n ): Promise<TableResourcesCreateUpdateTableResponse> {\n const poller = await this.beginCreateUpdateTable(\n resourceGroupName,\n accountName,\n tableName,\n createUpdateTableParameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes an existing Azure Cosmos DB Table.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param options The options parameters.\n */\n async beginDeleteTable(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n options?: TableResourcesDeleteTableOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<TableResourcesDeleteTableResponse>,\n TableResourcesDeleteTableResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<TableResourcesDeleteTableResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, accountName, tableName, options },\n spec: deleteTableOperationSpec,\n });\n const poller = await createHttpPoller<\n TableResourcesDeleteTableResponse,\n OperationState<TableResourcesDeleteTableResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes an existing Azure Cosmos DB Table.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param options The options parameters.\n */\n async beginDeleteTableAndWait(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n options?: TableResourcesDeleteTableOptionalParams,\n ): Promise<TableResourcesDeleteTableResponse> {\n const poller = await this.beginDeleteTable(\n resourceGroupName,\n accountName,\n tableName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the\n * provided name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param options The options parameters.\n */\n getTableThroughput(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n options?: TableResourcesGetTableThroughputOptionalParams,\n ): Promise<TableResourcesGetTableThroughputResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, tableName, options },\n getTableThroughputOperationSpec,\n );\n }\n\n /**\n * Update RUs per second of an Azure Cosmos DB Table\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param updateThroughputParameters The parameters to provide for the RUs per second of the current\n * Table.\n * @param options The options parameters.\n */\n async beginUpdateTableThroughput(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n updateThroughputParameters: ThroughputSettingsUpdateParameters,\n options?: TableResourcesUpdateTableThroughputOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<TableResourcesUpdateTableThroughputResponse>,\n TableResourcesUpdateTableThroughputResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<TableResourcesUpdateTableThroughputResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n accountName,\n tableName,\n updateThroughputParameters,\n options,\n },\n spec: updateTableThroughputOperationSpec,\n });\n const poller = await createHttpPoller<\n TableResourcesUpdateTableThroughputResponse,\n OperationState<TableResourcesUpdateTableThroughputResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update RUs per second of an Azure Cosmos DB Table\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param updateThroughputParameters The parameters to provide for the RUs per second of the current\n * Table.\n * @param options The options parameters.\n */\n async beginUpdateTableThroughputAndWait(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n updateThroughputParameters: ThroughputSettingsUpdateParameters,\n options?: TableResourcesUpdateTableThroughputOptionalParams,\n ): Promise<TableResourcesUpdateTableThroughputResponse> {\n const poller = await this.beginUpdateTableThroughput(\n resourceGroupName,\n accountName,\n tableName,\n updateThroughputParameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Migrate an Azure Cosmos DB Table from manual throughput to autoscale\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param options The options parameters.\n */\n async beginMigrateTableToAutoscale(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n options?: TableResourcesMigrateTableToAutoscaleOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<TableResourcesMigrateTableToAutoscaleResponse>,\n TableResourcesMigrateTableToAutoscaleResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<TableResourcesMigrateTableToAutoscaleResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, accountName, tableName, options },\n spec: migrateTableToAutoscaleOperationSpec,\n });\n const poller = await createHttpPoller<\n TableResourcesMigrateTableToAutoscaleResponse,\n OperationState<TableResourcesMigrateTableToAutoscaleResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Migrate an Azure Cosmos DB Table from manual throughput to autoscale\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param options The options parameters.\n */\n async beginMigrateTableToAutoscaleAndWait(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n options?: TableResourcesMigrateTableToAutoscaleOptionalParams,\n ): Promise<TableResourcesMigrateTableToAutoscaleResponse> {\n const poller = await this.beginMigrateTableToAutoscale(\n resourceGroupName,\n accountName,\n tableName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Migrate an Azure Cosmos DB Table from autoscale to manual throughput\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param options The options parameters.\n */\n async beginMigrateTableToManualThroughput(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n options?: TableResourcesMigrateTableToManualThroughputOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<TableResourcesMigrateTableToManualThroughputResponse>,\n TableResourcesMigrateTableToManualThroughputResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<TableResourcesMigrateTableToManualThroughputResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, accountName, tableName, options },\n spec: migrateTableToManualThroughputOperationSpec,\n });\n const poller = await createHttpPoller<\n TableResourcesMigrateTableToManualThroughputResponse,\n OperationState<TableResourcesMigrateTableToManualThroughputResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Migrate an Azure Cosmos DB Table from autoscale to manual throughput\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param options The options parameters.\n */\n async beginMigrateTableToManualThroughputAndWait(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n options?: TableResourcesMigrateTableToManualThroughputOptionalParams,\n ): Promise<TableResourcesMigrateTableToManualThroughputResponse> {\n const poller = await this.beginMigrateTableToManualThroughput(\n resourceGroupName,\n accountName,\n tableName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Retrieves continuous backup information for a table.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param location The name of the continuous backup restore location.\n * @param options The options parameters.\n */\n async beginRetrieveContinuousBackupInformation(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n location: ContinuousBackupRestoreLocation,\n options?: TableResourcesRetrieveContinuousBackupInformationOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<TableResourcesRetrieveContinuousBackupInformationResponse>,\n TableResourcesRetrieveContinuousBackupInformationResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<TableResourcesRetrieveContinuousBackupInformationResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, accountName, tableName, location, options },\n spec: retrieveContinuousBackupInformationOperationSpec,\n });\n const poller = await createHttpPoller<\n TableResourcesRetrieveContinuousBackupInformationResponse,\n OperationState<TableResourcesRetrieveContinuousBackupInformationResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Retrieves continuous backup information for a table.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param location The name of the continuous backup restore location.\n * @param options The options parameters.\n */\n async beginRetrieveContinuousBackupInformationAndWait(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n location: ContinuousBackupRestoreLocation,\n options?: TableResourcesRetrieveContinuousBackupInformationOptionalParams,\n ): Promise<TableResourcesRetrieveContinuousBackupInformationResponse> {\n const poller = await this.beginRetrieveContinuousBackupInformation(\n resourceGroupName,\n accountName,\n tableName,\n location,\n options,\n );\n return poller.pollUntilDone();\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listTablesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TableListResult,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getTableOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TableGetResults,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.tableName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createUpdateTableOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.TableGetResults,\n },\n 201: {\n bodyMapper: Mappers.TableGetResults,\n },\n 202: {\n bodyMapper: Mappers.TableGetResults,\n },\n 204: {\n bodyMapper: Mappers.TableGetResults,\n },\n },\n requestBody: Parameters.createUpdateTableParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.tableName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteTableOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.TableResourcesDeleteTableHeaders,\n },\n 201: {\n headersMapper: Mappers.TableResourcesDeleteTableHeaders,\n },\n 202: {\n headersMapper: Mappers.TableResourcesDeleteTableHeaders,\n },\n 204: {\n headersMapper: Mappers.TableResourcesDeleteTableHeaders,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.tableName,\n ],\n serializer,\n};\nconst getTableThroughputOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ThroughputSettingsGetResults,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.tableName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateTableThroughputOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ThroughputSettingsGetResults,\n },\n 201: {\n bodyMapper: Mappers.ThroughputSettingsGetResults,\n },\n 202: {\n bodyMapper: Mappers.ThroughputSettingsGetResults,\n },\n 204: {\n bodyMapper: Mappers.ThroughputSettingsGetResults,\n },\n },\n requestBody: Parameters.updateThroughputParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.tableName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst migrateTableToAutoscaleOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default/migrateToAutoscale\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ThroughputSettingsGetResults,\n },\n 201: {\n bodyMapper: Mappers.ThroughputSettingsGetResults,\n },\n 202: {\n bodyMapper: Mappers.ThroughputSettingsGetResults,\n },\n 204: {\n bodyMapper: Mappers.ThroughputSettingsGetResults,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.tableName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst migrateTableToManualThroughputOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default/migrateToManualThroughput\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ThroughputSettingsGetResults,\n },\n 201: {\n bodyMapper: Mappers.ThroughputSettingsGetResults,\n },\n 202: {\n bodyMapper: Mappers.ThroughputSettingsGetResults,\n },\n 204: {\n bodyMapper: Mappers.ThroughputSettingsGetResults,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.tableName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst retrieveContinuousBackupInformationOperationSpec: coreClient.OperationSpec =\n {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/retrieveContinuousBackupInformation\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.BackupInformation,\n },\n 201: {\n bodyMapper: Mappers.BackupInformation,\n },\n 202: {\n bodyMapper: Mappers.BackupInformation,\n },\n 204: {\n bodyMapper: Mappers.BackupInformation,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.location,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.tableName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n };\n"]}
|
|
1
|
+
{"version":3,"file":"tableResources.js","sourceRoot":"","sources":["../../../src/operations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,EAAE,yLAAyL;IAC/L,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,QAAQ;IAChC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,SAAS;KACrB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { TableResources } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { CosmosDBManagementClient } from \"../cosmosDBManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n TableGetResults,\n TableResourcesListTablesOptionalParams,\n TableResourcesListTablesResponse,\n TableResourcesGetTableOptionalParams,\n TableResourcesGetTableResponse,\n TableCreateUpdateParameters,\n TableResourcesCreateUpdateTableOptionalParams,\n TableResourcesCreateUpdateTableResponse,\n TableResourcesDeleteTableOptionalParams,\n TableResourcesDeleteTableResponse,\n TableResourcesGetTableThroughputOptionalParams,\n TableResourcesGetTableThroughputResponse,\n ThroughputSettingsUpdateParameters,\n TableResourcesUpdateTableThroughputOptionalParams,\n TableResourcesUpdateTableThroughputResponse,\n TableResourcesMigrateTableToAutoscaleOptionalParams,\n TableResourcesMigrateTableToAutoscaleResponse,\n TableResourcesMigrateTableToManualThroughputOptionalParams,\n TableResourcesMigrateTableToManualThroughputResponse,\n ContinuousBackupRestoreLocation,\n TableResourcesRetrieveContinuousBackupInformationOptionalParams,\n TableResourcesRetrieveContinuousBackupInformationResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing TableResources operations. */\nexport class TableResourcesImpl implements TableResources {\n private readonly client: CosmosDBManagementClient;\n\n /**\n * Initialize a new instance of the class TableResources class.\n * @param client Reference to the service client\n */\n constructor(client: CosmosDBManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists the Tables under an existing Azure Cosmos DB database account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param options The options parameters.\n */\n public listTables(\n resourceGroupName: string,\n accountName: string,\n options?: TableResourcesListTablesOptionalParams,\n ): PagedAsyncIterableIterator<TableGetResults> {\n const iter = this.listTablesPagingAll(\n resourceGroupName,\n accountName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listTablesPagingPage(\n resourceGroupName,\n accountName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listTablesPagingPage(\n resourceGroupName: string,\n accountName: string,\n options?: TableResourcesListTablesOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<TableGetResults[]> {\n let result: TableResourcesListTablesResponse;\n result = await this._listTables(resourceGroupName, accountName, options);\n yield result.value || [];\n }\n\n private async *listTablesPagingAll(\n resourceGroupName: string,\n accountName: string,\n options?: TableResourcesListTablesOptionalParams,\n ): AsyncIterableIterator<TableGetResults> {\n for await (const page of this.listTablesPagingPage(\n resourceGroupName,\n accountName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists the Tables under an existing Azure Cosmos DB database account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param options The options parameters.\n */\n private _listTables(\n resourceGroupName: string,\n accountName: string,\n options?: TableResourcesListTablesOptionalParams,\n ): Promise<TableResourcesListTablesResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listTablesOperationSpec,\n );\n }\n\n /**\n * Gets the Tables under an existing Azure Cosmos DB database account with the provided name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param options The options parameters.\n */\n getTable(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n options?: TableResourcesGetTableOptionalParams,\n ): Promise<TableResourcesGetTableResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, tableName, options },\n getTableOperationSpec,\n );\n }\n\n /**\n * Create or update an Azure Cosmos DB Table\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param createUpdateTableParameters The parameters to provide for the current Table.\n * @param options The options parameters.\n */\n async beginCreateUpdateTable(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n createUpdateTableParameters: TableCreateUpdateParameters,\n options?: TableResourcesCreateUpdateTableOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<TableResourcesCreateUpdateTableResponse>,\n TableResourcesCreateUpdateTableResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<TableResourcesCreateUpdateTableResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n accountName,\n tableName,\n createUpdateTableParameters,\n options,\n },\n spec: createUpdateTableOperationSpec,\n });\n const poller = await createHttpPoller<\n TableResourcesCreateUpdateTableResponse,\n OperationState<TableResourcesCreateUpdateTableResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create or update an Azure Cosmos DB Table\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param createUpdateTableParameters The parameters to provide for the current Table.\n * @param options The options parameters.\n */\n async beginCreateUpdateTableAndWait(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n createUpdateTableParameters: TableCreateUpdateParameters,\n options?: TableResourcesCreateUpdateTableOptionalParams,\n ): Promise<TableResourcesCreateUpdateTableResponse> {\n const poller = await this.beginCreateUpdateTable(\n resourceGroupName,\n accountName,\n tableName,\n createUpdateTableParameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes an existing Azure Cosmos DB Table.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param options The options parameters.\n */\n async beginDeleteTable(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n options?: TableResourcesDeleteTableOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<TableResourcesDeleteTableResponse>,\n TableResourcesDeleteTableResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<TableResourcesDeleteTableResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, accountName, tableName, options },\n spec: deleteTableOperationSpec,\n });\n const poller = await createHttpPoller<\n TableResourcesDeleteTableResponse,\n OperationState<TableResourcesDeleteTableResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes an existing Azure Cosmos DB Table.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param options The options parameters.\n */\n async beginDeleteTableAndWait(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n options?: TableResourcesDeleteTableOptionalParams,\n ): Promise<TableResourcesDeleteTableResponse> {\n const poller = await this.beginDeleteTable(\n resourceGroupName,\n accountName,\n tableName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the\n * provided name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param options The options parameters.\n */\n getTableThroughput(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n options?: TableResourcesGetTableThroughputOptionalParams,\n ): Promise<TableResourcesGetTableThroughputResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, tableName, options },\n getTableThroughputOperationSpec,\n );\n }\n\n /**\n * Update RUs per second of an Azure Cosmos DB Table\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param updateThroughputParameters The parameters to provide for the RUs per second of the current\n * Table.\n * @param options The options parameters.\n */\n async beginUpdateTableThroughput(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n updateThroughputParameters: ThroughputSettingsUpdateParameters,\n options?: TableResourcesUpdateTableThroughputOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<TableResourcesUpdateTableThroughputResponse>,\n TableResourcesUpdateTableThroughputResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<TableResourcesUpdateTableThroughputResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n accountName,\n tableName,\n updateThroughputParameters,\n options,\n },\n spec: updateTableThroughputOperationSpec,\n });\n const poller = await createHttpPoller<\n TableResourcesUpdateTableThroughputResponse,\n OperationState<TableResourcesUpdateTableThroughputResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update RUs per second of an Azure Cosmos DB Table\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param updateThroughputParameters The parameters to provide for the RUs per second of the current\n * Table.\n * @param options The options parameters.\n */\n async beginUpdateTableThroughputAndWait(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n updateThroughputParameters: ThroughputSettingsUpdateParameters,\n options?: TableResourcesUpdateTableThroughputOptionalParams,\n ): Promise<TableResourcesUpdateTableThroughputResponse> {\n const poller = await this.beginUpdateTableThroughput(\n resourceGroupName,\n accountName,\n tableName,\n updateThroughputParameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Migrate an Azure Cosmos DB Table from manual throughput to autoscale\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param options The options parameters.\n */\n async beginMigrateTableToAutoscale(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n options?: TableResourcesMigrateTableToAutoscaleOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<TableResourcesMigrateTableToAutoscaleResponse>,\n TableResourcesMigrateTableToAutoscaleResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<TableResourcesMigrateTableToAutoscaleResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, accountName, tableName, options },\n spec: migrateTableToAutoscaleOperationSpec,\n });\n const poller = await createHttpPoller<\n TableResourcesMigrateTableToAutoscaleResponse,\n OperationState<TableResourcesMigrateTableToAutoscaleResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Migrate an Azure Cosmos DB Table from manual throughput to autoscale\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param options The options parameters.\n */\n async beginMigrateTableToAutoscaleAndWait(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n options?: TableResourcesMigrateTableToAutoscaleOptionalParams,\n ): Promise<TableResourcesMigrateTableToAutoscaleResponse> {\n const poller = await this.beginMigrateTableToAutoscale(\n resourceGroupName,\n accountName,\n tableName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Migrate an Azure Cosmos DB Table from autoscale to manual throughput\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param options The options parameters.\n */\n async beginMigrateTableToManualThroughput(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n options?: TableResourcesMigrateTableToManualThroughputOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<TableResourcesMigrateTableToManualThroughputResponse>,\n TableResourcesMigrateTableToManualThroughputResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<TableResourcesMigrateTableToManualThroughputResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, accountName, tableName, options },\n spec: migrateTableToManualThroughputOperationSpec,\n });\n const poller = await createHttpPoller<\n TableResourcesMigrateTableToManualThroughputResponse,\n OperationState<TableResourcesMigrateTableToManualThroughputResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Migrate an Azure Cosmos DB Table from autoscale to manual throughput\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param options The options parameters.\n */\n async beginMigrateTableToManualThroughputAndWait(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n options?: TableResourcesMigrateTableToManualThroughputOptionalParams,\n ): Promise<TableResourcesMigrateTableToManualThroughputResponse> {\n const poller = await this.beginMigrateTableToManualThroughput(\n resourceGroupName,\n accountName,\n tableName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Retrieves continuous backup information for a table.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param location The name of the continuous backup restore location.\n * @param options The options parameters.\n */\n async beginRetrieveContinuousBackupInformation(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n location: ContinuousBackupRestoreLocation,\n options?: TableResourcesRetrieveContinuousBackupInformationOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<TableResourcesRetrieveContinuousBackupInformationResponse>,\n TableResourcesRetrieveContinuousBackupInformationResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<TableResourcesRetrieveContinuousBackupInformationResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, accountName, tableName, location, options },\n spec: retrieveContinuousBackupInformationOperationSpec,\n });\n const poller = await createHttpPoller<\n TableResourcesRetrieveContinuousBackupInformationResponse,\n OperationState<TableResourcesRetrieveContinuousBackupInformationResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Retrieves continuous backup information for a table.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName Cosmos DB database account name.\n * @param tableName Cosmos DB table name.\n * @param location The name of the continuous backup restore location.\n * @param options The options parameters.\n */\n async beginRetrieveContinuousBackupInformationAndWait(\n resourceGroupName: string,\n accountName: string,\n tableName: string,\n location: ContinuousBackupRestoreLocation,\n options?: TableResourcesRetrieveContinuousBackupInformationOptionalParams,\n ): Promise<TableResourcesRetrieveContinuousBackupInformationResponse> {\n const poller = await this.beginRetrieveContinuousBackupInformation(\n resourceGroupName,\n accountName,\n tableName,\n location,\n options,\n );\n return poller.pollUntilDone();\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listTablesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TableListResult,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getTableOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TableGetResults,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.tableName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createUpdateTableOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.TableGetResults,\n },\n 201: {\n bodyMapper: Mappers.TableGetResults,\n },\n 202: {\n bodyMapper: Mappers.TableGetResults,\n },\n 204: {\n bodyMapper: Mappers.TableGetResults,\n },\n },\n requestBody: Parameters.createUpdateTableParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.tableName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteTableOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.TableResourcesDeleteTableHeaders,\n },\n 201: {\n headersMapper: Mappers.TableResourcesDeleteTableHeaders,\n },\n 202: {\n headersMapper: Mappers.TableResourcesDeleteTableHeaders,\n },\n 204: {\n headersMapper: Mappers.TableResourcesDeleteTableHeaders,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.tableName,\n ],\n serializer,\n};\nconst getTableThroughputOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ThroughputSettingsGetResults,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.tableName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateTableThroughputOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ThroughputSettingsGetResults,\n },\n 201: {\n bodyMapper: Mappers.ThroughputSettingsGetResults,\n },\n 202: {\n bodyMapper: Mappers.ThroughputSettingsGetResults,\n },\n 204: {\n bodyMapper: Mappers.ThroughputSettingsGetResults,\n },\n },\n requestBody: Parameters.updateThroughputParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.tableName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst migrateTableToAutoscaleOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default/migrateToAutoscale\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ThroughputSettingsGetResults,\n },\n 201: {\n bodyMapper: Mappers.ThroughputSettingsGetResults,\n },\n 202: {\n bodyMapper: Mappers.ThroughputSettingsGetResults,\n },\n 204: {\n bodyMapper: Mappers.ThroughputSettingsGetResults,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.tableName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst migrateTableToManualThroughputOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default/migrateToManualThroughput\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ThroughputSettingsGetResults,\n },\n 201: {\n bodyMapper: Mappers.ThroughputSettingsGetResults,\n },\n 202: {\n bodyMapper: Mappers.ThroughputSettingsGetResults,\n },\n 204: {\n bodyMapper: Mappers.ThroughputSettingsGetResults,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.tableName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst retrieveContinuousBackupInformationOperationSpec: coreClient.OperationSpec =\n {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/retrieveContinuousBackupInformation\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.BackupInformation,\n },\n 201: {\n bodyMapper: Mappers.BackupInformation,\n },\n 202: {\n bodyMapper: Mappers.BackupInformation,\n },\n 204: {\n bodyMapper: Mappers.BackupInformation,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.location,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.tableName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n };\n"]}
|
package/dist/esm/pagingHelper.js
CHANGED
|
@@ -14,18 +14,16 @@ const pageMap = new WeakMap();
|
|
|
14
14
|
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
15
15
|
*/
|
|
16
16
|
export function getContinuationToken(page) {
|
|
17
|
-
var _a;
|
|
18
17
|
if (typeof page !== "object" || page === null) {
|
|
19
18
|
return undefined;
|
|
20
19
|
}
|
|
21
|
-
return
|
|
20
|
+
return pageMap.get(page)?.continuationToken;
|
|
22
21
|
}
|
|
23
22
|
export function setContinuationToken(page, continuationToken) {
|
|
24
|
-
var _a;
|
|
25
23
|
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
26
24
|
return;
|
|
27
25
|
}
|
|
28
|
-
const pageInfo =
|
|
26
|
+
const pageInfo = pageMap.get(page) ?? {};
|
|
29
27
|
pageInfo.continuationToken = continuationToken;
|
|
30
28
|
pageMap.set(page, pageInfo);
|
|
31
29
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa
|
|
1
|
+
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined,\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
|