@azure/arm-cosmosdb 16.3.0-alpha.20250522.1 → 16.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/LICENSE +1 -1
- package/README.md +2 -2
- package/dist/browser/cosmosDBManagementClient.d.ts +2 -10
- package/dist/browser/cosmosDBManagementClient.d.ts.map +1 -1
- package/dist/browser/cosmosDBManagementClient.js +4 -13
- package/dist/browser/cosmosDBManagementClient.js.map +1 -1
- package/dist/browser/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +7 -0
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +285 -2015
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +12 -196
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +29 -131
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +1733 -4254
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +6 -28
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +45 -206
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/cassandraClusters.d.ts +1 -65
- package/dist/browser/operations/cassandraClusters.d.ts.map +1 -1
- package/dist/browser/operations/cassandraClusters.js +1 -310
- package/dist/browser/operations/cassandraClusters.js.map +1 -1
- package/dist/browser/operations/cassandraDataCenters.js +2 -2
- package/dist/browser/operations/cassandraDataCenters.js.map +1 -1
- package/dist/browser/operations/cassandraResources.d.ts +1 -134
- package/dist/browser/operations/cassandraResources.d.ts.map +1 -1
- package/dist/browser/operations/cassandraResources.js +0 -579
- package/dist/browser/operations/cassandraResources.js.map +1 -1
- package/dist/browser/operations/gremlinResources.js +8 -8
- package/dist/browser/operations/gremlinResources.js.map +1 -1
- package/dist/browser/operations/index.d.ts +0 -8
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +0 -8
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operations/mongoDBResources.d.ts +1 -123
- package/dist/browser/operations/mongoDBResources.d.ts.map +1 -1
- package/dist/browser/operations/mongoDBResources.js +0 -590
- package/dist/browser/operations/mongoDBResources.js.map +1 -1
- package/dist/browser/operations/sqlResources.d.ts +26 -148
- package/dist/browser/operations/sqlResources.d.ts.map +1 -1
- package/dist/browser/operations/sqlResources.js +92 -682
- package/dist/browser/operations/sqlResources.js.map +1 -1
- package/dist/browser/operations/tableResources.d.ts +1 -121
- package/dist/browser/operations/tableResources.d.ts.map +1 -1
- package/dist/browser/operations/tableResources.js +0 -568
- package/dist/browser/operations/tableResources.js.map +1 -1
- package/dist/browser/operationsInterfaces/cassandraClusters.d.ts +1 -47
- package/dist/browser/operationsInterfaces/cassandraClusters.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/cassandraClusters.js.map +1 -1
- package/dist/browser/operationsInterfaces/cassandraResources.d.ts +1 -124
- package/dist/browser/operationsInterfaces/cassandraResources.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/cassandraResources.js.map +1 -1
- package/dist/browser/operationsInterfaces/collectionRegion.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/collectionRegion.js.map +1 -1
- package/dist/browser/operationsInterfaces/index.d.ts +0 -8
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +0 -8
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/operationsInterfaces/mongoDBResources.d.ts +1 -123
- package/dist/browser/operationsInterfaces/mongoDBResources.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/mongoDBResources.js.map +1 -1
- package/dist/browser/operationsInterfaces/sqlResources.d.ts +20 -142
- package/dist/browser/operationsInterfaces/sqlResources.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/sqlResources.js.map +1 -1
- package/dist/browser/operationsInterfaces/tableResources.d.ts +1 -103
- package/dist/browser/operationsInterfaces/tableResources.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/tableResources.js.map +1 -1
- package/dist/commonjs/cosmosDBManagementClient.d.ts +2 -10
- package/dist/commonjs/cosmosDBManagementClient.d.ts.map +1 -1
- package/dist/commonjs/cosmosDBManagementClient.js +3 -12
- package/dist/commonjs/cosmosDBManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.d.ts.map +1 -1
- package/dist/commonjs/lroImpl.js +7 -0
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +285 -2015
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +13 -198
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +29 -131
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +1740 -4263
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +6 -28
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +46 -207
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/cassandraClusters.d.ts +1 -65
- package/dist/commonjs/operations/cassandraClusters.d.ts.map +1 -1
- package/dist/commonjs/operations/cassandraClusters.js +1 -310
- package/dist/commonjs/operations/cassandraClusters.js.map +1 -1
- package/dist/commonjs/operations/cassandraDataCenters.js +2 -2
- package/dist/commonjs/operations/cassandraDataCenters.js.map +1 -1
- package/dist/commonjs/operations/cassandraResources.d.ts +1 -134
- package/dist/commonjs/operations/cassandraResources.d.ts.map +1 -1
- package/dist/commonjs/operations/cassandraResources.js +0 -579
- package/dist/commonjs/operations/cassandraResources.js.map +1 -1
- package/dist/commonjs/operations/gremlinResources.js +8 -8
- package/dist/commonjs/operations/gremlinResources.js.map +1 -1
- package/dist/commonjs/operations/index.d.ts +0 -8
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +0 -8
- package/dist/commonjs/operations/index.js.map +1 -1
- package/dist/commonjs/operations/mongoDBResources.d.ts +1 -123
- package/dist/commonjs/operations/mongoDBResources.d.ts.map +1 -1
- package/dist/commonjs/operations/mongoDBResources.js +0 -590
- package/dist/commonjs/operations/mongoDBResources.js.map +1 -1
- package/dist/commonjs/operations/sqlResources.d.ts +26 -148
- package/dist/commonjs/operations/sqlResources.d.ts.map +1 -1
- package/dist/commonjs/operations/sqlResources.js +92 -682
- package/dist/commonjs/operations/sqlResources.js.map +1 -1
- package/dist/commonjs/operations/tableResources.d.ts +1 -121
- package/dist/commonjs/operations/tableResources.d.ts.map +1 -1
- package/dist/commonjs/operations/tableResources.js +0 -568
- package/dist/commonjs/operations/tableResources.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/cassandraClusters.d.ts +1 -47
- package/dist/commonjs/operationsInterfaces/cassandraClusters.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/cassandraClusters.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/cassandraResources.d.ts +1 -124
- package/dist/commonjs/operationsInterfaces/cassandraResources.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/cassandraResources.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/collectionRegion.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/collectionRegion.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +0 -8
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +0 -8
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/mongoDBResources.d.ts +1 -123
- package/dist/commonjs/operationsInterfaces/mongoDBResources.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/mongoDBResources.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/sqlResources.d.ts +20 -142
- package/dist/commonjs/operationsInterfaces/sqlResources.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/sqlResources.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/tableResources.d.ts +1 -103
- package/dist/commonjs/operationsInterfaces/tableResources.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/tableResources.js.map +1 -1
- package/dist/esm/cosmosDBManagementClient.d.ts +2 -10
- package/dist/esm/cosmosDBManagementClient.d.ts.map +1 -1
- package/dist/esm/cosmosDBManagementClient.js +4 -13
- package/dist/esm/cosmosDBManagementClient.js.map +1 -1
- package/dist/esm/lroImpl.d.ts.map +1 -1
- package/dist/esm/lroImpl.js +7 -0
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +285 -2015
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +12 -196
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +29 -131
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +1733 -4254
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +6 -28
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +45 -206
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/cassandraClusters.d.ts +1 -65
- package/dist/esm/operations/cassandraClusters.d.ts.map +1 -1
- package/dist/esm/operations/cassandraClusters.js +1 -310
- package/dist/esm/operations/cassandraClusters.js.map +1 -1
- package/dist/esm/operations/cassandraDataCenters.js +2 -2
- package/dist/esm/operations/cassandraDataCenters.js.map +1 -1
- package/dist/esm/operations/cassandraResources.d.ts +1 -134
- package/dist/esm/operations/cassandraResources.d.ts.map +1 -1
- package/dist/esm/operations/cassandraResources.js +0 -579
- package/dist/esm/operations/cassandraResources.js.map +1 -1
- package/dist/esm/operations/gremlinResources.js +8 -8
- package/dist/esm/operations/gremlinResources.js.map +1 -1
- package/dist/esm/operations/index.d.ts +0 -8
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +0 -8
- package/dist/esm/operations/index.js.map +1 -1
- package/dist/esm/operations/mongoDBResources.d.ts +1 -123
- package/dist/esm/operations/mongoDBResources.d.ts.map +1 -1
- package/dist/esm/operations/mongoDBResources.js +0 -590
- package/dist/esm/operations/mongoDBResources.js.map +1 -1
- package/dist/esm/operations/sqlResources.d.ts +26 -148
- package/dist/esm/operations/sqlResources.d.ts.map +1 -1
- package/dist/esm/operations/sqlResources.js +92 -682
- package/dist/esm/operations/sqlResources.js.map +1 -1
- package/dist/esm/operations/tableResources.d.ts +1 -121
- package/dist/esm/operations/tableResources.d.ts.map +1 -1
- package/dist/esm/operations/tableResources.js +0 -568
- package/dist/esm/operations/tableResources.js.map +1 -1
- package/dist/esm/operationsInterfaces/cassandraClusters.d.ts +1 -47
- package/dist/esm/operationsInterfaces/cassandraClusters.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/cassandraClusters.js.map +1 -1
- package/dist/esm/operationsInterfaces/cassandraResources.d.ts +1 -124
- package/dist/esm/operationsInterfaces/cassandraResources.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/cassandraResources.js.map +1 -1
- package/dist/esm/operationsInterfaces/collectionRegion.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/collectionRegion.js.map +1 -1
- package/dist/esm/operationsInterfaces/index.d.ts +0 -8
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +0 -8
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/operationsInterfaces/mongoDBResources.d.ts +1 -123
- package/dist/esm/operationsInterfaces/mongoDBResources.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/mongoDBResources.js.map +1 -1
- package/dist/esm/operationsInterfaces/sqlResources.d.ts +20 -142
- package/dist/esm/operationsInterfaces/sqlResources.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/sqlResources.js.map +1 -1
- package/dist/esm/operationsInterfaces/tableResources.d.ts +1 -103
- package/dist/esm/operationsInterfaces/tableResources.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/tableResources.js.map +1 -1
- package/dist/react-native/cosmosDBManagementClient.d.ts +2 -10
- package/dist/react-native/cosmosDBManagementClient.d.ts.map +1 -1
- package/dist/react-native/cosmosDBManagementClient.js +4 -13
- package/dist/react-native/cosmosDBManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.d.ts.map +1 -1
- package/dist/react-native/lroImpl.js +7 -0
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +285 -2015
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +12 -196
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +29 -131
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +1733 -4254
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +6 -28
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +45 -206
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/cassandraClusters.d.ts +1 -65
- package/dist/react-native/operations/cassandraClusters.d.ts.map +1 -1
- package/dist/react-native/operations/cassandraClusters.js +1 -310
- package/dist/react-native/operations/cassandraClusters.js.map +1 -1
- package/dist/react-native/operations/cassandraDataCenters.js +2 -2
- package/dist/react-native/operations/cassandraDataCenters.js.map +1 -1
- package/dist/react-native/operations/cassandraResources.d.ts +1 -134
- package/dist/react-native/operations/cassandraResources.d.ts.map +1 -1
- package/dist/react-native/operations/cassandraResources.js +0 -579
- package/dist/react-native/operations/cassandraResources.js.map +1 -1
- package/dist/react-native/operations/gremlinResources.js +8 -8
- package/dist/react-native/operations/gremlinResources.js.map +1 -1
- package/dist/react-native/operations/index.d.ts +0 -8
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +0 -8
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operations/mongoDBResources.d.ts +1 -123
- package/dist/react-native/operations/mongoDBResources.d.ts.map +1 -1
- package/dist/react-native/operations/mongoDBResources.js +0 -590
- package/dist/react-native/operations/mongoDBResources.js.map +1 -1
- package/dist/react-native/operations/sqlResources.d.ts +26 -148
- package/dist/react-native/operations/sqlResources.d.ts.map +1 -1
- package/dist/react-native/operations/sqlResources.js +92 -682
- package/dist/react-native/operations/sqlResources.js.map +1 -1
- package/dist/react-native/operations/tableResources.d.ts +1 -121
- package/dist/react-native/operations/tableResources.d.ts.map +1 -1
- package/dist/react-native/operations/tableResources.js +0 -568
- package/dist/react-native/operations/tableResources.js.map +1 -1
- package/dist/react-native/operationsInterfaces/cassandraClusters.d.ts +1 -47
- package/dist/react-native/operationsInterfaces/cassandraClusters.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/cassandraClusters.js.map +1 -1
- package/dist/react-native/operationsInterfaces/cassandraResources.d.ts +1 -124
- package/dist/react-native/operationsInterfaces/cassandraResources.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/cassandraResources.js.map +1 -1
- package/dist/react-native/operationsInterfaces/collectionRegion.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/collectionRegion.js.map +1 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +0 -8
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +0 -8
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/operationsInterfaces/mongoDBResources.d.ts +1 -123
- package/dist/react-native/operationsInterfaces/mongoDBResources.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/mongoDBResources.js.map +1 -1
- package/dist/react-native/operationsInterfaces/sqlResources.d.ts +20 -142
- package/dist/react-native/operationsInterfaces/sqlResources.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/sqlResources.js.map +1 -1
- package/dist/react-native/operationsInterfaces/tableResources.d.ts +1 -103
- package/dist/react-native/operationsInterfaces/tableResources.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/tableResources.js.map +1 -1
- package/package.json +23 -23
- package/review/arm-cosmosdb.api.md +39 -1537
- package/dist/browser/operations/chaosFault.d.ts +0 -65
- package/dist/browser/operations/chaosFault.d.ts.map +0 -1
- package/dist/browser/operations/chaosFault.js +0 -279
- package/dist/browser/operations/chaosFault.js.map +0 -1
- package/dist/browser/operations/dataTransferJobs.d.ts +0 -87
- package/dist/browser/operations/dataTransferJobs.d.ts.map +0 -1
- package/dist/browser/operations/dataTransferJobs.js +0 -345
- package/dist/browser/operations/dataTransferJobs.js.map +0 -1
- package/dist/browser/operations/graphResources.d.ts +0 -73
- package/dist/browser/operations/graphResources.d.ts.map +0 -1
- package/dist/browser/operations/graphResources.js +0 -291
- package/dist/browser/operations/graphResources.js.map +0 -1
- package/dist/browser/operations/networkSecurityPerimeterConfigurations.d.ts +0 -66
- package/dist/browser/operations/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
- package/dist/browser/operations/networkSecurityPerimeterConfigurations.js +0 -282
- package/dist/browser/operations/networkSecurityPerimeterConfigurations.js.map +0 -1
- package/dist/browser/operations/throughputPool.d.ts +0 -67
- package/dist/browser/operations/throughputPool.d.ts.map +0 -1
- package/dist/browser/operations/throughputPool.js +0 -308
- package/dist/browser/operations/throughputPool.js.map +0 -1
- package/dist/browser/operations/throughputPoolAccount.d.ts +0 -58
- package/dist/browser/operations/throughputPoolAccount.d.ts.map +0 -1
- package/dist/browser/operations/throughputPoolAccount.js +0 -248
- package/dist/browser/operations/throughputPoolAccount.js.map +0 -1
- package/dist/browser/operations/throughputPoolAccounts.d.ts +0 -38
- package/dist/browser/operations/throughputPoolAccounts.d.ts.map +0 -1
- package/dist/browser/operations/throughputPoolAccounts.js +0 -150
- package/dist/browser/operations/throughputPoolAccounts.js.map +0 -1
- package/dist/browser/operations/throughputPools.d.ts +0 -53
- package/dist/browser/operations/throughputPools.d.ts.map +0 -1
- package/dist/browser/operations/throughputPools.js +0 -256
- package/dist/browser/operations/throughputPools.js.map +0 -1
- package/dist/browser/operationsInterfaces/chaosFault.d.ts +0 -40
- package/dist/browser/operationsInterfaces/chaosFault.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/chaosFault.js +0 -9
- package/dist/browser/operationsInterfaces/chaosFault.js.map +0 -1
- package/dist/browser/operationsInterfaces/dataTransferJobs.d.ts +0 -62
- package/dist/browser/operationsInterfaces/dataTransferJobs.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/dataTransferJobs.js +0 -9
- package/dist/browser/operationsInterfaces/dataTransferJobs.js.map +0 -1
- package/dist/browser/operationsInterfaces/graphResources.d.ts +0 -56
- package/dist/browser/operationsInterfaces/graphResources.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/graphResources.js +0 -9
- package/dist/browser/operationsInterfaces/graphResources.js.map +0 -1
- package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +0 -41
- package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.js +0 -9
- package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +0 -1
- package/dist/browser/operationsInterfaces/throughputPool.d.ts +0 -59
- package/dist/browser/operationsInterfaces/throughputPool.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/throughputPool.js +0 -9
- package/dist/browser/operationsInterfaces/throughputPool.js.map +0 -1
- package/dist/browser/operationsInterfaces/throughputPoolAccount.d.ts +0 -50
- package/dist/browser/operationsInterfaces/throughputPoolAccount.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/throughputPoolAccount.js +0 -9
- package/dist/browser/operationsInterfaces/throughputPoolAccount.js.map +0 -1
- package/dist/browser/operationsInterfaces/throughputPoolAccounts.d.ts +0 -13
- package/dist/browser/operationsInterfaces/throughputPoolAccounts.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/throughputPoolAccounts.js +0 -9
- package/dist/browser/operationsInterfaces/throughputPoolAccounts.js.map +0 -1
- package/dist/browser/operationsInterfaces/throughputPools.d.ts +0 -17
- package/dist/browser/operationsInterfaces/throughputPools.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/throughputPools.js +0 -9
- package/dist/browser/operationsInterfaces/throughputPools.js.map +0 -1
- package/dist/commonjs/operations/chaosFault.d.ts +0 -65
- package/dist/commonjs/operations/chaosFault.d.ts.map +0 -1
- package/dist/commonjs/operations/chaosFault.js +0 -283
- package/dist/commonjs/operations/chaosFault.js.map +0 -1
- package/dist/commonjs/operations/dataTransferJobs.d.ts +0 -87
- package/dist/commonjs/operations/dataTransferJobs.d.ts.map +0 -1
- package/dist/commonjs/operations/dataTransferJobs.js +0 -349
- package/dist/commonjs/operations/dataTransferJobs.js.map +0 -1
- package/dist/commonjs/operations/graphResources.d.ts +0 -73
- package/dist/commonjs/operations/graphResources.d.ts.map +0 -1
- package/dist/commonjs/operations/graphResources.js +0 -295
- package/dist/commonjs/operations/graphResources.js.map +0 -1
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts +0 -66
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js +0 -286
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js.map +0 -1
- package/dist/commonjs/operations/throughputPool.d.ts +0 -67
- package/dist/commonjs/operations/throughputPool.d.ts.map +0 -1
- package/dist/commonjs/operations/throughputPool.js +0 -313
- package/dist/commonjs/operations/throughputPool.js.map +0 -1
- package/dist/commonjs/operations/throughputPoolAccount.d.ts +0 -58
- package/dist/commonjs/operations/throughputPoolAccount.d.ts.map +0 -1
- package/dist/commonjs/operations/throughputPoolAccount.js +0 -253
- package/dist/commonjs/operations/throughputPoolAccount.js.map +0 -1
- package/dist/commonjs/operations/throughputPoolAccounts.d.ts +0 -38
- package/dist/commonjs/operations/throughputPoolAccounts.d.ts.map +0 -1
- package/dist/commonjs/operations/throughputPoolAccounts.js +0 -154
- package/dist/commonjs/operations/throughputPoolAccounts.js.map +0 -1
- package/dist/commonjs/operations/throughputPools.d.ts +0 -53
- package/dist/commonjs/operations/throughputPools.d.ts.map +0 -1
- package/dist/commonjs/operations/throughputPools.js +0 -260
- package/dist/commonjs/operations/throughputPools.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/chaosFault.d.ts +0 -40
- package/dist/commonjs/operationsInterfaces/chaosFault.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/chaosFault.js +0 -10
- package/dist/commonjs/operationsInterfaces/chaosFault.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/dataTransferJobs.d.ts +0 -62
- package/dist/commonjs/operationsInterfaces/dataTransferJobs.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/dataTransferJobs.js +0 -10
- package/dist/commonjs/operationsInterfaces/dataTransferJobs.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/graphResources.d.ts +0 -56
- package/dist/commonjs/operationsInterfaces/graphResources.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/graphResources.js +0 -10
- package/dist/commonjs/operationsInterfaces/graphResources.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +0 -41
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.js +0 -10
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/throughputPool.d.ts +0 -59
- package/dist/commonjs/operationsInterfaces/throughputPool.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/throughputPool.js +0 -10
- package/dist/commonjs/operationsInterfaces/throughputPool.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/throughputPoolAccount.d.ts +0 -50
- package/dist/commonjs/operationsInterfaces/throughputPoolAccount.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/throughputPoolAccount.js +0 -10
- package/dist/commonjs/operationsInterfaces/throughputPoolAccount.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/throughputPoolAccounts.d.ts +0 -13
- package/dist/commonjs/operationsInterfaces/throughputPoolAccounts.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/throughputPoolAccounts.js +0 -10
- package/dist/commonjs/operationsInterfaces/throughputPoolAccounts.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/throughputPools.d.ts +0 -17
- package/dist/commonjs/operationsInterfaces/throughputPools.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/throughputPools.js +0 -10
- package/dist/commonjs/operationsInterfaces/throughputPools.js.map +0 -1
- package/dist/esm/operations/chaosFault.d.ts +0 -65
- package/dist/esm/operations/chaosFault.d.ts.map +0 -1
- package/dist/esm/operations/chaosFault.js +0 -279
- package/dist/esm/operations/chaosFault.js.map +0 -1
- package/dist/esm/operations/dataTransferJobs.d.ts +0 -87
- package/dist/esm/operations/dataTransferJobs.d.ts.map +0 -1
- package/dist/esm/operations/dataTransferJobs.js +0 -345
- package/dist/esm/operations/dataTransferJobs.js.map +0 -1
- package/dist/esm/operations/graphResources.d.ts +0 -73
- package/dist/esm/operations/graphResources.d.ts.map +0 -1
- package/dist/esm/operations/graphResources.js +0 -291
- package/dist/esm/operations/graphResources.js.map +0 -1
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts +0 -66
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.js +0 -282
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.js.map +0 -1
- package/dist/esm/operations/throughputPool.d.ts +0 -67
- package/dist/esm/operations/throughputPool.d.ts.map +0 -1
- package/dist/esm/operations/throughputPool.js +0 -308
- package/dist/esm/operations/throughputPool.js.map +0 -1
- package/dist/esm/operations/throughputPoolAccount.d.ts +0 -58
- package/dist/esm/operations/throughputPoolAccount.d.ts.map +0 -1
- package/dist/esm/operations/throughputPoolAccount.js +0 -248
- package/dist/esm/operations/throughputPoolAccount.js.map +0 -1
- package/dist/esm/operations/throughputPoolAccounts.d.ts +0 -38
- package/dist/esm/operations/throughputPoolAccounts.d.ts.map +0 -1
- package/dist/esm/operations/throughputPoolAccounts.js +0 -150
- package/dist/esm/operations/throughputPoolAccounts.js.map +0 -1
- package/dist/esm/operations/throughputPools.d.ts +0 -53
- package/dist/esm/operations/throughputPools.d.ts.map +0 -1
- package/dist/esm/operations/throughputPools.js +0 -256
- package/dist/esm/operations/throughputPools.js.map +0 -1
- package/dist/esm/operationsInterfaces/chaosFault.d.ts +0 -40
- package/dist/esm/operationsInterfaces/chaosFault.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/chaosFault.js +0 -9
- package/dist/esm/operationsInterfaces/chaosFault.js.map +0 -1
- package/dist/esm/operationsInterfaces/dataTransferJobs.d.ts +0 -62
- package/dist/esm/operationsInterfaces/dataTransferJobs.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/dataTransferJobs.js +0 -9
- package/dist/esm/operationsInterfaces/dataTransferJobs.js.map +0 -1
- package/dist/esm/operationsInterfaces/graphResources.d.ts +0 -56
- package/dist/esm/operationsInterfaces/graphResources.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/graphResources.js +0 -9
- package/dist/esm/operationsInterfaces/graphResources.js.map +0 -1
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +0 -41
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.js +0 -9
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +0 -1
- package/dist/esm/operationsInterfaces/throughputPool.d.ts +0 -59
- package/dist/esm/operationsInterfaces/throughputPool.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/throughputPool.js +0 -9
- package/dist/esm/operationsInterfaces/throughputPool.js.map +0 -1
- package/dist/esm/operationsInterfaces/throughputPoolAccount.d.ts +0 -50
- package/dist/esm/operationsInterfaces/throughputPoolAccount.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/throughputPoolAccount.js +0 -9
- package/dist/esm/operationsInterfaces/throughputPoolAccount.js.map +0 -1
- package/dist/esm/operationsInterfaces/throughputPoolAccounts.d.ts +0 -13
- package/dist/esm/operationsInterfaces/throughputPoolAccounts.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/throughputPoolAccounts.js +0 -9
- package/dist/esm/operationsInterfaces/throughputPoolAccounts.js.map +0 -1
- package/dist/esm/operationsInterfaces/throughputPools.d.ts +0 -17
- package/dist/esm/operationsInterfaces/throughputPools.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/throughputPools.js +0 -9
- package/dist/esm/operationsInterfaces/throughputPools.js.map +0 -1
- package/dist/react-native/operations/chaosFault.d.ts +0 -65
- package/dist/react-native/operations/chaosFault.d.ts.map +0 -1
- package/dist/react-native/operations/chaosFault.js +0 -279
- package/dist/react-native/operations/chaosFault.js.map +0 -1
- package/dist/react-native/operations/dataTransferJobs.d.ts +0 -87
- package/dist/react-native/operations/dataTransferJobs.d.ts.map +0 -1
- package/dist/react-native/operations/dataTransferJobs.js +0 -345
- package/dist/react-native/operations/dataTransferJobs.js.map +0 -1
- package/dist/react-native/operations/graphResources.d.ts +0 -73
- package/dist/react-native/operations/graphResources.d.ts.map +0 -1
- package/dist/react-native/operations/graphResources.js +0 -291
- package/dist/react-native/operations/graphResources.js.map +0 -1
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts +0 -66
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js +0 -282
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js.map +0 -1
- package/dist/react-native/operations/throughputPool.d.ts +0 -67
- package/dist/react-native/operations/throughputPool.d.ts.map +0 -1
- package/dist/react-native/operations/throughputPool.js +0 -308
- package/dist/react-native/operations/throughputPool.js.map +0 -1
- package/dist/react-native/operations/throughputPoolAccount.d.ts +0 -58
- package/dist/react-native/operations/throughputPoolAccount.d.ts.map +0 -1
- package/dist/react-native/operations/throughputPoolAccount.js +0 -248
- package/dist/react-native/operations/throughputPoolAccount.js.map +0 -1
- package/dist/react-native/operations/throughputPoolAccounts.d.ts +0 -38
- package/dist/react-native/operations/throughputPoolAccounts.d.ts.map +0 -1
- package/dist/react-native/operations/throughputPoolAccounts.js +0 -150
- package/dist/react-native/operations/throughputPoolAccounts.js.map +0 -1
- package/dist/react-native/operations/throughputPools.d.ts +0 -53
- package/dist/react-native/operations/throughputPools.d.ts.map +0 -1
- package/dist/react-native/operations/throughputPools.js +0 -256
- package/dist/react-native/operations/throughputPools.js.map +0 -1
- package/dist/react-native/operationsInterfaces/chaosFault.d.ts +0 -40
- package/dist/react-native/operationsInterfaces/chaosFault.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/chaosFault.js +0 -9
- package/dist/react-native/operationsInterfaces/chaosFault.js.map +0 -1
- package/dist/react-native/operationsInterfaces/dataTransferJobs.d.ts +0 -62
- package/dist/react-native/operationsInterfaces/dataTransferJobs.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/dataTransferJobs.js +0 -9
- package/dist/react-native/operationsInterfaces/dataTransferJobs.js.map +0 -1
- package/dist/react-native/operationsInterfaces/graphResources.d.ts +0 -56
- package/dist/react-native/operationsInterfaces/graphResources.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/graphResources.js +0 -9
- package/dist/react-native/operationsInterfaces/graphResources.js.map +0 -1
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +0 -41
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.js +0 -9
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +0 -1
- package/dist/react-native/operationsInterfaces/throughputPool.d.ts +0 -59
- package/dist/react-native/operationsInterfaces/throughputPool.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/throughputPool.js +0 -9
- package/dist/react-native/operationsInterfaces/throughputPool.js.map +0 -1
- package/dist/react-native/operationsInterfaces/throughputPoolAccount.d.ts +0 -50
- package/dist/react-native/operationsInterfaces/throughputPoolAccount.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/throughputPoolAccount.js +0 -9
- package/dist/react-native/operationsInterfaces/throughputPoolAccount.js.map +0 -1
- package/dist/react-native/operationsInterfaces/throughputPoolAccounts.d.ts +0 -13
- package/dist/react-native/operationsInterfaces/throughputPoolAccounts.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/throughputPoolAccounts.js +0 -9
- package/dist/react-native/operationsInterfaces/throughputPoolAccounts.js.map +0 -1
- package/dist/react-native/operationsInterfaces/throughputPools.d.ts +0 -17
- package/dist/react-native/operationsInterfaces/throughputPools.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/throughputPools.js +0 -9
- package/dist/react-native/operationsInterfaces/throughputPools.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"throughputPoolAccount.js","sourceRoot":"","sources":["../../../src/operations/throughputPoolAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,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;AAW9C,yDAAyD;AACzD,MAAM,OAAO,yBAAyB;IAGpC;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;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,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,kBAAkB;QAC7B,UAAU,CAAC,yBAAyB;KACrC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EAAE,2LAA2L;IACjM,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,aAAa,EAAE,OAAO,CAAC,kCAAkC;SAC1D;QACD,GAAG,EAAE;YACH,aAAa,EAAE,OAAO,CAAC,kCAAkC;SAC1D;QACD,GAAG,EAAE;YACH,aAAa,EAAE,OAAO,CAAC,kCAAkC;SAC1D;QACD,GAAG,EAAE;YACH,aAAa,EAAE,OAAO,CAAC,kCAAkC;SAC1D;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,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,kBAAkB;QAC7B,UAAU,CAAC,yBAAyB;KACrC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,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 { ThroughputPoolAccount } 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 ThroughputPoolAccountGetOptionalParams,\n ThroughputPoolAccountGetResponse,\n ThroughputPoolAccountResource,\n ThroughputPoolAccountCreateOptionalParams,\n ThroughputPoolAccountCreateResponse,\n ThroughputPoolAccountDeleteOptionalParams,\n ThroughputPoolAccountDeleteResponse,\n} from \"../models/index.js\";\n\n/** Class containing ThroughputPoolAccount operations. */\nexport class ThroughputPoolAccountImpl implements ThroughputPoolAccount {\n private readonly client: CosmosDBManagementClient;\n\n /**\n * Initialize a new instance of the class ThroughputPoolAccount class.\n * @param client Reference to the service client\n */\n constructor(client: CosmosDBManagementClient) {\n this.client = client;\n }\n\n /**\n * Retrieves the properties of an existing Azure Cosmos DB Throughput Pool\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param throughputPoolName Cosmos DB Throughput Pool name.\n * @param throughputPoolAccountName Cosmos DB global database account in a Throughput Pool\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n throughputPoolName: string,\n throughputPoolAccountName: string,\n options?: ThroughputPoolAccountGetOptionalParams,\n ): Promise<ThroughputPoolAccountGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n throughputPoolName,\n throughputPoolAccountName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Creates or updates an Azure Cosmos DB ThroughputPool account. The \"Update\" method is preferred when\n * performing updates on an account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param throughputPoolName Cosmos DB Throughput Pool name.\n * @param throughputPoolAccountName Cosmos DB global database account in a Throughput Pool\n * @param body The parameters to provide for the current ThroughputPoolAccount.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n throughputPoolName: string,\n throughputPoolAccountName: string,\n body: ThroughputPoolAccountResource,\n options?: ThroughputPoolAccountCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ThroughputPoolAccountCreateResponse>,\n ThroughputPoolAccountCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ThroughputPoolAccountCreateResponse> => {\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 throughputPoolName,\n throughputPoolAccountName,\n body,\n options,\n },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n ThroughputPoolAccountCreateResponse,\n OperationState<ThroughputPoolAccountCreateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates an Azure Cosmos DB ThroughputPool account. The \"Update\" method is preferred when\n * performing updates on an account.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param throughputPoolName Cosmos DB Throughput Pool name.\n * @param throughputPoolAccountName Cosmos DB global database account in a Throughput Pool\n * @param body The parameters to provide for the current ThroughputPoolAccount.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n throughputPoolName: string,\n throughputPoolAccountName: string,\n body: ThroughputPoolAccountResource,\n options?: ThroughputPoolAccountCreateOptionalParams,\n ): Promise<ThroughputPoolAccountCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n throughputPoolName,\n throughputPoolAccountName,\n body,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Removes an existing Azure Cosmos DB database account from a throughput pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param throughputPoolName Cosmos DB Throughput Pool name.\n * @param throughputPoolAccountName Cosmos DB global database account in a Throughput Pool\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n throughputPoolName: string,\n throughputPoolAccountName: string,\n options?: ThroughputPoolAccountDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ThroughputPoolAccountDeleteResponse>,\n ThroughputPoolAccountDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ThroughputPoolAccountDeleteResponse> => {\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 throughputPoolName,\n throughputPoolAccountName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n ThroughputPoolAccountDeleteResponse,\n OperationState<ThroughputPoolAccountDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Removes an existing Azure Cosmos DB database account from a throughput pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param throughputPoolName Cosmos DB Throughput Pool name.\n * @param throughputPoolAccountName Cosmos DB global database account in a Throughput Pool\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n throughputPoolName: string,\n throughputPoolAccountName: string,\n options?: ThroughputPoolAccountDeleteOptionalParams,\n ): Promise<ThroughputPoolAccountDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n throughputPoolName,\n throughputPoolAccountName,\n options,\n );\n return poller.pollUntilDone();\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/throughputPools/{throughputPoolName}/throughputPoolAccounts/{throughputPoolAccountName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ThroughputPoolAccountResource,\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.throughputPoolName,\n Parameters.throughputPoolAccountName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/throughputPools/{throughputPoolName}/throughputPoolAccounts/{throughputPoolAccountName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ThroughputPoolAccountResource,\n },\n 201: {\n bodyMapper: Mappers.ThroughputPoolAccountResource,\n },\n 202: {\n bodyMapper: Mappers.ThroughputPoolAccountResource,\n },\n 204: {\n bodyMapper: Mappers.ThroughputPoolAccountResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.body6,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.throughputPoolName,\n Parameters.throughputPoolAccountName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/throughputPools/{throughputPoolName}/throughputPoolAccounts/{throughputPoolAccountName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.ThroughputPoolAccountDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.ThroughputPoolAccountDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.ThroughputPoolAccountDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.ThroughputPoolAccountDeleteHeaders,\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.throughputPoolName,\n Parameters.throughputPoolAccountName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { ThroughputPoolAccounts } from "../operationsInterfaces/index.js";
|
|
3
|
-
import { CosmosDBManagementClient } from "../cosmosDBManagementClient.js";
|
|
4
|
-
import { ThroughputPoolAccountResource, ThroughputPoolAccountsListOptionalParams } from "../models/index.js";
|
|
5
|
-
/** Class containing ThroughputPoolAccounts operations. */
|
|
6
|
-
export declare class ThroughputPoolAccountsImpl implements ThroughputPoolAccounts {
|
|
7
|
-
private readonly client;
|
|
8
|
-
/**
|
|
9
|
-
* Initialize a new instance of the class ThroughputPoolAccounts class.
|
|
10
|
-
* @param client Reference to the service client
|
|
11
|
-
*/
|
|
12
|
-
constructor(client: CosmosDBManagementClient);
|
|
13
|
-
/**
|
|
14
|
-
* Lists all the Azure Cosmos DB accounts available under the subscription.
|
|
15
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
16
|
-
* @param throughputPoolName Cosmos DB Throughput Pool name.
|
|
17
|
-
* @param options The options parameters.
|
|
18
|
-
*/
|
|
19
|
-
list(resourceGroupName: string, throughputPoolName: string, options?: ThroughputPoolAccountsListOptionalParams): PagedAsyncIterableIterator<ThroughputPoolAccountResource>;
|
|
20
|
-
private listPagingPage;
|
|
21
|
-
private listPagingAll;
|
|
22
|
-
/**
|
|
23
|
-
* Lists all the Azure Cosmos DB accounts available under the subscription.
|
|
24
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
25
|
-
* @param throughputPoolName Cosmos DB Throughput Pool name.
|
|
26
|
-
* @param options The options parameters.
|
|
27
|
-
*/
|
|
28
|
-
private _list;
|
|
29
|
-
/**
|
|
30
|
-
* ListNext
|
|
31
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
32
|
-
* @param throughputPoolName Cosmos DB Throughput Pool name.
|
|
33
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
34
|
-
* @param options The options parameters.
|
|
35
|
-
*/
|
|
36
|
-
private _listNext;
|
|
37
|
-
}
|
|
38
|
-
//# sourceMappingURL=throughputPoolAccounts.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"throughputPoolAccounts.d.ts","sourceRoot":"","sources":["../../../src/operations/throughputPoolAccounts.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAI1E,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EACL,6BAA6B,EAE7B,wCAAwC,EAGzC,MAAM,oBAAoB,CAAC;AAG5B,0DAA0D;AAC1D,qBAAa,0BAA2B,YAAW,sBAAsB;IACvE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2B;IAElD;;;OAGG;gBACS,MAAM,EAAE,wBAAwB;IAI5C;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,6BAA6B,CAAC;YA2B7C,cAAc;YA6Bd,aAAa;IAc5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
|
-
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers.js";
|
|
12
|
-
import * as Parameters from "../models/parameters.js";
|
|
13
|
-
/// <reference lib="esnext.asynciterable" />
|
|
14
|
-
/** Class containing ThroughputPoolAccounts operations. */
|
|
15
|
-
export class ThroughputPoolAccountsImpl {
|
|
16
|
-
/**
|
|
17
|
-
* Initialize a new instance of the class ThroughputPoolAccounts class.
|
|
18
|
-
* @param client Reference to the service client
|
|
19
|
-
*/
|
|
20
|
-
constructor(client) {
|
|
21
|
-
this.client = client;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Lists all the Azure Cosmos DB accounts available under the subscription.
|
|
25
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
26
|
-
* @param throughputPoolName Cosmos DB Throughput Pool name.
|
|
27
|
-
* @param options The options parameters.
|
|
28
|
-
*/
|
|
29
|
-
list(resourceGroupName, throughputPoolName, options) {
|
|
30
|
-
const iter = this.listPagingAll(resourceGroupName, throughputPoolName, options);
|
|
31
|
-
return {
|
|
32
|
-
next() {
|
|
33
|
-
return iter.next();
|
|
34
|
-
},
|
|
35
|
-
[Symbol.asyncIterator]() {
|
|
36
|
-
return this;
|
|
37
|
-
},
|
|
38
|
-
byPage: (settings) => {
|
|
39
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
40
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
41
|
-
}
|
|
42
|
-
return this.listPagingPage(resourceGroupName, throughputPoolName, options, settings);
|
|
43
|
-
},
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
listPagingPage(resourceGroupName, throughputPoolName, options, settings) {
|
|
47
|
-
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
48
|
-
let result;
|
|
49
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
50
|
-
if (!continuationToken) {
|
|
51
|
-
result = yield __await(this._list(resourceGroupName, throughputPoolName, options));
|
|
52
|
-
let page = result.value || [];
|
|
53
|
-
continuationToken = result.nextLink;
|
|
54
|
-
setContinuationToken(page, continuationToken);
|
|
55
|
-
yield yield __await(page);
|
|
56
|
-
}
|
|
57
|
-
while (continuationToken) {
|
|
58
|
-
result = yield __await(this._listNext(resourceGroupName, throughputPoolName, continuationToken, options));
|
|
59
|
-
continuationToken = result.nextLink;
|
|
60
|
-
let page = result.value || [];
|
|
61
|
-
setContinuationToken(page, continuationToken);
|
|
62
|
-
yield yield __await(page);
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
listPagingAll(resourceGroupName, throughputPoolName, options) {
|
|
67
|
-
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
68
|
-
var _a, e_1, _b, _c;
|
|
69
|
-
try {
|
|
70
|
-
for (var _d = true, _e = __asyncValues(this.listPagingPage(resourceGroupName, throughputPoolName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
71
|
-
_c = _f.value;
|
|
72
|
-
_d = false;
|
|
73
|
-
const page = _c;
|
|
74
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
78
|
-
finally {
|
|
79
|
-
try {
|
|
80
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
81
|
-
}
|
|
82
|
-
finally { if (e_1) throw e_1.error; }
|
|
83
|
-
}
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
* Lists all the Azure Cosmos DB accounts available under the subscription.
|
|
88
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
89
|
-
* @param throughputPoolName Cosmos DB Throughput Pool name.
|
|
90
|
-
* @param options The options parameters.
|
|
91
|
-
*/
|
|
92
|
-
_list(resourceGroupName, throughputPoolName, options) {
|
|
93
|
-
return this.client.sendOperationRequest({ resourceGroupName, throughputPoolName, options }, listOperationSpec);
|
|
94
|
-
}
|
|
95
|
-
/**
|
|
96
|
-
* ListNext
|
|
97
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
98
|
-
* @param throughputPoolName Cosmos DB Throughput Pool name.
|
|
99
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
100
|
-
* @param options The options parameters.
|
|
101
|
-
*/
|
|
102
|
-
_listNext(resourceGroupName, throughputPoolName, nextLink, options) {
|
|
103
|
-
return this.client.sendOperationRequest({ resourceGroupName, throughputPoolName, nextLink, options }, listNextOperationSpec);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
// Operation Specifications
|
|
107
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
108
|
-
const listOperationSpec = {
|
|
109
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/throughputPools/{throughputPoolName}/throughputPoolAccounts",
|
|
110
|
-
httpMethod: "GET",
|
|
111
|
-
responses: {
|
|
112
|
-
200: {
|
|
113
|
-
bodyMapper: Mappers.ThroughputPoolAccountsListResult,
|
|
114
|
-
},
|
|
115
|
-
default: {
|
|
116
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
117
|
-
},
|
|
118
|
-
},
|
|
119
|
-
queryParameters: [Parameters.apiVersion],
|
|
120
|
-
urlParameters: [
|
|
121
|
-
Parameters.$host,
|
|
122
|
-
Parameters.subscriptionId,
|
|
123
|
-
Parameters.resourceGroupName,
|
|
124
|
-
Parameters.throughputPoolName,
|
|
125
|
-
],
|
|
126
|
-
headerParameters: [Parameters.accept],
|
|
127
|
-
serializer,
|
|
128
|
-
};
|
|
129
|
-
const listNextOperationSpec = {
|
|
130
|
-
path: "{nextLink}",
|
|
131
|
-
httpMethod: "GET",
|
|
132
|
-
responses: {
|
|
133
|
-
200: {
|
|
134
|
-
bodyMapper: Mappers.ThroughputPoolAccountsListResult,
|
|
135
|
-
},
|
|
136
|
-
default: {
|
|
137
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
138
|
-
},
|
|
139
|
-
},
|
|
140
|
-
urlParameters: [
|
|
141
|
-
Parameters.$host,
|
|
142
|
-
Parameters.subscriptionId,
|
|
143
|
-
Parameters.resourceGroupName,
|
|
144
|
-
Parameters.nextLink,
|
|
145
|
-
Parameters.throughputPoolName,
|
|
146
|
-
],
|
|
147
|
-
headerParameters: [Parameters.accept],
|
|
148
|
-
serializer,
|
|
149
|
-
};
|
|
150
|
-
//# sourceMappingURL=throughputPoolAccounts.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"throughputPoolAccounts.js","sourceRoot":"","sources":["../../../src/operations/throughputPoolAccounts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,0DAA0D;AAC1D,MAAM,OAAO,0BAA0B;IAGrC;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,kBAA0B,EAC1B,OAAkD;QAElD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAC7B,iBAAiB,EACjB,kBAAkB,EAClB,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CACxB,iBAAiB,EACjB,kBAAkB,EAClB,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,EACzB,kBAA0B,EAC1B,OAAkD,EAClD,QAAuB;;YAEvB,IAAI,MAA0C,CAAC;YAC/C,IAAI,iBAAiB,GAAG,QAAQ,aAAR,QAAQ,u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QACnB,UAAU,CAAC,kBAAkB;KAC9B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,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 { setContinuationToken } from \"../pagingHelper.js\";\nimport { ThroughputPoolAccounts } 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 ThroughputPoolAccountResource,\n ThroughputPoolAccountsListNextOptionalParams,\n ThroughputPoolAccountsListOptionalParams,\n ThroughputPoolAccountsListResponse,\n ThroughputPoolAccountsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ThroughputPoolAccounts operations. */\nexport class ThroughputPoolAccountsImpl implements ThroughputPoolAccounts {\n private readonly client: CosmosDBManagementClient;\n\n /**\n * Initialize a new instance of the class ThroughputPoolAccounts class.\n * @param client Reference to the service client\n */\n constructor(client: CosmosDBManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the Azure Cosmos DB accounts available under the subscription.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param throughputPoolName Cosmos DB Throughput Pool name.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n throughputPoolName: string,\n options?: ThroughputPoolAccountsListOptionalParams,\n ): PagedAsyncIterableIterator<ThroughputPoolAccountResource> {\n const iter = this.listPagingAll(\n resourceGroupName,\n throughputPoolName,\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.listPagingPage(\n resourceGroupName,\n throughputPoolName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n throughputPoolName: string,\n options?: ThroughputPoolAccountsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ThroughputPoolAccountResource[]> {\n let result: ThroughputPoolAccountsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, throughputPoolName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n throughputPoolName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n throughputPoolName: string,\n options?: ThroughputPoolAccountsListOptionalParams,\n ): AsyncIterableIterator<ThroughputPoolAccountResource> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n throughputPoolName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the Azure Cosmos DB accounts available under the subscription.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param throughputPoolName Cosmos DB Throughput Pool name.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n throughputPoolName: string,\n options?: ThroughputPoolAccountsListOptionalParams,\n ): Promise<ThroughputPoolAccountsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, throughputPoolName, options },\n listOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param throughputPoolName Cosmos DB Throughput Pool name.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n throughputPoolName: string,\n nextLink: string,\n options?: ThroughputPoolAccountsListNextOptionalParams,\n ): Promise<ThroughputPoolAccountsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, throughputPoolName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/throughputPools/{throughputPoolName}/throughputPoolAccounts\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ThroughputPoolAccountsListResult,\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.throughputPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ThroughputPoolAccountsListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.throughputPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { ThroughputPools } from "../operationsInterfaces/index.js";
|
|
3
|
-
import { CosmosDBManagementClient } from "../cosmosDBManagementClient.js";
|
|
4
|
-
import { ThroughputPoolResource, ThroughputPoolsListOptionalParams, ThroughputPoolsListByResourceGroupOptionalParams } from "../models/index.js";
|
|
5
|
-
/** Class containing ThroughputPools operations. */
|
|
6
|
-
export declare class ThroughputPoolsImpl implements ThroughputPools {
|
|
7
|
-
private readonly client;
|
|
8
|
-
/**
|
|
9
|
-
* Initialize a new instance of the class ThroughputPools class.
|
|
10
|
-
* @param client Reference to the service client
|
|
11
|
-
*/
|
|
12
|
-
constructor(client: CosmosDBManagementClient);
|
|
13
|
-
/**
|
|
14
|
-
* Lists all the Azure Cosmos DB Throughput Pools available under the subscription.
|
|
15
|
-
* @param options The options parameters.
|
|
16
|
-
*/
|
|
17
|
-
list(options?: ThroughputPoolsListOptionalParams): PagedAsyncIterableIterator<ThroughputPoolResource>;
|
|
18
|
-
private listPagingPage;
|
|
19
|
-
private listPagingAll;
|
|
20
|
-
/**
|
|
21
|
-
* List all the ThroughputPools in a given resource group.
|
|
22
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
23
|
-
* @param options The options parameters.
|
|
24
|
-
*/
|
|
25
|
-
listByResourceGroup(resourceGroupName: string, options?: ThroughputPoolsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ThroughputPoolResource>;
|
|
26
|
-
private listByResourceGroupPagingPage;
|
|
27
|
-
private listByResourceGroupPagingAll;
|
|
28
|
-
/**
|
|
29
|
-
* Lists all the Azure Cosmos DB Throughput Pools available under the subscription.
|
|
30
|
-
* @param options The options parameters.
|
|
31
|
-
*/
|
|
32
|
-
private _list;
|
|
33
|
-
/**
|
|
34
|
-
* List all the ThroughputPools in a given resource group.
|
|
35
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
36
|
-
* @param options The options parameters.
|
|
37
|
-
*/
|
|
38
|
-
private _listByResourceGroup;
|
|
39
|
-
/**
|
|
40
|
-
* ListNext
|
|
41
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
42
|
-
* @param options The options parameters.
|
|
43
|
-
*/
|
|
44
|
-
private _listNext;
|
|
45
|
-
/**
|
|
46
|
-
* ListByResourceGroupNext
|
|
47
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
48
|
-
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
49
|
-
* @param options The options parameters.
|
|
50
|
-
*/
|
|
51
|
-
private _listByResourceGroupNext;
|
|
52
|
-
}
|
|
53
|
-
//# sourceMappingURL=throughputPools.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"throughputPools.d.ts","sourceRoot":"","sources":["../../../src/operations/throughputPools.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAInE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EACL,sBAAsB,EAEtB,iCAAiC,EAGjC,gDAAgD,EAIjD,MAAM,oBAAoB,CAAC;AAG5B,mDAAmD;AACnD,qBAAa,mBAAoB,YAAW,eAAe;IACzD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2B;IAElD;;;OAGG;gBACS,MAAM,EAAE,wBAAwB;IAI5C;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,iCAAiC,GAC1C,0BAA0B,CAAC,sBAAsB,CAAC;YAkBtC,cAAc;YAsBd,aAAa;IAQ5B;;;;OAIG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,gDAAgD,GACzD,0BAA0B,CAAC,sBAAsB,CAAC;YAsBtC,6BAA6B;YA2B7B,4BAA4B;IAY3C;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;;OAIG;IACH,OAAO,CAAC,SAAS;IAUjB;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;CAUjC"}
|
|
@@ -1,256 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
|
-
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers.js";
|
|
12
|
-
import * as Parameters from "../models/parameters.js";
|
|
13
|
-
/// <reference lib="esnext.asynciterable" />
|
|
14
|
-
/** Class containing ThroughputPools operations. */
|
|
15
|
-
export class ThroughputPoolsImpl {
|
|
16
|
-
/**
|
|
17
|
-
* Initialize a new instance of the class ThroughputPools class.
|
|
18
|
-
* @param client Reference to the service client
|
|
19
|
-
*/
|
|
20
|
-
constructor(client) {
|
|
21
|
-
this.client = client;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Lists all the Azure Cosmos DB Throughput Pools available under the subscription.
|
|
25
|
-
* @param options The options parameters.
|
|
26
|
-
*/
|
|
27
|
-
list(options) {
|
|
28
|
-
const iter = this.listPagingAll(options);
|
|
29
|
-
return {
|
|
30
|
-
next() {
|
|
31
|
-
return iter.next();
|
|
32
|
-
},
|
|
33
|
-
[Symbol.asyncIterator]() {
|
|
34
|
-
return this;
|
|
35
|
-
},
|
|
36
|
-
byPage: (settings) => {
|
|
37
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
38
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
39
|
-
}
|
|
40
|
-
return this.listPagingPage(options, settings);
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
listPagingPage(options, settings) {
|
|
45
|
-
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
46
|
-
let result;
|
|
47
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
48
|
-
if (!continuationToken) {
|
|
49
|
-
result = yield __await(this._list(options));
|
|
50
|
-
let page = result.value || [];
|
|
51
|
-
continuationToken = result.nextLink;
|
|
52
|
-
setContinuationToken(page, continuationToken);
|
|
53
|
-
yield yield __await(page);
|
|
54
|
-
}
|
|
55
|
-
while (continuationToken) {
|
|
56
|
-
result = yield __await(this._listNext(continuationToken, options));
|
|
57
|
-
continuationToken = result.nextLink;
|
|
58
|
-
let page = result.value || [];
|
|
59
|
-
setContinuationToken(page, continuationToken);
|
|
60
|
-
yield yield __await(page);
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
listPagingAll(options) {
|
|
65
|
-
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
66
|
-
var _a, e_1, _b, _c;
|
|
67
|
-
try {
|
|
68
|
-
for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
69
|
-
_c = _f.value;
|
|
70
|
-
_d = false;
|
|
71
|
-
const page = _c;
|
|
72
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
76
|
-
finally {
|
|
77
|
-
try {
|
|
78
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
79
|
-
}
|
|
80
|
-
finally { if (e_1) throw e_1.error; }
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* List all the ThroughputPools in a given resource group.
|
|
86
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
87
|
-
* @param options The options parameters.
|
|
88
|
-
*/
|
|
89
|
-
listByResourceGroup(resourceGroupName, options) {
|
|
90
|
-
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
91
|
-
return {
|
|
92
|
-
next() {
|
|
93
|
-
return iter.next();
|
|
94
|
-
},
|
|
95
|
-
[Symbol.asyncIterator]() {
|
|
96
|
-
return this;
|
|
97
|
-
},
|
|
98
|
-
byPage: (settings) => {
|
|
99
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
100
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
101
|
-
}
|
|
102
|
-
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
103
|
-
},
|
|
104
|
-
};
|
|
105
|
-
}
|
|
106
|
-
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
107
|
-
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
108
|
-
let result;
|
|
109
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
110
|
-
if (!continuationToken) {
|
|
111
|
-
result = yield __await(this._listByResourceGroup(resourceGroupName, options));
|
|
112
|
-
let page = result.value || [];
|
|
113
|
-
continuationToken = result.nextLink;
|
|
114
|
-
setContinuationToken(page, continuationToken);
|
|
115
|
-
yield yield __await(page);
|
|
116
|
-
}
|
|
117
|
-
while (continuationToken) {
|
|
118
|
-
result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
119
|
-
continuationToken = result.nextLink;
|
|
120
|
-
let page = result.value || [];
|
|
121
|
-
setContinuationToken(page, continuationToken);
|
|
122
|
-
yield yield __await(page);
|
|
123
|
-
}
|
|
124
|
-
});
|
|
125
|
-
}
|
|
126
|
-
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
127
|
-
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
128
|
-
var _a, e_2, _b, _c;
|
|
129
|
-
try {
|
|
130
|
-
for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
131
|
-
_c = _f.value;
|
|
132
|
-
_d = false;
|
|
133
|
-
const page = _c;
|
|
134
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
138
|
-
finally {
|
|
139
|
-
try {
|
|
140
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
141
|
-
}
|
|
142
|
-
finally { if (e_2) throw e_2.error; }
|
|
143
|
-
}
|
|
144
|
-
});
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* Lists all the Azure Cosmos DB Throughput Pools available under the subscription.
|
|
148
|
-
* @param options The options parameters.
|
|
149
|
-
*/
|
|
150
|
-
_list(options) {
|
|
151
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
152
|
-
}
|
|
153
|
-
/**
|
|
154
|
-
* List all the ThroughputPools in a given resource group.
|
|
155
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
156
|
-
* @param options The options parameters.
|
|
157
|
-
*/
|
|
158
|
-
_listByResourceGroup(resourceGroupName, options) {
|
|
159
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
* ListNext
|
|
163
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
164
|
-
* @param options The options parameters.
|
|
165
|
-
*/
|
|
166
|
-
_listNext(nextLink, options) {
|
|
167
|
-
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
168
|
-
}
|
|
169
|
-
/**
|
|
170
|
-
* ListByResourceGroupNext
|
|
171
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
172
|
-
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
173
|
-
* @param options The options parameters.
|
|
174
|
-
*/
|
|
175
|
-
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
176
|
-
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
// Operation Specifications
|
|
180
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
181
|
-
const listOperationSpec = {
|
|
182
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/throughputPools",
|
|
183
|
-
httpMethod: "GET",
|
|
184
|
-
responses: {
|
|
185
|
-
200: {
|
|
186
|
-
bodyMapper: Mappers.ThroughputPoolsListResult,
|
|
187
|
-
},
|
|
188
|
-
default: {
|
|
189
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
190
|
-
},
|
|
191
|
-
},
|
|
192
|
-
queryParameters: [Parameters.apiVersion],
|
|
193
|
-
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
194
|
-
headerParameters: [Parameters.accept],
|
|
195
|
-
serializer,
|
|
196
|
-
};
|
|
197
|
-
const listByResourceGroupOperationSpec = {
|
|
198
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/throughputPools",
|
|
199
|
-
httpMethod: "GET",
|
|
200
|
-
responses: {
|
|
201
|
-
200: {
|
|
202
|
-
bodyMapper: Mappers.ThroughputPoolsListResult,
|
|
203
|
-
},
|
|
204
|
-
default: {
|
|
205
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
206
|
-
},
|
|
207
|
-
},
|
|
208
|
-
queryParameters: [Parameters.apiVersion],
|
|
209
|
-
urlParameters: [
|
|
210
|
-
Parameters.$host,
|
|
211
|
-
Parameters.subscriptionId,
|
|
212
|
-
Parameters.resourceGroupName,
|
|
213
|
-
],
|
|
214
|
-
headerParameters: [Parameters.accept],
|
|
215
|
-
serializer,
|
|
216
|
-
};
|
|
217
|
-
const listNextOperationSpec = {
|
|
218
|
-
path: "{nextLink}",
|
|
219
|
-
httpMethod: "GET",
|
|
220
|
-
responses: {
|
|
221
|
-
200: {
|
|
222
|
-
bodyMapper: Mappers.ThroughputPoolsListResult,
|
|
223
|
-
},
|
|
224
|
-
default: {
|
|
225
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
226
|
-
},
|
|
227
|
-
},
|
|
228
|
-
urlParameters: [
|
|
229
|
-
Parameters.$host,
|
|
230
|
-
Parameters.subscriptionId,
|
|
231
|
-
Parameters.nextLink,
|
|
232
|
-
],
|
|
233
|
-
headerParameters: [Parameters.accept],
|
|
234
|
-
serializer,
|
|
235
|
-
};
|
|
236
|
-
const listByResourceGroupNextOperationSpec = {
|
|
237
|
-
path: "{nextLink}",
|
|
238
|
-
httpMethod: "GET",
|
|
239
|
-
responses: {
|
|
240
|
-
200: {
|
|
241
|
-
bodyMapper: Mappers.ThroughputPoolsListResult,
|
|
242
|
-
},
|
|
243
|
-
default: {
|
|
244
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
245
|
-
},
|
|
246
|
-
},
|
|
247
|
-
urlParameters: [
|
|
248
|
-
Parameters.$host,
|
|
249
|
-
Parameters.subscriptionId,
|
|
250
|
-
Parameters.resourceGroupName,
|
|
251
|
-
Parameters.nextLink,
|
|
252
|
-
],
|
|
253
|
-
headerParameters: [Parameters.accept],
|
|
254
|
-
serializer,
|
|
255
|
-
};
|
|
256
|
-
//# sourceMappingURL=throughputPools.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"throughputPools.js","sourceRoot":"","sources":["../../../src/operations/throughputPools.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AActD,4CAA4C;AAC5C,mDAAmD;AACnD,MAAM,OAAO,mBAAmB;IAG9B;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAA2C;QAE3C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IA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AAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yBAAyB;SAC9C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yBAAyB;SAC9C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,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 { setContinuationToken } from \"../pagingHelper.js\";\nimport { ThroughputPools } 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 ThroughputPoolResource,\n ThroughputPoolsListNextOptionalParams,\n ThroughputPoolsListOptionalParams,\n ThroughputPoolsListResponse,\n ThroughputPoolsListByResourceGroupNextOptionalParams,\n ThroughputPoolsListByResourceGroupOptionalParams,\n ThroughputPoolsListByResourceGroupResponse,\n ThroughputPoolsListNextResponse,\n ThroughputPoolsListByResourceGroupNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ThroughputPools operations. */\nexport class ThroughputPoolsImpl implements ThroughputPools {\n private readonly client: CosmosDBManagementClient;\n\n /**\n * Initialize a new instance of the class ThroughputPools class.\n * @param client Reference to the service client\n */\n constructor(client: CosmosDBManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the Azure Cosmos DB Throughput Pools available under the subscription.\n * @param options The options parameters.\n */\n public list(\n options?: ThroughputPoolsListOptionalParams,\n ): PagedAsyncIterableIterator<ThroughputPoolResource> {\n const iter = this.listPagingAll(options);\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.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: ThroughputPoolsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ThroughputPoolResource[]> {\n let result: ThroughputPoolsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: ThroughputPoolsListOptionalParams,\n ): AsyncIterableIterator<ThroughputPoolResource> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * List all the ThroughputPools in a given resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: ThroughputPoolsListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<ThroughputPoolResource> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\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.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: ThroughputPoolsListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ThroughputPoolResource[]> {\n let result: ThroughputPoolsListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: ThroughputPoolsListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<ThroughputPoolResource> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the Azure Cosmos DB Throughput Pools available under the subscription.\n * @param options The options parameters.\n */\n private _list(\n options?: ThroughputPoolsListOptionalParams,\n ): Promise<ThroughputPoolsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * List all the ThroughputPools in a given resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: ThroughputPoolsListByResourceGroupOptionalParams,\n ): Promise<ThroughputPoolsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: ThroughputPoolsListNextOptionalParams,\n ): Promise<ThroughputPoolsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: ThroughputPoolsListByResourceGroupNextOptionalParams,\n ): Promise<ThroughputPoolsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/throughputPools\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ThroughputPoolsListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/throughputPools\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ThroughputPoolsListResult,\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 ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ThroughputPoolsListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ThroughputPoolsListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
3
|
-
import { ChaosFaultResource, ChaosFaultListOptionalParams, ChaosFaultEnableDisableOptionalParams, ChaosFaultEnableDisableResponse, ChaosFaultGetOptionalParams, ChaosFaultGetResponse } from "../models/index.js";
|
|
4
|
-
/** Interface representing a ChaosFault. */
|
|
5
|
-
export interface ChaosFault {
|
|
6
|
-
/**
|
|
7
|
-
* List Chaos Faults for CosmosDB account.
|
|
8
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
9
|
-
* @param accountName Cosmos DB database account name.
|
|
10
|
-
* @param options The options parameters.
|
|
11
|
-
*/
|
|
12
|
-
list(resourceGroupName: string, accountName: string, options?: ChaosFaultListOptionalParams): PagedAsyncIterableIterator<ChaosFaultResource>;
|
|
13
|
-
/**
|
|
14
|
-
* Enable, disable Chaos Fault in a CosmosDB account.
|
|
15
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
16
|
-
* @param accountName Cosmos DB database account name.
|
|
17
|
-
* @param chaosFault The name of the ChaosFault.
|
|
18
|
-
* @param chaosFaultRequest A request object to enable/disable the chaos fault.
|
|
19
|
-
* @param options The options parameters.
|
|
20
|
-
*/
|
|
21
|
-
beginEnableDisable(resourceGroupName: string, accountName: string, chaosFault: string, chaosFaultRequest: ChaosFaultResource, options?: ChaosFaultEnableDisableOptionalParams): Promise<SimplePollerLike<OperationState<ChaosFaultEnableDisableResponse>, ChaosFaultEnableDisableResponse>>;
|
|
22
|
-
/**
|
|
23
|
-
* Enable, disable Chaos Fault in a CosmosDB account.
|
|
24
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
25
|
-
* @param accountName Cosmos DB database account name.
|
|
26
|
-
* @param chaosFault The name of the ChaosFault.
|
|
27
|
-
* @param chaosFaultRequest A request object to enable/disable the chaos fault.
|
|
28
|
-
* @param options The options parameters.
|
|
29
|
-
*/
|
|
30
|
-
beginEnableDisableAndWait(resourceGroupName: string, accountName: string, chaosFault: string, chaosFaultRequest: ChaosFaultResource, options?: ChaosFaultEnableDisableOptionalParams): Promise<ChaosFaultEnableDisableResponse>;
|
|
31
|
-
/**
|
|
32
|
-
* Get Chaos Fault for a CosmosdB account for a particular Chaos Fault.
|
|
33
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
34
|
-
* @param accountName Cosmos DB database account name.
|
|
35
|
-
* @param chaosFault The name of the ChaosFault.
|
|
36
|
-
* @param options The options parameters.
|
|
37
|
-
*/
|
|
38
|
-
get(resourceGroupName: string, accountName: string, chaosFault: string, options?: ChaosFaultGetOptionalParams): Promise<ChaosFaultGetResponse>;
|
|
39
|
-
}
|
|
40
|
-
//# sourceMappingURL=chaosFault.d.ts.map
|