@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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
+
## 16.3.0 (2025-05-15)
|
|
4
|
+
|
|
5
|
+
### Features Added
|
|
6
|
+
|
|
7
|
+
- Added Interface FullTextPath
|
|
8
|
+
- Added Interface FullTextPolicy
|
|
9
|
+
- Interface SqlContainerResource has a new optional parameter fullTextPolicy
|
|
10
|
+
|
|
11
|
+
|
|
3
12
|
## 16.3.0-beta.1 (2024-12-19)
|
|
4
13
|
Compared with version 16.2.0
|
|
5
14
|
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
Copyright (c) Microsoft Corporation.
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
MIT License
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -12,7 +12,7 @@ furnished to do so, subject to the following conditions:
|
|
|
12
12
|
The above copyright notice and this permission notice shall be included in all
|
|
13
13
|
copies or substantial portions of the Software.
|
|
14
14
|
|
|
15
|
-
THE SOFTWARE IS PROVIDED
|
|
15
|
+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
16
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
17
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure CosmosDBManagement client.
|
|
4
4
|
|
|
5
|
-
Azure Cosmos DB
|
|
5
|
+
Azure Cosmos DB Database Service Resource Provider REST API
|
|
6
6
|
|
|
7
7
|
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cosmosdb/arm-cosmosdb) |
|
|
8
8
|
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-cosmosdb) |
|
|
@@ -47,22 +47,29 @@ You will also need to **register a new AAD application and grant access to Azure
|
|
|
47
47
|
|
|
48
48
|
For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
|
|
49
49
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
|
|
51
|
+
|
|
52
|
+
```ts snippet:ReadmeSampleCreateClient_Node
|
|
53
|
+
import { CosmosDBManagementClient } from "@azure/arm-cosmosdb";
|
|
54
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
54
55
|
|
|
55
56
|
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
56
57
|
const client = new CosmosDBManagementClient(new DefaultAzureCredential(), subscriptionId);
|
|
57
|
-
|
|
58
|
-
// For client-side applications running in the browser, use this code instead:
|
|
59
|
-
// const credential = new InteractiveBrowserCredential({
|
|
60
|
-
// tenantId: "<YOUR_TENANT_ID>",
|
|
61
|
-
// clientId: "<YOUR_CLIENT_ID>"
|
|
62
|
-
// });
|
|
63
|
-
// const client = new CosmosDBManagementClient(credential, subscriptionId);
|
|
64
58
|
```
|
|
65
59
|
|
|
60
|
+
For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
|
|
61
|
+
|
|
62
|
+
```ts snippet:ReadmeSampleCreateClient_Browser
|
|
63
|
+
import { InteractiveBrowserCredential } from "@azure/identity";
|
|
64
|
+
import { CosmosDBManagementClient } from "@azure/arm-cosmosdb";
|
|
65
|
+
|
|
66
|
+
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
67
|
+
const credential = new InteractiveBrowserCredential({
|
|
68
|
+
tenantId: "<YOUR_TENANT_ID>",
|
|
69
|
+
clientId: "<YOUR_CLIENT_ID>",
|
|
70
|
+
});
|
|
71
|
+
const client = new CosmosDBManagementClient(credential, subscriptionId);
|
|
72
|
+
```
|
|
66
73
|
|
|
67
74
|
### JavaScript Bundle
|
|
68
75
|
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
|
|
@@ -79,8 +86,9 @@ To use this client library in the browser, first you need to use a bundler. For
|
|
|
79
86
|
|
|
80
87
|
Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
|
|
81
88
|
|
|
82
|
-
```
|
|
83
|
-
|
|
89
|
+
```ts snippet:SetLogLevel
|
|
90
|
+
import { setLogLevel } from "@azure/logger";
|
|
91
|
+
|
|
84
92
|
setLogLevel("info");
|
|
85
93
|
```
|
|
86
94
|
|
|
@@ -98,7 +106,6 @@ If you'd like to contribute to this library, please read the [contributing guide
|
|
|
98
106
|
|
|
99
107
|
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
|
|
100
108
|
|
|
101
|
-

|
|
102
109
|
|
|
103
110
|
[azure_cli]: https://learn.microsoft.com/cli/azure
|
|
104
111
|
[azure_sub]: https://azure.microsoft.com/free/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
2
|
import * as coreAuth from "@azure/core-auth";
|
|
3
|
-
import {
|
|
3
|
+
import { DatabaseAccounts, Operations, Database, Collection, CollectionRegion, DatabaseAccountRegion, PercentileSourceTarget, PercentileTarget, Percentile, CollectionPartitionRegion, CollectionPartition, PartitionKeyRangeId, PartitionKeyRangeIdRegion, SqlResources, MongoDBResources, TableResources, CassandraResources, GremlinResources, Locations, CassandraClusters, CassandraDataCenters, NotebookWorkspaces, PrivateEndpointConnections, PrivateLinkResources, RestorableDatabaseAccounts, RestorableSqlDatabases, RestorableSqlContainers, RestorableSqlResources, RestorableMongodbDatabases, RestorableMongodbCollections, RestorableMongodbResources, RestorableGremlinDatabases, RestorableGremlinGraphs, RestorableGremlinResources, RestorableTables, RestorableTableResources, Service } from "./operationsInterfaces/index.js";
|
|
4
4
|
import { CosmosDBManagementClientOptionalParams } from "./models/index.js";
|
|
5
5
|
export declare class CosmosDBManagementClient extends coreClient.ServiceClient {
|
|
6
6
|
$host: string;
|
|
@@ -9,13 +9,12 @@ export declare class CosmosDBManagementClient extends coreClient.ServiceClient {
|
|
|
9
9
|
/**
|
|
10
10
|
* Initializes a new instance of the CosmosDBManagementClient class.
|
|
11
11
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
12
|
-
* @param subscriptionId The ID of the target subscription.
|
|
12
|
+
* @param subscriptionId The ID of the target subscription.
|
|
13
13
|
* @param options The parameter options
|
|
14
14
|
*/
|
|
15
15
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: CosmosDBManagementClientOptionalParams);
|
|
16
16
|
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
17
17
|
private addCustomApiVersionPolicy;
|
|
18
|
-
chaosFault: ChaosFault;
|
|
19
18
|
databaseAccounts: DatabaseAccounts;
|
|
20
19
|
operations: Operations;
|
|
21
20
|
database: Database;
|
|
@@ -29,17 +28,14 @@ export declare class CosmosDBManagementClient extends coreClient.ServiceClient {
|
|
|
29
28
|
collectionPartition: CollectionPartition;
|
|
30
29
|
partitionKeyRangeId: PartitionKeyRangeId;
|
|
31
30
|
partitionKeyRangeIdRegion: PartitionKeyRangeIdRegion;
|
|
32
|
-
graphResources: GraphResources;
|
|
33
31
|
sqlResources: SqlResources;
|
|
34
32
|
mongoDBResources: MongoDBResources;
|
|
35
33
|
tableResources: TableResources;
|
|
36
34
|
cassandraResources: CassandraResources;
|
|
37
35
|
gremlinResources: GremlinResources;
|
|
38
36
|
locations: Locations;
|
|
39
|
-
dataTransferJobs: DataTransferJobs;
|
|
40
37
|
cassandraClusters: CassandraClusters;
|
|
41
38
|
cassandraDataCenters: CassandraDataCenters;
|
|
42
|
-
networkSecurityPerimeterConfigurations: NetworkSecurityPerimeterConfigurations;
|
|
43
39
|
notebookWorkspaces: NotebookWorkspaces;
|
|
44
40
|
privateEndpointConnections: PrivateEndpointConnections;
|
|
45
41
|
privateLinkResources: PrivateLinkResources;
|
|
@@ -56,9 +52,5 @@ export declare class CosmosDBManagementClient extends coreClient.ServiceClient {
|
|
|
56
52
|
restorableTables: RestorableTables;
|
|
57
53
|
restorableTableResources: RestorableTableResources;
|
|
58
54
|
service: Service;
|
|
59
|
-
throughputPools: ThroughputPools;
|
|
60
|
-
throughputPool: ThroughputPool;
|
|
61
|
-
throughputPoolAccounts: ThroughputPoolAccounts;
|
|
62
|
-
throughputPoolAccount: ThroughputPoolAccount;
|
|
63
55
|
}
|
|
64
56
|
//# sourceMappingURL=cosmosDBManagementClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cosmosDBManagementClient.d.ts","sourceRoot":"","sources":["../../src/cosmosDBManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"cosmosDBManagementClient.d.ts","sourceRoot":"","sources":["../../src/cosmosDBManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAwC7C,OAAO,EACL,gBAAgB,EAChB,UAAU,EACV,QAAQ,EACR,UAAU,EACV,gBAAgB,EAChB,qBAAqB,EACrB,sBAAsB,EACtB,gBAAgB,EAChB,UAAU,EACV,yBAAyB,EACzB,mBAAmB,EACnB,mBAAmB,EACnB,yBAAyB,EACzB,YAAY,EACZ,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,gBAAgB,EAChB,SAAS,EACT,iBAAiB,EACjB,oBAAoB,EACpB,kBAAkB,EAClB,0BAA0B,EAC1B,oBAAoB,EACpB,0BAA0B,EAC1B,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,EACtB,0BAA0B,EAC1B,4BAA4B,EAC5B,0BAA0B,EAC1B,0BAA0B,EAC1B,uBAAuB,EACvB,0BAA0B,EAC1B,gBAAgB,EAChB,wBAAwB,EACxB,OAAO,EACR,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,sCAAsC,EAAE,MAAM,mBAAmB,CAAC;AAE3E,qBAAa,wBAAyB,SAAQ,UAAU,CAAC,aAAa;IACpE,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,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uBAAuB,CAAC;IACjD,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,wBAAwB,EAAE,wBAAwB,CAAC;IACnD,OAAO,EAAE,OAAO,CAAC;CAClB"}
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import * as coreClient from "@azure/core-client";
|
|
9
9
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
10
|
-
import {
|
|
10
|
+
import { DatabaseAccountsImpl, OperationsImpl, DatabaseImpl, CollectionImpl, CollectionRegionImpl, DatabaseAccountRegionImpl, PercentileSourceTargetImpl, PercentileTargetImpl, PercentileImpl, CollectionPartitionRegionImpl, CollectionPartitionImpl, PartitionKeyRangeIdImpl, PartitionKeyRangeIdRegionImpl, SqlResourcesImpl, MongoDBResourcesImpl, TableResourcesImpl, CassandraResourcesImpl, GremlinResourcesImpl, LocationsImpl, CassandraClustersImpl, CassandraDataCentersImpl, NotebookWorkspacesImpl, PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl, RestorableDatabaseAccountsImpl, RestorableSqlDatabasesImpl, RestorableSqlContainersImpl, RestorableSqlResourcesImpl, RestorableMongodbDatabasesImpl, RestorableMongodbCollectionsImpl, RestorableMongodbResourcesImpl, RestorableGremlinDatabasesImpl, RestorableGremlinGraphsImpl, RestorableGremlinResourcesImpl, RestorableTablesImpl, RestorableTableResourcesImpl, ServiceImpl, } from "./operations/index.js";
|
|
11
11
|
export class CosmosDBManagementClient extends coreClient.ServiceClient {
|
|
12
12
|
/**
|
|
13
13
|
* Initializes a new instance of the CosmosDBManagementClient class.
|
|
14
14
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
15
|
-
* @param subscriptionId The ID of the target subscription.
|
|
15
|
+
* @param subscriptionId The ID of the target subscription.
|
|
16
16
|
* @param options The parameter options
|
|
17
17
|
*/
|
|
18
18
|
constructor(credentials, subscriptionId, options) {
|
|
@@ -31,7 +31,7 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
|
|
|
31
31
|
requestContentType: "application/json; charset=utf-8",
|
|
32
32
|
credential: credentials,
|
|
33
33
|
};
|
|
34
|
-
const packageDetails = `azsdk-js-arm-cosmosdb/16.3.0
|
|
34
|
+
const packageDetails = `azsdk-js-arm-cosmosdb/16.3.0`;
|
|
35
35
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
36
36
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
37
37
|
: `${packageDetails}`;
|
|
@@ -64,8 +64,7 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
|
|
|
64
64
|
this.subscriptionId = subscriptionId;
|
|
65
65
|
// Assigning values to Constant parameters
|
|
66
66
|
this.$host = options.$host || "https://management.azure.com";
|
|
67
|
-
this.apiVersion = options.apiVersion || "
|
|
68
|
-
this.chaosFault = new ChaosFaultImpl(this);
|
|
67
|
+
this.apiVersion = options.apiVersion || "2025-04-15";
|
|
69
68
|
this.databaseAccounts = new DatabaseAccountsImpl(this);
|
|
70
69
|
this.operations = new OperationsImpl(this);
|
|
71
70
|
this.database = new DatabaseImpl(this);
|
|
@@ -79,18 +78,14 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
|
|
|
79
78
|
this.collectionPartition = new CollectionPartitionImpl(this);
|
|
80
79
|
this.partitionKeyRangeId = new PartitionKeyRangeIdImpl(this);
|
|
81
80
|
this.partitionKeyRangeIdRegion = new PartitionKeyRangeIdRegionImpl(this);
|
|
82
|
-
this.graphResources = new GraphResourcesImpl(this);
|
|
83
81
|
this.sqlResources = new SqlResourcesImpl(this);
|
|
84
82
|
this.mongoDBResources = new MongoDBResourcesImpl(this);
|
|
85
83
|
this.tableResources = new TableResourcesImpl(this);
|
|
86
84
|
this.cassandraResources = new CassandraResourcesImpl(this);
|
|
87
85
|
this.gremlinResources = new GremlinResourcesImpl(this);
|
|
88
86
|
this.locations = new LocationsImpl(this);
|
|
89
|
-
this.dataTransferJobs = new DataTransferJobsImpl(this);
|
|
90
87
|
this.cassandraClusters = new CassandraClustersImpl(this);
|
|
91
88
|
this.cassandraDataCenters = new CassandraDataCentersImpl(this);
|
|
92
|
-
this.networkSecurityPerimeterConfigurations =
|
|
93
|
-
new NetworkSecurityPerimeterConfigurationsImpl(this);
|
|
94
89
|
this.notebookWorkspaces = new NotebookWorkspacesImpl(this);
|
|
95
90
|
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
|
|
96
91
|
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
|
|
@@ -107,10 +102,6 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
|
|
|
107
102
|
this.restorableTables = new RestorableTablesImpl(this);
|
|
108
103
|
this.restorableTableResources = new RestorableTableResourcesImpl(this);
|
|
109
104
|
this.service = new ServiceImpl(this);
|
|
110
|
-
this.throughputPools = new ThroughputPoolsImpl(this);
|
|
111
|
-
this.throughputPool = new ThroughputPoolImpl(this);
|
|
112
|
-
this.throughputPoolAccounts = new ThroughputPoolAccountsImpl(this);
|
|
113
|
-
this.throughputPoolAccount = new ThroughputPoolAccountImpl(this);
|
|
114
105
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
115
106
|
}
|
|
116
107
|
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cosmosDBManagementClient.js","sourceRoot":"","sources":["../../src/cosmosDBManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,cAAc,EACd,YAAY,EACZ,cAAc,EACd,oBAAoB,EACpB,yBAAyB,EACzB,0BAA0B,EAC1B,oBAAoB,EACpB,cAAc,EACd,6BAA6B,EAC7B,uBAAuB,EACvB,uBAAuB,EACvB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;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CA+CF","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n ChaosFaultImpl,\n DatabaseAccountsImpl,\n OperationsImpl,\n DatabaseImpl,\n CollectionImpl,\n CollectionRegionImpl,\n DatabaseAccountRegionImpl,\n PercentileSourceTargetImpl,\n PercentileTargetImpl,\n PercentileImpl,\n CollectionPartitionRegionImpl,\n CollectionPartitionImpl,\n PartitionKeyRangeIdImpl,\n PartitionKeyRangeIdRegionImpl,\n GraphResourcesImpl,\n SqlResourcesImpl,\n MongoDBResourcesImpl,\n TableResourcesImpl,\n CassandraResourcesImpl,\n GremlinResourcesImpl,\n LocationsImpl,\n DataTransferJobsImpl,\n CassandraClustersImpl,\n CassandraDataCentersImpl,\n NetworkSecurityPerimeterConfigurationsImpl,\n NotebookWorkspacesImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl,\n RestorableDatabaseAccountsImpl,\n RestorableSqlDatabasesImpl,\n RestorableSqlContainersImpl,\n RestorableSqlResourcesImpl,\n RestorableMongodbDatabasesImpl,\n RestorableMongodbCollectionsImpl,\n RestorableMongodbResourcesImpl,\n RestorableGremlinDatabasesImpl,\n RestorableGremlinGraphsImpl,\n RestorableGremlinResourcesImpl,\n RestorableTablesImpl,\n RestorableTableResourcesImpl,\n ServiceImpl,\n ThroughputPoolsImpl,\n ThroughputPoolImpl,\n ThroughputPoolAccountsImpl,\n ThroughputPoolAccountImpl,\n} from \"./operations/index.js\";\nimport {\n ChaosFault,\n DatabaseAccounts,\n Operations,\n Database,\n Collection,\n CollectionRegion,\n DatabaseAccountRegion,\n PercentileSourceTarget,\n PercentileTarget,\n Percentile,\n CollectionPartitionRegion,\n CollectionPartition,\n PartitionKeyRangeId,\n PartitionKeyRangeIdRegion,\n GraphResources,\n SqlResources,\n MongoDBResources,\n TableResources,\n CassandraResources,\n GremlinResources,\n Locations,\n DataTransferJobs,\n CassandraClusters,\n CassandraDataCenters,\n NetworkSecurityPerimeterConfigurations,\n NotebookWorkspaces,\n PrivateEndpointConnections,\n PrivateLinkResources,\n RestorableDatabaseAccounts,\n RestorableSqlDatabases,\n RestorableSqlContainers,\n RestorableSqlResources,\n RestorableMongodbDatabases,\n RestorableMongodbCollections,\n RestorableMongodbResources,\n RestorableGremlinDatabases,\n RestorableGremlinGraphs,\n RestorableGremlinResources,\n RestorableTables,\n RestorableTableResources,\n Service,\n ThroughputPools,\n ThroughputPool,\n ThroughputPoolAccounts,\n ThroughputPoolAccount,\n} from \"./operationsInterfaces/index.js\";\nimport { CosmosDBManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class CosmosDBManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the CosmosDBManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription. The value must be an UUID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: CosmosDBManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: CosmosDBManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-cosmosdb/16.3.0-beta.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2024-12-01-preview\";\n this.chaosFault = new ChaosFaultImpl(this);\n this.databaseAccounts = new DatabaseAccountsImpl(this);\n this.operations = new OperationsImpl(this);\n this.database = new DatabaseImpl(this);\n this.collection = new CollectionImpl(this);\n this.collectionRegion = new CollectionRegionImpl(this);\n this.databaseAccountRegion = new DatabaseAccountRegionImpl(this);\n this.percentileSourceTarget = new PercentileSourceTargetImpl(this);\n this.percentileTarget = new PercentileTargetImpl(this);\n this.percentile = new PercentileImpl(this);\n this.collectionPartitionRegion = new CollectionPartitionRegionImpl(this);\n this.collectionPartition = new CollectionPartitionImpl(this);\n this.partitionKeyRangeId = new PartitionKeyRangeIdImpl(this);\n this.partitionKeyRangeIdRegion = new PartitionKeyRangeIdRegionImpl(this);\n this.graphResources = new GraphResourcesImpl(this);\n this.sqlResources = new SqlResourcesImpl(this);\n this.mongoDBResources = new MongoDBResourcesImpl(this);\n this.tableResources = new TableResourcesImpl(this);\n this.cassandraResources = new CassandraResourcesImpl(this);\n this.gremlinResources = new GremlinResourcesImpl(this);\n this.locations = new LocationsImpl(this);\n this.dataTransferJobs = new DataTransferJobsImpl(this);\n this.cassandraClusters = new CassandraClustersImpl(this);\n this.cassandraDataCenters = new CassandraDataCentersImpl(this);\n this.networkSecurityPerimeterConfigurations =\n new NetworkSecurityPerimeterConfigurationsImpl(this);\n this.notebookWorkspaces = new NotebookWorkspacesImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.restorableDatabaseAccounts = new RestorableDatabaseAccountsImpl(this);\n this.restorableSqlDatabases = new RestorableSqlDatabasesImpl(this);\n this.restorableSqlContainers = new RestorableSqlContainersImpl(this);\n this.restorableSqlResources = new RestorableSqlResourcesImpl(this);\n this.restorableMongodbDatabases = new RestorableMongodbDatabasesImpl(this);\n this.restorableMongodbCollections = new RestorableMongodbCollectionsImpl(\n this,\n );\n this.restorableMongodbResources = new RestorableMongodbResourcesImpl(this);\n this.restorableGremlinDatabases = new RestorableGremlinDatabasesImpl(this);\n this.restorableGremlinGraphs = new RestorableGremlinGraphsImpl(this);\n this.restorableGremlinResources = new RestorableGremlinResourcesImpl(this);\n this.restorableTables = new RestorableTablesImpl(this);\n this.restorableTableResources = new RestorableTableResourcesImpl(this);\n this.service = new ServiceImpl(this);\n this.throughputPools = new ThroughputPoolsImpl(this);\n this.throughputPool = new ThroughputPoolImpl(this);\n this.throughputPoolAccounts = new ThroughputPoolAccountsImpl(this);\n this.throughputPoolAccount = new ThroughputPoolAccountImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n chaosFault: ChaosFault;\n databaseAccounts: DatabaseAccounts;\n operations: Operations;\n database: Database;\n collection: Collection;\n collectionRegion: CollectionRegion;\n databaseAccountRegion: DatabaseAccountRegion;\n percentileSourceTarget: PercentileSourceTarget;\n percentileTarget: PercentileTarget;\n percentile: Percentile;\n collectionPartitionRegion: CollectionPartitionRegion;\n collectionPartition: CollectionPartition;\n partitionKeyRangeId: PartitionKeyRangeId;\n partitionKeyRangeIdRegion: PartitionKeyRangeIdRegion;\n graphResources: GraphResources;\n sqlResources: SqlResources;\n mongoDBResources: MongoDBResources;\n tableResources: TableResources;\n cassandraResources: CassandraResources;\n gremlinResources: GremlinResources;\n locations: Locations;\n dataTransferJobs: DataTransferJobs;\n cassandraClusters: CassandraClusters;\n cassandraDataCenters: CassandraDataCenters;\n networkSecurityPerimeterConfigurations: NetworkSecurityPerimeterConfigurations;\n notebookWorkspaces: NotebookWorkspaces;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n restorableDatabaseAccounts: RestorableDatabaseAccounts;\n restorableSqlDatabases: RestorableSqlDatabases;\n restorableSqlContainers: RestorableSqlContainers;\n restorableSqlResources: RestorableSqlResources;\n restorableMongodbDatabases: RestorableMongodbDatabases;\n restorableMongodbCollections: RestorableMongodbCollections;\n restorableMongodbResources: RestorableMongodbResources;\n restorableGremlinDatabases: RestorableGremlinDatabases;\n restorableGremlinGraphs: RestorableGremlinGraphs;\n restorableGremlinResources: RestorableGremlinResources;\n restorableTables: RestorableTables;\n restorableTableResources: RestorableTableResources;\n service: Service;\n throughputPools: ThroughputPools;\n throughputPool: ThroughputPool;\n throughputPoolAccounts: ThroughputPoolAccounts;\n throughputPoolAccount: ThroughputPoolAccount;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"cosmosDBManagementClient.js","sourceRoot":"","sources":["../../src/cosmosDBManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,YAAY,EACZ,cAAc,EACd,oBAAoB,EACpB,yBAAyB,EACzB,0BAA0B,EAC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AQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAuCF","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n DatabaseAccountsImpl,\n OperationsImpl,\n DatabaseImpl,\n CollectionImpl,\n CollectionRegionImpl,\n DatabaseAccountRegionImpl,\n PercentileSourceTargetImpl,\n PercentileTargetImpl,\n PercentileImpl,\n CollectionPartitionRegionImpl,\n CollectionPartitionImpl,\n PartitionKeyRangeIdImpl,\n PartitionKeyRangeIdRegionImpl,\n SqlResourcesImpl,\n MongoDBResourcesImpl,\n TableResourcesImpl,\n CassandraResourcesImpl,\n GremlinResourcesImpl,\n LocationsImpl,\n CassandraClustersImpl,\n CassandraDataCentersImpl,\n NotebookWorkspacesImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl,\n RestorableDatabaseAccountsImpl,\n RestorableSqlDatabasesImpl,\n RestorableSqlContainersImpl,\n RestorableSqlResourcesImpl,\n RestorableMongodbDatabasesImpl,\n RestorableMongodbCollectionsImpl,\n RestorableMongodbResourcesImpl,\n RestorableGremlinDatabasesImpl,\n RestorableGremlinGraphsImpl,\n RestorableGremlinResourcesImpl,\n RestorableTablesImpl,\n RestorableTableResourcesImpl,\n ServiceImpl,\n} from \"./operations/index.js\";\nimport {\n DatabaseAccounts,\n Operations,\n Database,\n Collection,\n CollectionRegion,\n DatabaseAccountRegion,\n PercentileSourceTarget,\n PercentileTarget,\n Percentile,\n CollectionPartitionRegion,\n CollectionPartition,\n PartitionKeyRangeId,\n PartitionKeyRangeIdRegion,\n SqlResources,\n MongoDBResources,\n TableResources,\n CassandraResources,\n GremlinResources,\n Locations,\n CassandraClusters,\n CassandraDataCenters,\n NotebookWorkspaces,\n PrivateEndpointConnections,\n PrivateLinkResources,\n RestorableDatabaseAccounts,\n RestorableSqlDatabases,\n RestorableSqlContainers,\n RestorableSqlResources,\n RestorableMongodbDatabases,\n RestorableMongodbCollections,\n RestorableMongodbResources,\n RestorableGremlinDatabases,\n RestorableGremlinGraphs,\n RestorableGremlinResources,\n RestorableTables,\n RestorableTableResources,\n Service,\n} from \"./operationsInterfaces/index.js\";\nimport { CosmosDBManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class CosmosDBManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the CosmosDBManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: CosmosDBManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: CosmosDBManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-cosmosdb/16.3.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2025-04-15\";\n this.databaseAccounts = new DatabaseAccountsImpl(this);\n this.operations = new OperationsImpl(this);\n this.database = new DatabaseImpl(this);\n this.collection = new CollectionImpl(this);\n this.collectionRegion = new CollectionRegionImpl(this);\n this.databaseAccountRegion = new DatabaseAccountRegionImpl(this);\n this.percentileSourceTarget = new PercentileSourceTargetImpl(this);\n this.percentileTarget = new PercentileTargetImpl(this);\n this.percentile = new PercentileImpl(this);\n this.collectionPartitionRegion = new CollectionPartitionRegionImpl(this);\n this.collectionPartition = new CollectionPartitionImpl(this);\n this.partitionKeyRangeId = new PartitionKeyRangeIdImpl(this);\n this.partitionKeyRangeIdRegion = new PartitionKeyRangeIdRegionImpl(this);\n this.sqlResources = new SqlResourcesImpl(this);\n this.mongoDBResources = new MongoDBResourcesImpl(this);\n this.tableResources = new TableResourcesImpl(this);\n this.cassandraResources = new CassandraResourcesImpl(this);\n this.gremlinResources = new GremlinResourcesImpl(this);\n this.locations = new LocationsImpl(this);\n this.cassandraClusters = new CassandraClustersImpl(this);\n this.cassandraDataCenters = new CassandraDataCentersImpl(this);\n this.notebookWorkspaces = new NotebookWorkspacesImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.restorableDatabaseAccounts = new RestorableDatabaseAccountsImpl(this);\n this.restorableSqlDatabases = new RestorableSqlDatabasesImpl(this);\n this.restorableSqlContainers = new RestorableSqlContainersImpl(this);\n this.restorableSqlResources = new RestorableSqlResourcesImpl(this);\n this.restorableMongodbDatabases = new RestorableMongodbDatabasesImpl(this);\n this.restorableMongodbCollections = new RestorableMongodbCollectionsImpl(\n this,\n );\n this.restorableMongodbResources = new RestorableMongodbResourcesImpl(this);\n this.restorableGremlinDatabases = new RestorableGremlinDatabasesImpl(this);\n this.restorableGremlinGraphs = new RestorableGremlinGraphsImpl(this);\n this.restorableGremlinResources = new RestorableGremlinResourcesImpl(this);\n this.restorableTables = new RestorableTablesImpl(this);\n this.restorableTableResources = new RestorableTableResourcesImpl(this);\n this.service = new ServiceImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n databaseAccounts: DatabaseAccounts;\n operations: Operations;\n database: Database;\n collection: Collection;\n collectionRegion: CollectionRegion;\n databaseAccountRegion: DatabaseAccountRegion;\n percentileSourceTarget: PercentileSourceTarget;\n percentileTarget: PercentileTarget;\n percentile: Percentile;\n collectionPartitionRegion: CollectionPartitionRegion;\n collectionPartition: CollectionPartition;\n partitionKeyRangeId: PartitionKeyRangeId;\n partitionKeyRangeIdRegion: PartitionKeyRangeIdRegion;\n sqlResources: SqlResources;\n mongoDBResources: MongoDBResources;\n tableResources: TableResources;\n cassandraResources: CassandraResources;\n gremlinResources: GremlinResources;\n locations: Locations;\n cassandraClusters: CassandraClusters;\n cassandraDataCenters: CassandraDataCenters;\n notebookWorkspaces: NotebookWorkspaces;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n restorableDatabaseAccounts: RestorableDatabaseAccounts;\n restorableSqlDatabases: RestorableSqlDatabases;\n restorableSqlContainers: RestorableSqlContainers;\n restorableSqlResources: RestorableSqlResources;\n restorableMongodbDatabases: RestorableMongodbDatabases;\n restorableMongodbCollections: RestorableMongodbCollections;\n restorableMongodbResources: RestorableMongodbResources;\n restorableGremlinDatabases: RestorableGremlinDatabases;\n restorableGremlinGraphs: RestorableGremlinGraphs;\n restorableGremlinResources: RestorableGremlinResources;\n restorableTables: RestorableTables;\n restorableTableResources: RestorableTableResources;\n service: Service;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAmB1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAKH,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,KAAkB,IAAI,EAAjB,QAAQ,UAAK,IAAI,EAAnC,eAA4B,CAAO,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,kCACtB,QAAQ,KACX,UAAU,EAAE,KAAK,EACjB,IAAI,EACJ,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,IACjC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,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 { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike },\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}
|