@azure/arm-cosmosdb 16.3.0-beta.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 +3 -3
- package/README.md +22 -15
- 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.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.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/commonjs/tsdoc-metadata.json +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.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.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 +37 -48
- 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
|
@@ -72,14 +72,14 @@ export class SqlResourcesImpl {
|
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
74
|
/**
|
|
75
|
-
* Lists the
|
|
75
|
+
* Lists the SQL container under an existing Azure Cosmos DB database account.
|
|
76
76
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
77
77
|
* @param accountName Cosmos DB database account name.
|
|
78
78
|
* @param databaseName Cosmos DB database name.
|
|
79
79
|
* @param options The options parameters.
|
|
80
80
|
*/
|
|
81
|
-
|
|
82
|
-
const iter = this.
|
|
81
|
+
listSqlContainers(resourceGroupName, accountName, databaseName, options) {
|
|
82
|
+
const iter = this.listSqlContainersPagingAll(resourceGroupName, accountName, databaseName, options);
|
|
83
83
|
return {
|
|
84
84
|
next() {
|
|
85
85
|
return iter.next();
|
|
@@ -91,22 +91,22 @@ export class SqlResourcesImpl {
|
|
|
91
91
|
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
92
92
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
93
93
|
}
|
|
94
|
-
return this.
|
|
94
|
+
return this.listSqlContainersPagingPage(resourceGroupName, accountName, databaseName, options, settings);
|
|
95
95
|
},
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
|
|
99
|
-
return __asyncGenerator(this, arguments, function*
|
|
98
|
+
listSqlContainersPagingPage(resourceGroupName, accountName, databaseName, options, _settings) {
|
|
99
|
+
return __asyncGenerator(this, arguments, function* listSqlContainersPagingPage_1() {
|
|
100
100
|
let result;
|
|
101
|
-
result = yield __await(this.
|
|
101
|
+
result = yield __await(this._listSqlContainers(resourceGroupName, accountName, databaseName, options));
|
|
102
102
|
yield yield __await(result.value || []);
|
|
103
103
|
});
|
|
104
104
|
}
|
|
105
|
-
|
|
106
|
-
return __asyncGenerator(this, arguments, function*
|
|
105
|
+
listSqlContainersPagingAll(resourceGroupName, accountName, databaseName, options) {
|
|
106
|
+
return __asyncGenerator(this, arguments, function* listSqlContainersPagingAll_1() {
|
|
107
107
|
var _a, e_2, _b, _c;
|
|
108
108
|
try {
|
|
109
|
-
for (var _d = true, _e = __asyncValues(this.
|
|
109
|
+
for (var _d = true, _e = __asyncValues(this.listSqlContainersPagingPage(resourceGroupName, accountName, databaseName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
110
110
|
_c = _f.value;
|
|
111
111
|
_d = false;
|
|
112
112
|
const page = _c;
|
|
@@ -123,14 +123,14 @@ export class SqlResourcesImpl {
|
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
125
|
/**
|
|
126
|
-
* Lists the
|
|
126
|
+
* Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database.
|
|
127
127
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
128
128
|
* @param accountName Cosmos DB database account name.
|
|
129
129
|
* @param databaseName Cosmos DB database name.
|
|
130
130
|
* @param options The options parameters.
|
|
131
131
|
*/
|
|
132
|
-
|
|
133
|
-
const iter = this.
|
|
132
|
+
listClientEncryptionKeys(resourceGroupName, accountName, databaseName, options) {
|
|
133
|
+
const iter = this.listClientEncryptionKeysPagingAll(resourceGroupName, accountName, databaseName, options);
|
|
134
134
|
return {
|
|
135
135
|
next() {
|
|
136
136
|
return iter.next();
|
|
@@ -142,22 +142,22 @@ export class SqlResourcesImpl {
|
|
|
142
142
|
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
143
143
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
144
144
|
}
|
|
145
|
-
return this.
|
|
145
|
+
return this.listClientEncryptionKeysPagingPage(resourceGroupName, accountName, databaseName, options, settings);
|
|
146
146
|
},
|
|
147
147
|
};
|
|
148
148
|
}
|
|
149
|
-
|
|
150
|
-
return __asyncGenerator(this, arguments, function*
|
|
149
|
+
listClientEncryptionKeysPagingPage(resourceGroupName, accountName, databaseName, options, _settings) {
|
|
150
|
+
return __asyncGenerator(this, arguments, function* listClientEncryptionKeysPagingPage_1() {
|
|
151
151
|
let result;
|
|
152
|
-
result = yield __await(this.
|
|
152
|
+
result = yield __await(this._listClientEncryptionKeys(resourceGroupName, accountName, databaseName, options));
|
|
153
153
|
yield yield __await(result.value || []);
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
|
-
|
|
157
|
-
return __asyncGenerator(this, arguments, function*
|
|
156
|
+
listClientEncryptionKeysPagingAll(resourceGroupName, accountName, databaseName, options) {
|
|
157
|
+
return __asyncGenerator(this, arguments, function* listClientEncryptionKeysPagingAll_1() {
|
|
158
158
|
var _a, e_3, _b, _c;
|
|
159
159
|
try {
|
|
160
|
-
for (var _d = true, _e = __asyncValues(this.
|
|
160
|
+
for (var _d = true, _e = __asyncValues(this.listClientEncryptionKeysPagingPage(resourceGroupName, accountName, databaseName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
161
161
|
_c = _f.value;
|
|
162
162
|
_d = false;
|
|
163
163
|
const page = _c;
|
|
@@ -742,101 +742,6 @@ export class SqlResourcesImpl {
|
|
|
742
742
|
const poller = await this.beginMigrateSqlDatabaseToManualThroughput(resourceGroupName, accountName, databaseName, options);
|
|
743
743
|
return poller.pollUntilDone();
|
|
744
744
|
}
|
|
745
|
-
/**
|
|
746
|
-
* Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database.
|
|
747
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
748
|
-
* @param accountName Cosmos DB database account name.
|
|
749
|
-
* @param databaseName Cosmos DB database name.
|
|
750
|
-
* @param options The options parameters.
|
|
751
|
-
*/
|
|
752
|
-
_listClientEncryptionKeys(resourceGroupName, accountName, databaseName, options) {
|
|
753
|
-
return this.client.sendOperationRequest({ resourceGroupName, accountName, databaseName, options }, listClientEncryptionKeysOperationSpec);
|
|
754
|
-
}
|
|
755
|
-
/**
|
|
756
|
-
* Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database.
|
|
757
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
758
|
-
* @param accountName Cosmos DB database account name.
|
|
759
|
-
* @param databaseName Cosmos DB database name.
|
|
760
|
-
* @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name.
|
|
761
|
-
* @param options The options parameters.
|
|
762
|
-
*/
|
|
763
|
-
getClientEncryptionKey(resourceGroupName, accountName, databaseName, clientEncryptionKeyName, options) {
|
|
764
|
-
return this.client.sendOperationRequest({
|
|
765
|
-
resourceGroupName,
|
|
766
|
-
accountName,
|
|
767
|
-
databaseName,
|
|
768
|
-
clientEncryptionKeyName,
|
|
769
|
-
options,
|
|
770
|
-
}, getClientEncryptionKeyOperationSpec);
|
|
771
|
-
}
|
|
772
|
-
/**
|
|
773
|
-
* Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure
|
|
774
|
-
* Powershell (instead of directly).
|
|
775
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
776
|
-
* @param accountName Cosmos DB database account name.
|
|
777
|
-
* @param databaseName Cosmos DB database name.
|
|
778
|
-
* @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name.
|
|
779
|
-
* @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption
|
|
780
|
-
* key.
|
|
781
|
-
* @param options The options parameters.
|
|
782
|
-
*/
|
|
783
|
-
async beginCreateUpdateClientEncryptionKey(resourceGroupName, accountName, databaseName, clientEncryptionKeyName, createUpdateClientEncryptionKeyParameters, options) {
|
|
784
|
-
const directSendOperation = async (args, spec) => {
|
|
785
|
-
return this.client.sendOperationRequest(args, spec);
|
|
786
|
-
};
|
|
787
|
-
const sendOperationFn = async (args, spec) => {
|
|
788
|
-
var _a;
|
|
789
|
-
let currentRawResponse = undefined;
|
|
790
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
791
|
-
const callback = (rawResponse, flatResponse) => {
|
|
792
|
-
currentRawResponse = rawResponse;
|
|
793
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
794
|
-
};
|
|
795
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
796
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
797
|
-
return {
|
|
798
|
-
flatResponse,
|
|
799
|
-
rawResponse: {
|
|
800
|
-
statusCode: currentRawResponse.status,
|
|
801
|
-
body: currentRawResponse.parsedBody,
|
|
802
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
803
|
-
},
|
|
804
|
-
};
|
|
805
|
-
};
|
|
806
|
-
const lro = createLroSpec({
|
|
807
|
-
sendOperationFn,
|
|
808
|
-
args: {
|
|
809
|
-
resourceGroupName,
|
|
810
|
-
accountName,
|
|
811
|
-
databaseName,
|
|
812
|
-
clientEncryptionKeyName,
|
|
813
|
-
createUpdateClientEncryptionKeyParameters,
|
|
814
|
-
options,
|
|
815
|
-
},
|
|
816
|
-
spec: createUpdateClientEncryptionKeyOperationSpec,
|
|
817
|
-
});
|
|
818
|
-
const poller = await createHttpPoller(lro, {
|
|
819
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
820
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
821
|
-
});
|
|
822
|
-
await poller.poll();
|
|
823
|
-
return poller;
|
|
824
|
-
}
|
|
825
|
-
/**
|
|
826
|
-
* Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure
|
|
827
|
-
* Powershell (instead of directly).
|
|
828
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
829
|
-
* @param accountName Cosmos DB database account name.
|
|
830
|
-
* @param databaseName Cosmos DB database name.
|
|
831
|
-
* @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name.
|
|
832
|
-
* @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption
|
|
833
|
-
* key.
|
|
834
|
-
* @param options The options parameters.
|
|
835
|
-
*/
|
|
836
|
-
async beginCreateUpdateClientEncryptionKeyAndWait(resourceGroupName, accountName, databaseName, clientEncryptionKeyName, createUpdateClientEncryptionKeyParameters, options) {
|
|
837
|
-
const poller = await this.beginCreateUpdateClientEncryptionKey(resourceGroupName, accountName, databaseName, clientEncryptionKeyName, createUpdateClientEncryptionKeyParameters, options);
|
|
838
|
-
return poller.pollUntilDone();
|
|
839
|
-
}
|
|
840
745
|
/**
|
|
841
746
|
* Lists the SQL container under an existing Azure Cosmos DB database account.
|
|
842
747
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -983,133 +888,6 @@ export class SqlResourcesImpl {
|
|
|
983
888
|
const poller = await this.beginDeleteSqlContainer(resourceGroupName, accountName, databaseName, containerName, options);
|
|
984
889
|
return poller.pollUntilDone();
|
|
985
890
|
}
|
|
986
|
-
/**
|
|
987
|
-
* Merges the partitions of a SQL database
|
|
988
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
989
|
-
* @param accountName Cosmos DB database account name.
|
|
990
|
-
* @param databaseName Cosmos DB database name.
|
|
991
|
-
* @param mergeParameters The parameters for the merge operation.
|
|
992
|
-
* @param options The options parameters.
|
|
993
|
-
*/
|
|
994
|
-
async beginSqlDatabasePartitionMerge(resourceGroupName, accountName, databaseName, mergeParameters, options) {
|
|
995
|
-
const directSendOperation = async (args, spec) => {
|
|
996
|
-
return this.client.sendOperationRequest(args, spec);
|
|
997
|
-
};
|
|
998
|
-
const sendOperationFn = async (args, spec) => {
|
|
999
|
-
var _a;
|
|
1000
|
-
let currentRawResponse = undefined;
|
|
1001
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
1002
|
-
const callback = (rawResponse, flatResponse) => {
|
|
1003
|
-
currentRawResponse = rawResponse;
|
|
1004
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
1005
|
-
};
|
|
1006
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
1007
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
1008
|
-
return {
|
|
1009
|
-
flatResponse,
|
|
1010
|
-
rawResponse: {
|
|
1011
|
-
statusCode: currentRawResponse.status,
|
|
1012
|
-
body: currentRawResponse.parsedBody,
|
|
1013
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
1014
|
-
},
|
|
1015
|
-
};
|
|
1016
|
-
};
|
|
1017
|
-
const lro = createLroSpec({
|
|
1018
|
-
sendOperationFn,
|
|
1019
|
-
args: {
|
|
1020
|
-
resourceGroupName,
|
|
1021
|
-
accountName,
|
|
1022
|
-
databaseName,
|
|
1023
|
-
mergeParameters,
|
|
1024
|
-
options,
|
|
1025
|
-
},
|
|
1026
|
-
spec: sqlDatabasePartitionMergeOperationSpec,
|
|
1027
|
-
});
|
|
1028
|
-
const poller = await createHttpPoller(lro, {
|
|
1029
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1030
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1031
|
-
resourceLocationConfig: "location",
|
|
1032
|
-
});
|
|
1033
|
-
await poller.poll();
|
|
1034
|
-
return poller;
|
|
1035
|
-
}
|
|
1036
|
-
/**
|
|
1037
|
-
* Merges the partitions of a SQL database
|
|
1038
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1039
|
-
* @param accountName Cosmos DB database account name.
|
|
1040
|
-
* @param databaseName Cosmos DB database name.
|
|
1041
|
-
* @param mergeParameters The parameters for the merge operation.
|
|
1042
|
-
* @param options The options parameters.
|
|
1043
|
-
*/
|
|
1044
|
-
async beginSqlDatabasePartitionMergeAndWait(resourceGroupName, accountName, databaseName, mergeParameters, options) {
|
|
1045
|
-
const poller = await this.beginSqlDatabasePartitionMerge(resourceGroupName, accountName, databaseName, mergeParameters, options);
|
|
1046
|
-
return poller.pollUntilDone();
|
|
1047
|
-
}
|
|
1048
|
-
/**
|
|
1049
|
-
* Merges the partitions of a SQL Container
|
|
1050
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1051
|
-
* @param accountName Cosmos DB database account name.
|
|
1052
|
-
* @param databaseName Cosmos DB database name.
|
|
1053
|
-
* @param containerName Cosmos DB container name.
|
|
1054
|
-
* @param mergeParameters The parameters for the merge operation.
|
|
1055
|
-
* @param options The options parameters.
|
|
1056
|
-
*/
|
|
1057
|
-
async beginListSqlContainerPartitionMerge(resourceGroupName, accountName, databaseName, containerName, mergeParameters, options) {
|
|
1058
|
-
const directSendOperation = async (args, spec) => {
|
|
1059
|
-
return this.client.sendOperationRequest(args, spec);
|
|
1060
|
-
};
|
|
1061
|
-
const sendOperationFn = async (args, spec) => {
|
|
1062
|
-
var _a;
|
|
1063
|
-
let currentRawResponse = undefined;
|
|
1064
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
1065
|
-
const callback = (rawResponse, flatResponse) => {
|
|
1066
|
-
currentRawResponse = rawResponse;
|
|
1067
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
1068
|
-
};
|
|
1069
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
1070
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
1071
|
-
return {
|
|
1072
|
-
flatResponse,
|
|
1073
|
-
rawResponse: {
|
|
1074
|
-
statusCode: currentRawResponse.status,
|
|
1075
|
-
body: currentRawResponse.parsedBody,
|
|
1076
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
1077
|
-
},
|
|
1078
|
-
};
|
|
1079
|
-
};
|
|
1080
|
-
const lro = createLroSpec({
|
|
1081
|
-
sendOperationFn,
|
|
1082
|
-
args: {
|
|
1083
|
-
resourceGroupName,
|
|
1084
|
-
accountName,
|
|
1085
|
-
databaseName,
|
|
1086
|
-
containerName,
|
|
1087
|
-
mergeParameters,
|
|
1088
|
-
options,
|
|
1089
|
-
},
|
|
1090
|
-
spec: listSqlContainerPartitionMergeOperationSpec,
|
|
1091
|
-
});
|
|
1092
|
-
const poller = await createHttpPoller(lro, {
|
|
1093
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1094
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1095
|
-
resourceLocationConfig: "location",
|
|
1096
|
-
});
|
|
1097
|
-
await poller.poll();
|
|
1098
|
-
return poller;
|
|
1099
|
-
}
|
|
1100
|
-
/**
|
|
1101
|
-
* Merges the partitions of a SQL Container
|
|
1102
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1103
|
-
* @param accountName Cosmos DB database account name.
|
|
1104
|
-
* @param databaseName Cosmos DB database name.
|
|
1105
|
-
* @param containerName Cosmos DB container name.
|
|
1106
|
-
* @param mergeParameters The parameters for the merge operation.
|
|
1107
|
-
* @param options The options parameters.
|
|
1108
|
-
*/
|
|
1109
|
-
async beginListSqlContainerPartitionMergeAndWait(resourceGroupName, accountName, databaseName, containerName, mergeParameters, options) {
|
|
1110
|
-
const poller = await this.beginListSqlContainerPartitionMerge(resourceGroupName, accountName, databaseName, containerName, mergeParameters, options);
|
|
1111
|
-
return poller.pollUntilDone();
|
|
1112
|
-
}
|
|
1113
891
|
/**
|
|
1114
892
|
* Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account.
|
|
1115
893
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -1241,213 +1019,22 @@ export class SqlResourcesImpl {
|
|
|
1241
1019
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1242
1020
|
* @param accountName Cosmos DB database account name.
|
|
1243
1021
|
* @param databaseName Cosmos DB database name.
|
|
1244
|
-
* @param containerName Cosmos DB container name.
|
|
1245
|
-
* @param options The options parameters.
|
|
1246
|
-
*/
|
|
1247
|
-
async beginMigrateSqlContainerToAutoscaleAndWait(resourceGroupName, accountName, databaseName, containerName, options) {
|
|
1248
|
-
const poller = await this.beginMigrateSqlContainerToAutoscale(resourceGroupName, accountName, databaseName, containerName, options);
|
|
1249
|
-
return poller.pollUntilDone();
|
|
1250
|
-
}
|
|
1251
|
-
/**
|
|
1252
|
-
* Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput
|
|
1253
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1254
|
-
* @param accountName Cosmos DB database account name.
|
|
1255
|
-
* @param databaseName Cosmos DB database name.
|
|
1256
|
-
* @param containerName Cosmos DB container name.
|
|
1257
|
-
* @param options The options parameters.
|
|
1258
|
-
*/
|
|
1259
|
-
async beginMigrateSqlContainerToManualThroughput(resourceGroupName, accountName, databaseName, containerName, options) {
|
|
1260
|
-
const directSendOperation = async (args, spec) => {
|
|
1261
|
-
return this.client.sendOperationRequest(args, spec);
|
|
1262
|
-
};
|
|
1263
|
-
const sendOperationFn = async (args, spec) => {
|
|
1264
|
-
var _a;
|
|
1265
|
-
let currentRawResponse = undefined;
|
|
1266
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
1267
|
-
const callback = (rawResponse, flatResponse) => {
|
|
1268
|
-
currentRawResponse = rawResponse;
|
|
1269
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
1270
|
-
};
|
|
1271
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
1272
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
1273
|
-
return {
|
|
1274
|
-
flatResponse,
|
|
1275
|
-
rawResponse: {
|
|
1276
|
-
statusCode: currentRawResponse.status,
|
|
1277
|
-
body: currentRawResponse.parsedBody,
|
|
1278
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
1279
|
-
},
|
|
1280
|
-
};
|
|
1281
|
-
};
|
|
1282
|
-
const lro = createLroSpec({
|
|
1283
|
-
sendOperationFn,
|
|
1284
|
-
args: {
|
|
1285
|
-
resourceGroupName,
|
|
1286
|
-
accountName,
|
|
1287
|
-
databaseName,
|
|
1288
|
-
containerName,
|
|
1289
|
-
options,
|
|
1290
|
-
},
|
|
1291
|
-
spec: migrateSqlContainerToManualThroughputOperationSpec,
|
|
1292
|
-
});
|
|
1293
|
-
const poller = await createHttpPoller(lro, {
|
|
1294
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1295
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1296
|
-
});
|
|
1297
|
-
await poller.poll();
|
|
1298
|
-
return poller;
|
|
1299
|
-
}
|
|
1300
|
-
/**
|
|
1301
|
-
* Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput
|
|
1302
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1303
|
-
* @param accountName Cosmos DB database account name.
|
|
1304
|
-
* @param databaseName Cosmos DB database name.
|
|
1305
|
-
* @param containerName Cosmos DB container name.
|
|
1306
|
-
* @param options The options parameters.
|
|
1307
|
-
*/
|
|
1308
|
-
async beginMigrateSqlContainerToManualThroughputAndWait(resourceGroupName, accountName, databaseName, containerName, options) {
|
|
1309
|
-
const poller = await this.beginMigrateSqlContainerToManualThroughput(resourceGroupName, accountName, databaseName, containerName, options);
|
|
1310
|
-
return poller.pollUntilDone();
|
|
1311
|
-
}
|
|
1312
|
-
/**
|
|
1313
|
-
* Retrieve throughput distribution for an Azure Cosmos DB SQL database
|
|
1314
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1315
|
-
* @param accountName Cosmos DB database account name.
|
|
1316
|
-
* @param databaseName Cosmos DB database name.
|
|
1317
|
-
* @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution
|
|
1318
|
-
* for the current SQL database.
|
|
1319
|
-
* @param options The options parameters.
|
|
1320
|
-
*/
|
|
1321
|
-
async beginSqlDatabaseRetrieveThroughputDistribution(resourceGroupName, accountName, databaseName, retrieveThroughputParameters, options) {
|
|
1322
|
-
const directSendOperation = async (args, spec) => {
|
|
1323
|
-
return this.client.sendOperationRequest(args, spec);
|
|
1324
|
-
};
|
|
1325
|
-
const sendOperationFn = async (args, spec) => {
|
|
1326
|
-
var _a;
|
|
1327
|
-
let currentRawResponse = undefined;
|
|
1328
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
1329
|
-
const callback = (rawResponse, flatResponse) => {
|
|
1330
|
-
currentRawResponse = rawResponse;
|
|
1331
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
1332
|
-
};
|
|
1333
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
1334
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
1335
|
-
return {
|
|
1336
|
-
flatResponse,
|
|
1337
|
-
rawResponse: {
|
|
1338
|
-
statusCode: currentRawResponse.status,
|
|
1339
|
-
body: currentRawResponse.parsedBody,
|
|
1340
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
1341
|
-
},
|
|
1342
|
-
};
|
|
1343
|
-
};
|
|
1344
|
-
const lro = createLroSpec({
|
|
1345
|
-
sendOperationFn,
|
|
1346
|
-
args: {
|
|
1347
|
-
resourceGroupName,
|
|
1348
|
-
accountName,
|
|
1349
|
-
databaseName,
|
|
1350
|
-
retrieveThroughputParameters,
|
|
1351
|
-
options,
|
|
1352
|
-
},
|
|
1353
|
-
spec: sqlDatabaseRetrieveThroughputDistributionOperationSpec,
|
|
1354
|
-
});
|
|
1355
|
-
const poller = await createHttpPoller(lro, {
|
|
1356
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1357
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1358
|
-
resourceLocationConfig: "location",
|
|
1359
|
-
});
|
|
1360
|
-
await poller.poll();
|
|
1361
|
-
return poller;
|
|
1362
|
-
}
|
|
1363
|
-
/**
|
|
1364
|
-
* Retrieve throughput distribution for an Azure Cosmos DB SQL database
|
|
1365
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1366
|
-
* @param accountName Cosmos DB database account name.
|
|
1367
|
-
* @param databaseName Cosmos DB database name.
|
|
1368
|
-
* @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution
|
|
1369
|
-
* for the current SQL database.
|
|
1370
|
-
* @param options The options parameters.
|
|
1371
|
-
*/
|
|
1372
|
-
async beginSqlDatabaseRetrieveThroughputDistributionAndWait(resourceGroupName, accountName, databaseName, retrieveThroughputParameters, options) {
|
|
1373
|
-
const poller = await this.beginSqlDatabaseRetrieveThroughputDistribution(resourceGroupName, accountName, databaseName, retrieveThroughputParameters, options);
|
|
1374
|
-
return poller.pollUntilDone();
|
|
1375
|
-
}
|
|
1376
|
-
/**
|
|
1377
|
-
* Redistribute throughput for an Azure Cosmos DB SQL database
|
|
1378
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1379
|
-
* @param accountName Cosmos DB database account name.
|
|
1380
|
-
* @param databaseName Cosmos DB database name.
|
|
1381
|
-
* @param redistributeThroughputParameters The parameters to provide for redistributing throughput for
|
|
1382
|
-
* the current SQL database.
|
|
1383
|
-
* @param options The options parameters.
|
|
1384
|
-
*/
|
|
1385
|
-
async beginSqlDatabaseRedistributeThroughput(resourceGroupName, accountName, databaseName, redistributeThroughputParameters, options) {
|
|
1386
|
-
const directSendOperation = async (args, spec) => {
|
|
1387
|
-
return this.client.sendOperationRequest(args, spec);
|
|
1388
|
-
};
|
|
1389
|
-
const sendOperationFn = async (args, spec) => {
|
|
1390
|
-
var _a;
|
|
1391
|
-
let currentRawResponse = undefined;
|
|
1392
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
1393
|
-
const callback = (rawResponse, flatResponse) => {
|
|
1394
|
-
currentRawResponse = rawResponse;
|
|
1395
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
1396
|
-
};
|
|
1397
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
1398
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
1399
|
-
return {
|
|
1400
|
-
flatResponse,
|
|
1401
|
-
rawResponse: {
|
|
1402
|
-
statusCode: currentRawResponse.status,
|
|
1403
|
-
body: currentRawResponse.parsedBody,
|
|
1404
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
1405
|
-
},
|
|
1406
|
-
};
|
|
1407
|
-
};
|
|
1408
|
-
const lro = createLroSpec({
|
|
1409
|
-
sendOperationFn,
|
|
1410
|
-
args: {
|
|
1411
|
-
resourceGroupName,
|
|
1412
|
-
accountName,
|
|
1413
|
-
databaseName,
|
|
1414
|
-
redistributeThroughputParameters,
|
|
1415
|
-
options,
|
|
1416
|
-
},
|
|
1417
|
-
spec: sqlDatabaseRedistributeThroughputOperationSpec,
|
|
1418
|
-
});
|
|
1419
|
-
const poller = await createHttpPoller(lro, {
|
|
1420
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1421
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1422
|
-
resourceLocationConfig: "location",
|
|
1423
|
-
});
|
|
1424
|
-
await poller.poll();
|
|
1425
|
-
return poller;
|
|
1426
|
-
}
|
|
1427
|
-
/**
|
|
1428
|
-
* Redistribute throughput for an Azure Cosmos DB SQL database
|
|
1429
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1430
|
-
* @param accountName Cosmos DB database account name.
|
|
1431
|
-
* @param databaseName Cosmos DB database name.
|
|
1432
|
-
* @param redistributeThroughputParameters The parameters to provide for redistributing throughput for
|
|
1433
|
-
* the current SQL database.
|
|
1022
|
+
* @param containerName Cosmos DB container name.
|
|
1434
1023
|
* @param options The options parameters.
|
|
1435
1024
|
*/
|
|
1436
|
-
async
|
|
1437
|
-
const poller = await this.
|
|
1025
|
+
async beginMigrateSqlContainerToAutoscaleAndWait(resourceGroupName, accountName, databaseName, containerName, options) {
|
|
1026
|
+
const poller = await this.beginMigrateSqlContainerToAutoscale(resourceGroupName, accountName, databaseName, containerName, options);
|
|
1438
1027
|
return poller.pollUntilDone();
|
|
1439
1028
|
}
|
|
1440
1029
|
/**
|
|
1441
|
-
*
|
|
1030
|
+
* Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput
|
|
1442
1031
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1443
1032
|
* @param accountName Cosmos DB database account name.
|
|
1444
1033
|
* @param databaseName Cosmos DB database name.
|
|
1445
1034
|
* @param containerName Cosmos DB container name.
|
|
1446
|
-
* @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution
|
|
1447
|
-
* for the current SQL container.
|
|
1448
1035
|
* @param options The options parameters.
|
|
1449
1036
|
*/
|
|
1450
|
-
async
|
|
1037
|
+
async beginMigrateSqlContainerToManualThroughput(resourceGroupName, accountName, databaseName, containerName, options) {
|
|
1451
1038
|
const directSendOperation = async (args, spec) => {
|
|
1452
1039
|
return this.client.sendOperationRequest(args, spec);
|
|
1453
1040
|
};
|
|
@@ -1477,44 +1064,68 @@ export class SqlResourcesImpl {
|
|
|
1477
1064
|
accountName,
|
|
1478
1065
|
databaseName,
|
|
1479
1066
|
containerName,
|
|
1480
|
-
retrieveThroughputParameters,
|
|
1481
1067
|
options,
|
|
1482
1068
|
},
|
|
1483
|
-
spec:
|
|
1069
|
+
spec: migrateSqlContainerToManualThroughputOperationSpec,
|
|
1484
1070
|
});
|
|
1485
1071
|
const poller = await createHttpPoller(lro, {
|
|
1486
1072
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1487
1073
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1488
|
-
resourceLocationConfig: "location",
|
|
1489
1074
|
});
|
|
1490
1075
|
await poller.poll();
|
|
1491
1076
|
return poller;
|
|
1492
1077
|
}
|
|
1493
1078
|
/**
|
|
1494
|
-
*
|
|
1079
|
+
* Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput
|
|
1495
1080
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1496
1081
|
* @param accountName Cosmos DB database account name.
|
|
1497
1082
|
* @param databaseName Cosmos DB database name.
|
|
1498
1083
|
* @param containerName Cosmos DB container name.
|
|
1499
|
-
* @param retrieveThroughputParameters The parameters to provide for retrieving throughput distribution
|
|
1500
|
-
* for the current SQL container.
|
|
1501
1084
|
* @param options The options parameters.
|
|
1502
1085
|
*/
|
|
1503
|
-
async
|
|
1504
|
-
const poller = await this.
|
|
1086
|
+
async beginMigrateSqlContainerToManualThroughputAndWait(resourceGroupName, accountName, databaseName, containerName, options) {
|
|
1087
|
+
const poller = await this.beginMigrateSqlContainerToManualThroughput(resourceGroupName, accountName, databaseName, containerName, options);
|
|
1505
1088
|
return poller.pollUntilDone();
|
|
1506
1089
|
}
|
|
1507
1090
|
/**
|
|
1508
|
-
*
|
|
1091
|
+
* Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database.
|
|
1509
1092
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1510
1093
|
* @param accountName Cosmos DB database account name.
|
|
1511
1094
|
* @param databaseName Cosmos DB database name.
|
|
1512
|
-
* @param containerName Cosmos DB container name.
|
|
1513
|
-
* @param redistributeThroughputParameters The parameters to provide for redistributing throughput for
|
|
1514
|
-
* the current SQL container.
|
|
1515
1095
|
* @param options The options parameters.
|
|
1516
1096
|
*/
|
|
1517
|
-
|
|
1097
|
+
_listClientEncryptionKeys(resourceGroupName, accountName, databaseName, options) {
|
|
1098
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, databaseName, options }, listClientEncryptionKeysOperationSpec);
|
|
1099
|
+
}
|
|
1100
|
+
/**
|
|
1101
|
+
* Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database.
|
|
1102
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1103
|
+
* @param accountName Cosmos DB database account name.
|
|
1104
|
+
* @param databaseName Cosmos DB database name.
|
|
1105
|
+
* @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name.
|
|
1106
|
+
* @param options The options parameters.
|
|
1107
|
+
*/
|
|
1108
|
+
getClientEncryptionKey(resourceGroupName, accountName, databaseName, clientEncryptionKeyName, options) {
|
|
1109
|
+
return this.client.sendOperationRequest({
|
|
1110
|
+
resourceGroupName,
|
|
1111
|
+
accountName,
|
|
1112
|
+
databaseName,
|
|
1113
|
+
clientEncryptionKeyName,
|
|
1114
|
+
options,
|
|
1115
|
+
}, getClientEncryptionKeyOperationSpec);
|
|
1116
|
+
}
|
|
1117
|
+
/**
|
|
1118
|
+
* Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure
|
|
1119
|
+
* Powershell (instead of directly).
|
|
1120
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1121
|
+
* @param accountName Cosmos DB database account name.
|
|
1122
|
+
* @param databaseName Cosmos DB database name.
|
|
1123
|
+
* @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name.
|
|
1124
|
+
* @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption
|
|
1125
|
+
* key.
|
|
1126
|
+
* @param options The options parameters.
|
|
1127
|
+
*/
|
|
1128
|
+
async beginCreateUpdateClientEncryptionKey(resourceGroupName, accountName, databaseName, clientEncryptionKeyName, createUpdateClientEncryptionKeyParameters, options) {
|
|
1518
1129
|
const directSendOperation = async (args, spec) => {
|
|
1519
1130
|
return this.client.sendOperationRequest(args, spec);
|
|
1520
1131
|
};
|
|
@@ -1543,32 +1154,32 @@ export class SqlResourcesImpl {
|
|
|
1543
1154
|
resourceGroupName,
|
|
1544
1155
|
accountName,
|
|
1545
1156
|
databaseName,
|
|
1546
|
-
|
|
1547
|
-
|
|
1157
|
+
clientEncryptionKeyName,
|
|
1158
|
+
createUpdateClientEncryptionKeyParameters,
|
|
1548
1159
|
options,
|
|
1549
1160
|
},
|
|
1550
|
-
spec:
|
|
1161
|
+
spec: createUpdateClientEncryptionKeyOperationSpec,
|
|
1551
1162
|
});
|
|
1552
1163
|
const poller = await createHttpPoller(lro, {
|
|
1553
1164
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1554
1165
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1555
|
-
resourceLocationConfig: "location",
|
|
1556
1166
|
});
|
|
1557
1167
|
await poller.poll();
|
|
1558
1168
|
return poller;
|
|
1559
1169
|
}
|
|
1560
1170
|
/**
|
|
1561
|
-
*
|
|
1171
|
+
* Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure
|
|
1172
|
+
* Powershell (instead of directly).
|
|
1562
1173
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1563
1174
|
* @param accountName Cosmos DB database account name.
|
|
1564
1175
|
* @param databaseName Cosmos DB database name.
|
|
1565
|
-
* @param
|
|
1566
|
-
* @param
|
|
1567
|
-
*
|
|
1176
|
+
* @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name.
|
|
1177
|
+
* @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption
|
|
1178
|
+
* key.
|
|
1568
1179
|
* @param options The options parameters.
|
|
1569
1180
|
*/
|
|
1570
|
-
async
|
|
1571
|
-
const poller = await this.
|
|
1181
|
+
async beginCreateUpdateClientEncryptionKeyAndWait(resourceGroupName, accountName, databaseName, clientEncryptionKeyName, createUpdateClientEncryptionKeyParameters, options) {
|
|
1182
|
+
const poller = await this.beginCreateUpdateClientEncryptionKey(resourceGroupName, accountName, databaseName, clientEncryptionKeyName, createUpdateClientEncryptionKeyParameters, options);
|
|
1572
1183
|
return poller.pollUntilDone();
|
|
1573
1184
|
}
|
|
1574
1185
|
/**
|
|
@@ -2601,76 +2212,6 @@ const migrateSqlDatabaseToManualThroughputOperationSpec = {
|
|
|
2601
2212
|
headerParameters: [Parameters.accept],
|
|
2602
2213
|
serializer,
|
|
2603
2214
|
};
|
|
2604
|
-
const listClientEncryptionKeysOperationSpec = {
|
|
2605
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys",
|
|
2606
|
-
httpMethod: "GET",
|
|
2607
|
-
responses: {
|
|
2608
|
-
200: {
|
|
2609
|
-
bodyMapper: Mappers.ClientEncryptionKeysListResult,
|
|
2610
|
-
},
|
|
2611
|
-
},
|
|
2612
|
-
queryParameters: [Parameters.apiVersion],
|
|
2613
|
-
urlParameters: [
|
|
2614
|
-
Parameters.$host,
|
|
2615
|
-
Parameters.subscriptionId,
|
|
2616
|
-
Parameters.resourceGroupName,
|
|
2617
|
-
Parameters.accountName,
|
|
2618
|
-
Parameters.databaseName,
|
|
2619
|
-
],
|
|
2620
|
-
headerParameters: [Parameters.accept],
|
|
2621
|
-
serializer,
|
|
2622
|
-
};
|
|
2623
|
-
const getClientEncryptionKeyOperationSpec = {
|
|
2624
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys/{clientEncryptionKeyName}",
|
|
2625
|
-
httpMethod: "GET",
|
|
2626
|
-
responses: {
|
|
2627
|
-
200: {
|
|
2628
|
-
bodyMapper: Mappers.ClientEncryptionKeyGetResults,
|
|
2629
|
-
},
|
|
2630
|
-
},
|
|
2631
|
-
queryParameters: [Parameters.apiVersion],
|
|
2632
|
-
urlParameters: [
|
|
2633
|
-
Parameters.$host,
|
|
2634
|
-
Parameters.subscriptionId,
|
|
2635
|
-
Parameters.resourceGroupName,
|
|
2636
|
-
Parameters.accountName,
|
|
2637
|
-
Parameters.databaseName,
|
|
2638
|
-
Parameters.clientEncryptionKeyName,
|
|
2639
|
-
],
|
|
2640
|
-
headerParameters: [Parameters.accept],
|
|
2641
|
-
serializer,
|
|
2642
|
-
};
|
|
2643
|
-
const createUpdateClientEncryptionKeyOperationSpec = {
|
|
2644
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys/{clientEncryptionKeyName}",
|
|
2645
|
-
httpMethod: "PUT",
|
|
2646
|
-
responses: {
|
|
2647
|
-
200: {
|
|
2648
|
-
bodyMapper: Mappers.ClientEncryptionKeyGetResults,
|
|
2649
|
-
},
|
|
2650
|
-
201: {
|
|
2651
|
-
bodyMapper: Mappers.ClientEncryptionKeyGetResults,
|
|
2652
|
-
},
|
|
2653
|
-
202: {
|
|
2654
|
-
bodyMapper: Mappers.ClientEncryptionKeyGetResults,
|
|
2655
|
-
},
|
|
2656
|
-
204: {
|
|
2657
|
-
bodyMapper: Mappers.ClientEncryptionKeyGetResults,
|
|
2658
|
-
},
|
|
2659
|
-
},
|
|
2660
|
-
requestBody: Parameters.createUpdateClientEncryptionKeyParameters,
|
|
2661
|
-
queryParameters: [Parameters.apiVersion],
|
|
2662
|
-
urlParameters: [
|
|
2663
|
-
Parameters.$host,
|
|
2664
|
-
Parameters.subscriptionId,
|
|
2665
|
-
Parameters.resourceGroupName,
|
|
2666
|
-
Parameters.accountName,
|
|
2667
|
-
Parameters.databaseName,
|
|
2668
|
-
Parameters.clientEncryptionKeyName,
|
|
2669
|
-
],
|
|
2670
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
2671
|
-
mediaType: "json",
|
|
2672
|
-
serializer,
|
|
2673
|
-
};
|
|
2674
2215
|
const listSqlContainersOperationSpec = {
|
|
2675
2216
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers",
|
|
2676
2217
|
httpMethod: "GET",
|
|
@@ -2769,73 +2310,6 @@ const deleteSqlContainerOperationSpec = {
|
|
|
2769
2310
|
],
|
|
2770
2311
|
serializer,
|
|
2771
2312
|
};
|
|
2772
|
-
const sqlDatabasePartitionMergeOperationSpec = {
|
|
2773
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/partitionMerge",
|
|
2774
|
-
httpMethod: "POST",
|
|
2775
|
-
responses: {
|
|
2776
|
-
200: {
|
|
2777
|
-
bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
|
|
2778
|
-
},
|
|
2779
|
-
201: {
|
|
2780
|
-
bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
|
|
2781
|
-
},
|
|
2782
|
-
202: {
|
|
2783
|
-
bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
|
|
2784
|
-
},
|
|
2785
|
-
204: {
|
|
2786
|
-
bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
|
|
2787
|
-
},
|
|
2788
|
-
default: {
|
|
2789
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
2790
|
-
},
|
|
2791
|
-
},
|
|
2792
|
-
requestBody: Parameters.mergeParameters,
|
|
2793
|
-
queryParameters: [Parameters.apiVersion],
|
|
2794
|
-
urlParameters: [
|
|
2795
|
-
Parameters.$host,
|
|
2796
|
-
Parameters.subscriptionId,
|
|
2797
|
-
Parameters.resourceGroupName,
|
|
2798
|
-
Parameters.accountName,
|
|
2799
|
-
Parameters.databaseName,
|
|
2800
|
-
],
|
|
2801
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
2802
|
-
mediaType: "json",
|
|
2803
|
-
serializer,
|
|
2804
|
-
};
|
|
2805
|
-
const listSqlContainerPartitionMergeOperationSpec = {
|
|
2806
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/partitionMerge",
|
|
2807
|
-
httpMethod: "POST",
|
|
2808
|
-
responses: {
|
|
2809
|
-
200: {
|
|
2810
|
-
bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
|
|
2811
|
-
},
|
|
2812
|
-
201: {
|
|
2813
|
-
bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
|
|
2814
|
-
},
|
|
2815
|
-
202: {
|
|
2816
|
-
bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
|
|
2817
|
-
},
|
|
2818
|
-
204: {
|
|
2819
|
-
bodyMapper: Mappers.PhysicalPartitionStorageInfoCollection,
|
|
2820
|
-
},
|
|
2821
|
-
default: {
|
|
2822
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
2823
|
-
},
|
|
2824
|
-
},
|
|
2825
|
-
requestBody: Parameters.mergeParameters,
|
|
2826
|
-
queryParameters: [Parameters.apiVersion],
|
|
2827
|
-
urlParameters: [
|
|
2828
|
-
Parameters.$host,
|
|
2829
|
-
Parameters.subscriptionId,
|
|
2830
|
-
Parameters.resourceGroupName,
|
|
2831
|
-
Parameters.accountName,
|
|
2832
|
-
Parameters.databaseName,
|
|
2833
|
-
Parameters.containerName,
|
|
2834
|
-
],
|
|
2835
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
2836
|
-
mediaType: "json",
|
|
2837
|
-
serializer,
|
|
2838
|
-
};
|
|
2839
2313
|
const getSqlContainerThroughputOperationSpec = {
|
|
2840
2314
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default",
|
|
2841
2315
|
httpMethod: "GET",
|
|
@@ -2951,60 +2425,14 @@ const migrateSqlContainerToManualThroughputOperationSpec = {
|
|
|
2951
2425
|
headerParameters: [Parameters.accept],
|
|
2952
2426
|
serializer,
|
|
2953
2427
|
};
|
|
2954
|
-
const
|
|
2955
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/
|
|
2956
|
-
httpMethod: "
|
|
2957
|
-
responses: {
|
|
2958
|
-
200: {
|
|
2959
|
-
bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
|
|
2960
|
-
},
|
|
2961
|
-
201: {
|
|
2962
|
-
bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
|
|
2963
|
-
},
|
|
2964
|
-
202: {
|
|
2965
|
-
bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
|
|
2966
|
-
},
|
|
2967
|
-
204: {
|
|
2968
|
-
bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
|
|
2969
|
-
},
|
|
2970
|
-
default: {
|
|
2971
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
2972
|
-
},
|
|
2973
|
-
},
|
|
2974
|
-
requestBody: Parameters.retrieveThroughputParameters,
|
|
2975
|
-
queryParameters: [Parameters.apiVersion],
|
|
2976
|
-
urlParameters: [
|
|
2977
|
-
Parameters.$host,
|
|
2978
|
-
Parameters.subscriptionId,
|
|
2979
|
-
Parameters.resourceGroupName,
|
|
2980
|
-
Parameters.accountName,
|
|
2981
|
-
Parameters.databaseName,
|
|
2982
|
-
],
|
|
2983
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
2984
|
-
mediaType: "json",
|
|
2985
|
-
serializer,
|
|
2986
|
-
};
|
|
2987
|
-
const sqlDatabaseRedistributeThroughputOperationSpec = {
|
|
2988
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default/redistributeThroughput",
|
|
2989
|
-
httpMethod: "POST",
|
|
2428
|
+
const listClientEncryptionKeysOperationSpec = {
|
|
2429
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys",
|
|
2430
|
+
httpMethod: "GET",
|
|
2990
2431
|
responses: {
|
|
2991
2432
|
200: {
|
|
2992
|
-
bodyMapper: Mappers.
|
|
2993
|
-
},
|
|
2994
|
-
201: {
|
|
2995
|
-
bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
|
|
2996
|
-
},
|
|
2997
|
-
202: {
|
|
2998
|
-
bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
|
|
2999
|
-
},
|
|
3000
|
-
204: {
|
|
3001
|
-
bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
|
|
3002
|
-
},
|
|
3003
|
-
default: {
|
|
3004
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
2433
|
+
bodyMapper: Mappers.ClientEncryptionKeysListResult,
|
|
3005
2434
|
},
|
|
3006
2435
|
},
|
|
3007
|
-
requestBody: Parameters.redistributeThroughputParameters,
|
|
3008
2436
|
queryParameters: [Parameters.apiVersion],
|
|
3009
2437
|
urlParameters: [
|
|
3010
2438
|
Parameters.$host,
|
|
@@ -3013,31 +2441,17 @@ const sqlDatabaseRedistributeThroughputOperationSpec = {
|
|
|
3013
2441
|
Parameters.accountName,
|
|
3014
2442
|
Parameters.databaseName,
|
|
3015
2443
|
],
|
|
3016
|
-
headerParameters: [Parameters.accept
|
|
3017
|
-
mediaType: "json",
|
|
2444
|
+
headerParameters: [Parameters.accept],
|
|
3018
2445
|
serializer,
|
|
3019
2446
|
};
|
|
3020
|
-
const
|
|
3021
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/
|
|
3022
|
-
httpMethod: "
|
|
2447
|
+
const getClientEncryptionKeyOperationSpec = {
|
|
2448
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys/{clientEncryptionKeyName}",
|
|
2449
|
+
httpMethod: "GET",
|
|
3023
2450
|
responses: {
|
|
3024
2451
|
200: {
|
|
3025
|
-
bodyMapper: Mappers.
|
|
3026
|
-
},
|
|
3027
|
-
201: {
|
|
3028
|
-
bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
|
|
3029
|
-
},
|
|
3030
|
-
202: {
|
|
3031
|
-
bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
|
|
3032
|
-
},
|
|
3033
|
-
204: {
|
|
3034
|
-
bodyMapper: Mappers.PhysicalPartitionThroughputInfoResult,
|
|
3035
|
-
},
|
|
3036
|
-
default: {
|
|
3037
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
2452
|
+
bodyMapper: Mappers.ClientEncryptionKeyGetResults,
|
|
3038
2453
|
},
|
|
3039
2454
|
},
|
|
3040
|
-
requestBody: Parameters.retrieveThroughputParameters,
|
|
3041
2455
|
queryParameters: [Parameters.apiVersion],
|
|
3042
2456
|
urlParameters: [
|
|
3043
2457
|
Parameters.$host,
|
|
@@ -3045,33 +2459,29 @@ const sqlContainerRetrieveThroughputDistributionOperationSpec = {
|
|
|
3045
2459
|
Parameters.resourceGroupName,
|
|
3046
2460
|
Parameters.accountName,
|
|
3047
2461
|
Parameters.databaseName,
|
|
3048
|
-
Parameters.
|
|
2462
|
+
Parameters.clientEncryptionKeyName,
|
|
3049
2463
|
],
|
|
3050
|
-
headerParameters: [Parameters.accept
|
|
3051
|
-
mediaType: "json",
|
|
2464
|
+
headerParameters: [Parameters.accept],
|
|
3052
2465
|
serializer,
|
|
3053
2466
|
};
|
|
3054
|
-
const
|
|
3055
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/
|
|
3056
|
-
httpMethod: "
|
|
2467
|
+
const createUpdateClientEncryptionKeyOperationSpec = {
|
|
2468
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys/{clientEncryptionKeyName}",
|
|
2469
|
+
httpMethod: "PUT",
|
|
3057
2470
|
responses: {
|
|
3058
2471
|
200: {
|
|
3059
|
-
bodyMapper: Mappers.
|
|
2472
|
+
bodyMapper: Mappers.ClientEncryptionKeyGetResults,
|
|
3060
2473
|
},
|
|
3061
2474
|
201: {
|
|
3062
|
-
bodyMapper: Mappers.
|
|
2475
|
+
bodyMapper: Mappers.ClientEncryptionKeyGetResults,
|
|
3063
2476
|
},
|
|
3064
2477
|
202: {
|
|
3065
|
-
bodyMapper: Mappers.
|
|
2478
|
+
bodyMapper: Mappers.ClientEncryptionKeyGetResults,
|
|
3066
2479
|
},
|
|
3067
2480
|
204: {
|
|
3068
|
-
bodyMapper: Mappers.
|
|
3069
|
-
},
|
|
3070
|
-
default: {
|
|
3071
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
2481
|
+
bodyMapper: Mappers.ClientEncryptionKeyGetResults,
|
|
3072
2482
|
},
|
|
3073
2483
|
},
|
|
3074
|
-
requestBody: Parameters.
|
|
2484
|
+
requestBody: Parameters.createUpdateClientEncryptionKeyParameters,
|
|
3075
2485
|
queryParameters: [Parameters.apiVersion],
|
|
3076
2486
|
urlParameters: [
|
|
3077
2487
|
Parameters.$host,
|
|
@@ -3079,7 +2489,7 @@ const sqlContainerRedistributeThroughputOperationSpec = {
|
|
|
3079
2489
|
Parameters.resourceGroupName,
|
|
3080
2490
|
Parameters.accountName,
|
|
3081
2491
|
Parameters.databaseName,
|
|
3082
|
-
Parameters.
|
|
2492
|
+
Parameters.clientEncryptionKeyName,
|
|
3083
2493
|
],
|
|
3084
2494
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
3085
2495
|
mediaType: "json",
|