@azure/arm-cosmosdb 16.1.1-alpha.20241028.1 → 17.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +335 -7
- package/README.md +1 -1
- package/dist/index.js +13119 -6126
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/cassandraClustersCreateUpdateSample.js +3 -2
- package/dist-esm/samples-dev/cassandraClustersCreateUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/cassandraClustersDeallocateSample.js +3 -2
- package/dist-esm/samples-dev/cassandraClustersDeallocateSample.js.map +1 -1
- package/dist-esm/samples-dev/cassandraClustersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/cassandraClustersGetBackupSample.d.ts +2 -0
- package/dist-esm/samples-dev/cassandraClustersGetBackupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cassandraClustersGetBackupSample.js +40 -0
- package/dist-esm/samples-dev/cassandraClustersGetBackupSample.js.map +1 -0
- package/dist-esm/samples-dev/cassandraClustersGetCommandAsyncSample.d.ts +2 -0
- package/dist-esm/samples-dev/cassandraClustersGetCommandAsyncSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cassandraClustersGetCommandAsyncSample.js +40 -0
- package/dist-esm/samples-dev/cassandraClustersGetCommandAsyncSample.js.map +1 -0
- package/dist-esm/samples-dev/cassandraClustersGetSample.js +1 -1
- package/dist-esm/samples-dev/cassandraClustersInvokeCommandAsyncSample.d.ts +2 -0
- package/dist-esm/samples-dev/cassandraClustersInvokeCommandAsyncSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cassandraClustersInvokeCommandAsyncSample.js +44 -0
- package/dist-esm/samples-dev/cassandraClustersInvokeCommandAsyncSample.js.map +1 -0
- package/dist-esm/samples-dev/cassandraClustersInvokeCommandSample.js +5 -3
- package/dist-esm/samples-dev/cassandraClustersInvokeCommandSample.js.map +1 -1
- package/dist-esm/samples-dev/cassandraClustersListBackupsSample.d.ts +2 -0
- package/dist-esm/samples-dev/cassandraClustersListBackupsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cassandraClustersListBackupsSample.js +55 -0
- package/dist-esm/samples-dev/cassandraClustersListBackupsSample.js.map +1 -0
- package/dist-esm/samples-dev/cassandraClustersListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/cassandraClustersListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/cassandraClustersListCommandSample.d.ts +2 -0
- package/dist-esm/samples-dev/cassandraClustersListCommandSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cassandraClustersListCommandSample.js +55 -0
- package/dist-esm/samples-dev/cassandraClustersListCommandSample.js.map +1 -0
- package/dist-esm/samples-dev/cassandraClustersStartSample.js +3 -2
- package/dist-esm/samples-dev/cassandraClustersStartSample.js.map +1 -1
- package/dist-esm/samples-dev/cassandraClustersStatusSample.js +3 -2
- package/dist-esm/samples-dev/cassandraClustersStatusSample.js.map +1 -1
- package/dist-esm/samples-dev/cassandraClustersUpdateSample.js +1 -1
- package/dist-esm/samples-dev/cassandraDataCentersCreateUpdateSample.js +1 -1
- package/dist-esm/samples-dev/cassandraDataCentersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/cassandraDataCentersGetSample.js +1 -1
- package/dist-esm/samples-dev/cassandraDataCentersListSample.js +1 -1
- package/dist-esm/samples-dev/cassandraDataCentersUpdateSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesCreateUpdateCassandraKeyspaceSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesCreateUpdateCassandraTableSample.js +2 -1
- package/dist-esm/samples-dev/cassandraResourcesCreateUpdateCassandraTableSample.js.map +1 -1
- package/dist-esm/samples-dev/cassandraResourcesCreateUpdateCassandraViewSample.d.ts +2 -0
- package/dist-esm/samples-dev/cassandraResourcesCreateUpdateCassandraViewSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cassandraResourcesCreateUpdateCassandraViewSample.js +48 -0
- package/dist-esm/samples-dev/cassandraResourcesCreateUpdateCassandraViewSample.js.map +1 -0
- package/dist-esm/samples-dev/cassandraResourcesDeleteCassandraKeyspaceSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesDeleteCassandraTableSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesDeleteCassandraViewSample.d.ts +2 -0
- package/dist-esm/samples-dev/cassandraResourcesDeleteCassandraViewSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cassandraResourcesDeleteCassandraViewSample.js +40 -0
- package/dist-esm/samples-dev/cassandraResourcesDeleteCassandraViewSample.js.map +1 -0
- package/dist-esm/samples-dev/cassandraResourcesGetCassandraKeyspaceSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesGetCassandraKeyspaceThroughputSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesGetCassandraTableSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesGetCassandraTableThroughputSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesGetCassandraViewSample.d.ts +2 -0
- package/dist-esm/samples-dev/cassandraResourcesGetCassandraViewSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cassandraResourcesGetCassandraViewSample.js +40 -0
- package/dist-esm/samples-dev/cassandraResourcesGetCassandraViewSample.js.map +1 -0
- package/dist-esm/samples-dev/cassandraResourcesGetCassandraViewThroughputSample.d.ts +2 -0
- package/dist-esm/samples-dev/cassandraResourcesGetCassandraViewThroughputSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cassandraResourcesGetCassandraViewThroughputSample.js +40 -0
- package/dist-esm/samples-dev/cassandraResourcesGetCassandraViewThroughputSample.js.map +1 -0
- package/dist-esm/samples-dev/cassandraResourcesListCassandraKeyspacesSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesListCassandraTablesSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesListCassandraViewsSample.d.ts +2 -0
- package/dist-esm/samples-dev/cassandraResourcesListCassandraViewsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cassandraResourcesListCassandraViewsSample.js +55 -0
- package/dist-esm/samples-dev/cassandraResourcesListCassandraViewsSample.js.map +1 -0
- package/dist-esm/samples-dev/cassandraResourcesMigrateCassandraKeyspaceToAutoscaleSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesMigrateCassandraKeyspaceToManualThroughputSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesMigrateCassandraTableToAutoscaleSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesMigrateCassandraTableToManualThroughputSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesMigrateCassandraViewToAutoscaleSample.d.ts +2 -0
- package/dist-esm/samples-dev/cassandraResourcesMigrateCassandraViewToAutoscaleSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cassandraResourcesMigrateCassandraViewToAutoscaleSample.js +40 -0
- package/dist-esm/samples-dev/cassandraResourcesMigrateCassandraViewToAutoscaleSample.js.map +1 -0
- package/dist-esm/samples-dev/cassandraResourcesMigrateCassandraViewToManualThroughputSample.d.ts +2 -0
- package/dist-esm/samples-dev/cassandraResourcesMigrateCassandraViewToManualThroughputSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cassandraResourcesMigrateCassandraViewToManualThroughputSample.js +40 -0
- package/dist-esm/samples-dev/cassandraResourcesMigrateCassandraViewToManualThroughputSample.js.map +1 -0
- package/dist-esm/samples-dev/cassandraResourcesUpdateCassandraKeyspaceThroughputSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesUpdateCassandraTableThroughputSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesUpdateCassandraViewThroughputSample.d.ts +2 -0
- package/dist-esm/samples-dev/cassandraResourcesUpdateCassandraViewThroughputSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cassandraResourcesUpdateCassandraViewThroughputSample.js +44 -0
- package/dist-esm/samples-dev/cassandraResourcesUpdateCassandraViewThroughputSample.js.map +1 -0
- package/dist-esm/samples-dev/chaosFaultEnableDisableSample.d.ts +2 -0
- package/dist-esm/samples-dev/chaosFaultEnableDisableSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/chaosFaultEnableDisableSample.js +46 -0
- package/dist-esm/samples-dev/chaosFaultEnableDisableSample.js.map +1 -0
- package/dist-esm/samples-dev/chaosFaultGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/chaosFaultGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/chaosFaultGetSample.js +40 -0
- package/dist-esm/samples-dev/chaosFaultGetSample.js.map +1 -0
- package/dist-esm/samples-dev/chaosFaultListSample.d.ts +2 -0
- package/dist-esm/samples-dev/chaosFaultListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/chaosFaultListSample.js +55 -0
- package/dist-esm/samples-dev/chaosFaultListSample.js.map +1 -0
- package/dist-esm/samples-dev/collectionListMetricDefinitionsSample.js +1 -1
- package/dist-esm/samples-dev/collectionListMetricsSample.js +1 -1
- package/dist-esm/samples-dev/collectionListUsagesSample.js +1 -1
- package/dist-esm/samples-dev/collectionPartitionListMetricsSample.js +1 -1
- package/dist-esm/samples-dev/collectionPartitionListUsagesSample.js +1 -1
- package/dist-esm/samples-dev/collectionPartitionRegionListMetricsSample.js +1 -1
- package/dist-esm/samples-dev/collectionRegionListMetricsSample.js +1 -1
- package/dist-esm/samples-dev/dataTransferJobsCancelSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataTransferJobsCancelSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataTransferJobsCancelSample.js +39 -0
- package/dist-esm/samples-dev/dataTransferJobsCancelSample.js.map +1 -0
- package/dist-esm/samples-dev/dataTransferJobsCompleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataTransferJobsCompleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataTransferJobsCompleteSample.js +40 -0
- package/dist-esm/samples-dev/dataTransferJobsCompleteSample.js.map +1 -0
- package/dist-esm/samples-dev/dataTransferJobsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataTransferJobsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataTransferJobsCreateSample.js +53 -0
- package/dist-esm/samples-dev/dataTransferJobsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/dataTransferJobsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataTransferJobsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataTransferJobsGetSample.js +39 -0
- package/dist-esm/samples-dev/dataTransferJobsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/dataTransferJobsListByDatabaseAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataTransferJobsListByDatabaseAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataTransferJobsListByDatabaseAccountSample.js +54 -0
- package/dist-esm/samples-dev/dataTransferJobsListByDatabaseAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/dataTransferJobsPauseSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataTransferJobsPauseSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataTransferJobsPauseSample.js +39 -0
- package/dist-esm/samples-dev/dataTransferJobsPauseSample.js.map +1 -0
- package/dist-esm/samples-dev/dataTransferJobsResumeSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataTransferJobsResumeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataTransferJobsResumeSample.js +39 -0
- package/dist-esm/samples-dev/dataTransferJobsResumeSample.js.map +1 -0
- package/dist-esm/samples-dev/databaseAccountRegionListMetricsSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsCheckNameExistsSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsCreateOrUpdateSample.js +10 -3
- package/dist-esm/samples-dev/databaseAccountsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/databaseAccountsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsFailoverPriorityChangeSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsGetReadOnlyKeysSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsGetSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsListConnectionStringsSample.js +2 -2
- package/dist-esm/samples-dev/databaseAccountsListKeysSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsListMetricDefinitionsSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsListMetricsSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsListReadOnlyKeysSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsListSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsListUsagesSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsOfflineRegionSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsOnlineRegionSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsRegenerateKeySample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsUpdateSample.js +7 -2
- package/dist-esm/samples-dev/databaseAccountsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/databaseListMetricDefinitionsSample.js +1 -1
- package/dist-esm/samples-dev/databaseListMetricsSample.js +1 -1
- package/dist-esm/samples-dev/databaseListUsagesSample.js +1 -1
- package/dist-esm/samples-dev/graphResourcesCreateUpdateGraphSample.d.ts +2 -0
- package/dist-esm/samples-dev/graphResourcesCreateUpdateGraphSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/graphResourcesCreateUpdateGraphSample.js +45 -0
- package/dist-esm/samples-dev/graphResourcesCreateUpdateGraphSample.js.map +1 -0
- package/dist-esm/samples-dev/graphResourcesDeleteGraphResourceSample.d.ts +2 -0
- package/dist-esm/samples-dev/graphResourcesDeleteGraphResourceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/graphResourcesDeleteGraphResourceSample.js +39 -0
- package/dist-esm/samples-dev/graphResourcesDeleteGraphResourceSample.js.map +1 -0
- package/dist-esm/samples-dev/graphResourcesGetGraphSample.d.ts +2 -0
- package/dist-esm/samples-dev/graphResourcesGetGraphSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/graphResourcesGetGraphSample.js +39 -0
- package/dist-esm/samples-dev/graphResourcesGetGraphSample.js.map +1 -0
- package/dist-esm/samples-dev/graphResourcesListGraphsSample.d.ts +2 -0
- package/dist-esm/samples-dev/graphResourcesListGraphsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/graphResourcesListGraphsSample.js +54 -0
- package/dist-esm/samples-dev/graphResourcesListGraphsSample.js.map +1 -0
- package/dist-esm/samples-dev/gremlinResourcesCreateUpdateGremlinDatabaseSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesCreateUpdateGremlinGraphSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesDeleteGremlinDatabaseSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesDeleteGremlinGraphSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesGetGremlinDatabaseSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesGetGremlinDatabaseThroughputSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesGetGremlinGraphSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesGetGremlinGraphThroughputSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesListGremlinDatabasesSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesListGremlinGraphsSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesMigrateGremlinDatabaseToAutoscaleSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesMigrateGremlinDatabaseToManualThroughputSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesMigrateGremlinGraphToAutoscaleSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesMigrateGremlinGraphToManualThroughputSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesRetrieveContinuousBackupInformationSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesUpdateGremlinDatabaseThroughputSample.js +1 -1
- package/dist-esm/samples-dev/gremlinResourcesUpdateGremlinGraphThroughputSample.js +1 -1
- package/dist-esm/samples-dev/locationsGetSample.js +1 -1
- package/dist-esm/samples-dev/locationsListSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesCreateUpdateMongoDbcollectionSample.js +36 -1
- package/dist-esm/samples-dev/mongoDbResourcesCreateUpdateMongoDbcollectionSample.js.map +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesCreateUpdateMongoDbdatabaseSample.js +34 -1
- package/dist-esm/samples-dev/mongoDbResourcesCreateUpdateMongoDbdatabaseSample.js.map +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesCreateUpdateMongoRoleDefinitionSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesCreateUpdateMongoUserDefinitionSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesDeleteMongoDbcollectionSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesDeleteMongoDbdatabaseSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesDeleteMongoRoleDefinitionSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesDeleteMongoUserDefinitionSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesGetMongoDbcollectionSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesGetMongoDbcollectionThroughputSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesGetMongoDbdatabaseSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesGetMongoDbdatabaseThroughputSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesGetMongoRoleDefinitionSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesGetMongoUserDefinitionSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesListMongoDbcollectionPartitionMergeSample.d.ts +2 -0
- package/dist-esm/samples-dev/mongoDbResourcesListMongoDbcollectionPartitionMergeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/mongoDbResourcesListMongoDbcollectionPartitionMergeSample.js +41 -0
- package/dist-esm/samples-dev/mongoDbResourcesListMongoDbcollectionPartitionMergeSample.js.map +1 -0
- package/dist-esm/samples-dev/mongoDbResourcesListMongoDbcollectionsSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesListMongoDbdatabasesSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesListMongoRoleDefinitionsSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesListMongoUserDefinitionsSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesMigrateMongoDbcollectionToAutoscaleSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesMigrateMongoDbcollectionToManualThroughputSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesMigrateMongoDbdatabaseToAutoscaleSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesMigrateMongoDbdatabaseToManualThroughputSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesMongoDbcontainerRedistributeThroughputSample.d.ts +2 -0
- package/dist-esm/samples-dev/mongoDbResourcesMongoDbcontainerRedistributeThroughputSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/mongoDbResourcesMongoDbcontainerRedistributeThroughputSample.js +53 -0
- package/dist-esm/samples-dev/mongoDbResourcesMongoDbcontainerRedistributeThroughputSample.js.map +1 -0
- package/dist-esm/samples-dev/mongoDbResourcesMongoDbcontainerRetrieveThroughputDistributionSample.d.ts +2 -0
- package/dist-esm/samples-dev/mongoDbResourcesMongoDbcontainerRetrieveThroughputDistributionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/mongoDbResourcesMongoDbcontainerRetrieveThroughputDistributionSample.js +43 -0
- package/dist-esm/samples-dev/mongoDbResourcesMongoDbcontainerRetrieveThroughputDistributionSample.js.map +1 -0
- package/dist-esm/samples-dev/mongoDbResourcesMongoDbdatabasePartitionMergeSample.d.ts +2 -0
- package/dist-esm/samples-dev/mongoDbResourcesMongoDbdatabasePartitionMergeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/mongoDbResourcesMongoDbdatabasePartitionMergeSample.js +40 -0
- package/dist-esm/samples-dev/mongoDbResourcesMongoDbdatabasePartitionMergeSample.js.map +1 -0
- package/dist-esm/samples-dev/mongoDbResourcesMongoDbdatabaseRedistributeThroughputSample.d.ts +2 -0
- package/dist-esm/samples-dev/mongoDbResourcesMongoDbdatabaseRedistributeThroughputSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/mongoDbResourcesMongoDbdatabaseRedistributeThroughputSample.js +52 -0
- package/dist-esm/samples-dev/mongoDbResourcesMongoDbdatabaseRedistributeThroughputSample.js.map +1 -0
- package/dist-esm/samples-dev/mongoDbResourcesMongoDbdatabaseRetrieveThroughputDistributionSample.d.ts +2 -0
- package/dist-esm/samples-dev/mongoDbResourcesMongoDbdatabaseRetrieveThroughputDistributionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/mongoDbResourcesMongoDbdatabaseRetrieveThroughputDistributionSample.js +42 -0
- package/dist-esm/samples-dev/mongoDbResourcesMongoDbdatabaseRetrieveThroughputDistributionSample.js.map +1 -0
- package/dist-esm/samples-dev/mongoDbResourcesRetrieveContinuousBackupInformationSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesUpdateMongoDbcollectionThroughputSample.js +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesUpdateMongoDbdatabaseThroughputSample.js +1 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js +40 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.js +55 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js +40 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js.map +1 -0
- package/dist-esm/samples-dev/notebookWorkspacesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/notebookWorkspacesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/notebookWorkspacesGetSample.js +1 -1
- package/dist-esm/samples-dev/notebookWorkspacesListByDatabaseAccountSample.js +1 -1
- package/dist-esm/samples-dev/notebookWorkspacesListConnectionInfoSample.js +1 -1
- package/dist-esm/samples-dev/notebookWorkspacesRegenerateAuthTokenSample.js +1 -1
- package/dist-esm/samples-dev/notebookWorkspacesStartSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/partitionKeyRangeIdListMetricsSample.js +1 -1
- package/dist-esm/samples-dev/partitionKeyRangeIdRegionListMetricsSample.js +1 -1
- package/dist-esm/samples-dev/percentileListMetricsSample.js +1 -1
- package/dist-esm/samples-dev/percentileSourceTargetListMetricsSample.js +1 -1
- package/dist-esm/samples-dev/percentileTargetListMetricsSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByDatabaseAccountSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByDatabaseAccountSample.js +1 -1
- package/dist-esm/samples-dev/restorableDatabaseAccountsGetByLocationSample.js +1 -1
- package/dist-esm/samples-dev/restorableDatabaseAccountsListByLocationSample.js +1 -1
- package/dist-esm/samples-dev/restorableDatabaseAccountsListSample.js +1 -1
- package/dist-esm/samples-dev/restorableGremlinDatabasesListSample.js +1 -1
- package/dist-esm/samples-dev/restorableGremlinGraphsListSample.js +1 -1
- package/dist-esm/samples-dev/restorableGremlinResourcesListSample.js +1 -1
- package/dist-esm/samples-dev/restorableMongodbCollectionsListSample.js +1 -1
- package/dist-esm/samples-dev/restorableMongodbDatabasesListSample.js +1 -1
- package/dist-esm/samples-dev/restorableMongodbResourcesListSample.js +1 -1
- package/dist-esm/samples-dev/restorableSqlContainersListSample.js +1 -1
- package/dist-esm/samples-dev/restorableSqlDatabasesListSample.js +1 -1
- package/dist-esm/samples-dev/restorableSqlResourcesListSample.js +1 -1
- package/dist-esm/samples-dev/restorableTableResourcesListSample.js +1 -1
- package/dist-esm/samples-dev/restorableTablesListSample.js +1 -1
- package/dist-esm/samples-dev/serviceCreateSample.js +4 -4
- package/dist-esm/samples-dev/serviceDeleteSample.js +4 -4
- package/dist-esm/samples-dev/serviceGetSample.js +4 -4
- package/dist-esm/samples-dev/serviceListSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesCreateUpdateClientEncryptionKeySample.js +2 -2
- package/dist-esm/samples-dev/sqlResourcesCreateUpdateClientEncryptionKeySample.js.map +1 -1
- package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlContainerSample.js +82 -1
- package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlContainerSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlDatabaseSample.js +34 -1
- package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlDatabaseSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlRoleAssignmentSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlRoleDefinitionSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlStoredProcedureSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlTriggerSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlUserDefinedFunctionSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesDeleteSqlContainerSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesDeleteSqlDatabaseSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesDeleteSqlRoleAssignmentSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesDeleteSqlRoleDefinitionSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesDeleteSqlStoredProcedureSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesDeleteSqlTriggerSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesDeleteSqlUserDefinedFunctionSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesGetClientEncryptionKeySample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesGetSqlContainerSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesGetSqlContainerThroughputSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesGetSqlDatabaseSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesGetSqlDatabaseThroughputSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesGetSqlRoleAssignmentSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesGetSqlRoleDefinitionSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesGetSqlStoredProcedureSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesGetSqlTriggerSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesGetSqlUserDefinedFunctionSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesListClientEncryptionKeysSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesListSqlContainerPartitionMergeSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlResourcesListSqlContainerPartitionMergeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlResourcesListSqlContainerPartitionMergeSample.js +41 -0
- package/dist-esm/samples-dev/sqlResourcesListSqlContainerPartitionMergeSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlResourcesListSqlContainersSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesListSqlDatabasesSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesListSqlRoleAssignmentsSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesListSqlRoleDefinitionsSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesListSqlStoredProceduresSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesListSqlTriggersSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesListSqlUserDefinedFunctionsSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesMigrateSqlContainerToAutoscaleSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesMigrateSqlContainerToManualThroughputSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesMigrateSqlDatabaseToAutoscaleSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesMigrateSqlDatabaseToManualThroughputSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesRetrieveContinuousBackupInformationSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesSqlContainerRedistributeThroughputSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlResourcesSqlContainerRedistributeThroughputSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlResourcesSqlContainerRedistributeThroughputSample.js +53 -0
- package/dist-esm/samples-dev/sqlResourcesSqlContainerRedistributeThroughputSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlResourcesSqlContainerRetrieveThroughputDistributionSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlResourcesSqlContainerRetrieveThroughputDistributionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlResourcesSqlContainerRetrieveThroughputDistributionSample.js +43 -0
- package/dist-esm/samples-dev/sqlResourcesSqlContainerRetrieveThroughputDistributionSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlResourcesSqlDatabasePartitionMergeSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlResourcesSqlDatabasePartitionMergeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlResourcesSqlDatabasePartitionMergeSample.js +40 -0
- package/dist-esm/samples-dev/sqlResourcesSqlDatabasePartitionMergeSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlResourcesSqlDatabaseRedistributeThroughputSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlResourcesSqlDatabaseRedistributeThroughputSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlResourcesSqlDatabaseRedistributeThroughputSample.js +52 -0
- package/dist-esm/samples-dev/sqlResourcesSqlDatabaseRedistributeThroughputSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlResourcesSqlDatabaseRetrieveThroughputDistributionSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlResourcesSqlDatabaseRetrieveThroughputDistributionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlResourcesSqlDatabaseRetrieveThroughputDistributionSample.js +42 -0
- package/dist-esm/samples-dev/sqlResourcesSqlDatabaseRetrieveThroughputDistributionSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlResourcesUpdateSqlContainerThroughputSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesUpdateSqlDatabaseThroughputSample.js +1 -1
- package/dist-esm/samples-dev/tableResourcesCreateUpdateTableSample.js +1 -1
- package/dist-esm/samples-dev/tableResourcesDeleteTableSample.js +1 -1
- package/dist-esm/samples-dev/tableResourcesGetTableSample.js +1 -1
- package/dist-esm/samples-dev/tableResourcesGetTableThroughputSample.js +1 -1
- package/dist-esm/samples-dev/tableResourcesListTablesSample.js +1 -1
- package/dist-esm/samples-dev/tableResourcesMigrateTableToAutoscaleSample.js +1 -1
- package/dist-esm/samples-dev/tableResourcesMigrateTableToManualThroughputSample.js +1 -1
- package/dist-esm/samples-dev/tableResourcesRetrieveContinuousBackupInformationSample.js +1 -1
- package/dist-esm/samples-dev/tableResourcesUpdateTableThroughputSample.js +1 -1
- package/dist-esm/samples-dev/throughputPoolAccountCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/throughputPoolAccountCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/throughputPoolAccountCreateSample.js +44 -0
- package/dist-esm/samples-dev/throughputPoolAccountCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/throughputPoolAccountDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/throughputPoolAccountDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/throughputPoolAccountDeleteSample.js +40 -0
- package/dist-esm/samples-dev/throughputPoolAccountDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/throughputPoolAccountGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/throughputPoolAccountGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/throughputPoolAccountGetSample.js +40 -0
- package/dist-esm/samples-dev/throughputPoolAccountGetSample.js.map +1 -0
- package/dist-esm/samples-dev/throughputPoolAccountsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/throughputPoolAccountsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/throughputPoolAccountsListSample.js +55 -0
- package/dist-esm/samples-dev/throughputPoolAccountsListSample.js.map +1 -0
- package/dist-esm/samples-dev/throughputPoolCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/throughputPoolCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/throughputPoolCreateOrUpdateSample.js +44 -0
- package/dist-esm/samples-dev/throughputPoolCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/throughputPoolDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/throughputPoolDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/throughputPoolDeleteSample.js +39 -0
- package/dist-esm/samples-dev/throughputPoolDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/throughputPoolGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/throughputPoolGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/throughputPoolGetSample.js +39 -0
- package/dist-esm/samples-dev/throughputPoolGetSample.js.map +1 -0
- package/dist-esm/samples-dev/throughputPoolUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/throughputPoolUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/throughputPoolUpdateSample.js +41 -0
- package/dist-esm/samples-dev/throughputPoolUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/throughputPoolsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/throughputPoolsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/throughputPoolsListByResourceGroupSample.js +54 -0
- package/dist-esm/samples-dev/throughputPoolsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/throughputPoolsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/throughputPoolsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/throughputPoolsListSample.js +53 -0
- package/dist-esm/samples-dev/throughputPoolsListSample.js.map +1 -0
- package/dist-esm/src/cosmosDBManagementClient.d.ts +9 -1
- package/dist-esm/src/cosmosDBManagementClient.d.ts.map +1 -1
- package/dist-esm/src/cosmosDBManagementClient.js +12 -3
- package/dist-esm/src/cosmosDBManagementClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +1800 -214
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +196 -12
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +116 -23
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +4234 -1962
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +22 -3
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +173 -21
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/cassandraClusters.d.ts +65 -1
- package/dist-esm/src/operations/cassandraClusters.d.ts.map +1 -1
- package/dist-esm/src/operations/cassandraClusters.js +314 -1
- package/dist-esm/src/operations/cassandraClusters.js.map +1 -1
- package/dist-esm/src/operations/cassandraResources.d.ts +134 -1
- package/dist-esm/src/operations/cassandraResources.d.ts.map +1 -1
- package/dist-esm/src/operations/cassandraResources.js +599 -0
- package/dist-esm/src/operations/cassandraResources.js.map +1 -1
- package/dist-esm/src/operations/chaosFault.d.ts +65 -0
- package/dist-esm/src/operations/chaosFault.d.ts.map +1 -0
- package/dist-esm/src/operations/chaosFault.js +283 -0
- package/dist-esm/src/operations/chaosFault.js.map +1 -0
- package/dist-esm/src/operations/dataTransferJobs.d.ts +87 -0
- package/dist-esm/src/operations/dataTransferJobs.d.ts.map +1 -0
- package/dist-esm/src/operations/dataTransferJobs.js +345 -0
- package/dist-esm/src/operations/dataTransferJobs.js.map +1 -0
- package/dist-esm/src/operations/graphResources.d.ts +73 -0
- package/dist-esm/src/operations/graphResources.d.ts.map +1 -0
- package/dist-esm/src/operations/graphResources.js +299 -0
- package/dist-esm/src/operations/graphResources.js.map +1 -0
- package/dist-esm/src/operations/gremlinResources.js +8 -8
- package/dist-esm/src/operations/gremlinResources.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +8 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +8 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/mongoDBResources.d.ts +123 -1
- package/dist-esm/src/operations/mongoDBResources.d.ts.map +1 -1
- package/dist-esm/src/operations/mongoDBResources.js +614 -0
- package/dist-esm/src/operations/mongoDBResources.js.map +1 -1
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts +66 -0
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js +286 -0
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist-esm/src/operations/sqlResources.d.ts +148 -26
- package/dist-esm/src/operations/sqlResources.d.ts.map +1 -1
- package/dist-esm/src/operations/sqlResources.js +706 -92
- package/dist-esm/src/operations/sqlResources.js.map +1 -1
- package/dist-esm/src/operations/throughputPool.d.ts +67 -0
- package/dist-esm/src/operations/throughputPool.d.ts.map +1 -0
- package/dist-esm/src/operations/throughputPool.js +321 -0
- package/dist-esm/src/operations/throughputPool.js.map +1 -0
- package/dist-esm/src/operations/throughputPoolAccount.d.ts +58 -0
- package/dist-esm/src/operations/throughputPoolAccount.d.ts.map +1 -0
- package/dist-esm/src/operations/throughputPoolAccount.js +257 -0
- package/dist-esm/src/operations/throughputPoolAccount.js.map +1 -0
- package/dist-esm/src/operations/throughputPoolAccounts.d.ts +38 -0
- package/dist-esm/src/operations/throughputPoolAccounts.d.ts.map +1 -0
- package/dist-esm/src/operations/throughputPoolAccounts.js +150 -0
- package/dist-esm/src/operations/throughputPoolAccounts.js.map +1 -0
- package/dist-esm/src/operations/throughputPools.d.ts +53 -0
- package/dist-esm/src/operations/throughputPools.d.ts.map +1 -0
- package/dist-esm/src/operations/throughputPools.js +256 -0
- package/dist-esm/src/operations/throughputPools.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cassandraClusters.d.ts +47 -1
- package/dist-esm/src/operationsInterfaces/cassandraClusters.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/cassandraResources.d.ts +124 -1
- package/dist-esm/src/operationsInterfaces/cassandraResources.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/chaosFault.d.ts +40 -0
- package/dist-esm/src/operationsInterfaces/chaosFault.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/chaosFault.js +9 -0
- package/dist-esm/src/operationsInterfaces/chaosFault.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataTransferJobs.d.ts +62 -0
- package/dist-esm/src/operationsInterfaces/dataTransferJobs.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataTransferJobs.js +9 -0
- package/dist-esm/src/operationsInterfaces/dataTransferJobs.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/graphResources.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/graphResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/graphResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/graphResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +8 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +8 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/mongoDBResources.d.ts +123 -1
- package/dist-esm/src/operationsInterfaces/mongoDBResources.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +41 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlResources.d.ts +142 -20
- package/dist-esm/src/operationsInterfaces/sqlResources.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/throughputPool.d.ts +59 -0
- package/dist-esm/src/operationsInterfaces/throughputPool.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/throughputPool.js +9 -0
- package/dist-esm/src/operationsInterfaces/throughputPool.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/throughputPoolAccount.d.ts +50 -0
- package/dist-esm/src/operationsInterfaces/throughputPoolAccount.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/throughputPoolAccount.js +9 -0
- package/dist-esm/src/operationsInterfaces/throughputPoolAccount.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/throughputPoolAccounts.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/throughputPoolAccounts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/throughputPoolAccounts.js +9 -0
- package/dist-esm/src/operationsInterfaces/throughputPoolAccounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/throughputPools.d.ts +17 -0
- package/dist-esm/src/operationsInterfaces/throughputPools.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/throughputPools.js +9 -0
- package/dist-esm/src/operationsInterfaces/throughputPools.js.map +1 -0
- package/package.json +28 -29
- package/review/arm-cosmosdb.api.md +1401 -35
- package/src/cosmosDBManagementClient.ts +35 -2
- package/src/models/index.ts +2119 -220
- package/src/models/mappers.ts +3544 -1019
- package/src/models/parameters.ts +204 -22
- package/src/operations/cassandraClusters.ts +421 -1
- package/src/operations/cassandraResources.ts +1064 -197
- package/src/operations/chaosFault.ts +383 -0
- package/src/operations/dataTransferJobs.ts +464 -0
- package/src/operations/graphResources.ts +418 -0
- package/src/operations/gremlinResources.ts +8 -8
- package/src/operations/index.ts +8 -0
- package/src/operations/mongoDBResources.ts +934 -49
- package/src/operations/networkSecurityPerimeterConfigurations.ts +389 -0
- package/src/operations/sqlResources.ts +1321 -439
- package/src/operations/throughputPool.ts +454 -0
- package/src/operations/throughputPoolAccount.ts +361 -0
- package/src/operations/throughputPoolAccounts.ts +197 -0
- package/src/operations/throughputPools.ts +298 -0
- package/src/operationsInterfaces/cassandraClusters.ts +89 -0
- package/src/operationsInterfaces/cassandraResources.ts +240 -0
- package/src/operationsInterfaces/chaosFault.ts +82 -0
- package/src/operationsInterfaces/dataTransferJobs.ts +122 -0
- package/src/operationsInterfaces/graphResources.ts +110 -0
- package/src/operationsInterfaces/index.ts +8 -0
- package/src/operationsInterfaces/mongoDBResources.ts +245 -0
- package/src/operationsInterfaces/networkSecurityPerimeterConfigurations.ts +81 -0
- package/src/operationsInterfaces/sqlResources.ts +287 -42
- package/src/operationsInterfaces/throughputPool.ts +122 -0
- package/src/operationsInterfaces/throughputPoolAccount.ts +103 -0
- package/src/operationsInterfaces/throughputPoolAccounts.ts +29 -0
- package/src/operationsInterfaces/throughputPools.ts +35 -0
- package/types/arm-cosmosdb.d.ts +2728 -166
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Retrieves the connection info for the notebook workspace
|
|
17
17
|
*
|
|
18
18
|
* @summary Retrieves the connection info for the notebook workspace
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBNotebookWorkspaceListConnectionInfo.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbNotebookWorkspaceListConnectionInfo() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Regenerates the auth token for the notebook workspace
|
|
17
17
|
*
|
|
18
18
|
* @summary Regenerates the auth token for the notebook workspace
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBNotebookWorkspaceRegenerateAuthToken.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbNotebookWorkspaceRegenerateAuthToken() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Starts the notebook workspace
|
|
17
17
|
*
|
|
18
18
|
* @summary Starts the notebook workspace
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBNotebookWorkspaceStart.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbNotebookWorkspaceStart() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Lists all of the available Cosmos DB Resource Provider operations.
|
|
17
17
|
*
|
|
18
18
|
* @summary Lists all of the available Cosmos DB Resource Provider operations.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBOperationsList.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbOperationsList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Retrieves the metrics determined by the given filter for the given partition key range id.
|
|
17
17
|
*
|
|
18
18
|
* @summary Retrieves the metrics determined by the given filter for the given partition key range id.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPKeyRangeIdGetMetrics.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbDatabaseAccountRegionGetMetrics() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Retrieves the metrics determined by the given filter for the given partition key range id and region.
|
|
17
17
|
*
|
|
18
18
|
* @summary Retrieves the metrics determined by the given filter for the given partition key range id and region.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPKeyRangeIdRegionGetMetrics.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbDatabaseAccountRegionGetMetrics() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Retrieves the metrics determined by the given filter for the given database account. This url is only for PBS and Replication Latency data
|
|
17
17
|
*
|
|
18
18
|
* @summary Retrieves the metrics determined by the given filter for the given database account. This url is only for PBS and Replication Latency data
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPercentileGetMetrics.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbDatabaseAccountRegionGetMetrics() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Retrieves the metrics determined by the given filter for the given account, source and target region. This url is only for PBS and Replication Latency data
|
|
17
17
|
*
|
|
18
18
|
* @summary Retrieves the metrics determined by the given filter for the given account, source and target region. This url is only for PBS and Replication Latency data
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPercentileSourceTargetGetMetrics.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbDatabaseAccountRegionGetMetrics() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Retrieves the metrics determined by the given filter for the given account target region. This url is only for PBS and Replication Latency data
|
|
17
17
|
*
|
|
18
18
|
* @summary Retrieves the metrics determined by the given filter for the given account target region. This url is only for PBS and Replication Latency data
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPercentileTargetGetMetrics.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbDatabaseAccountRegionGetMetrics() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Approve or reject a private endpoint connection with a given name.
|
|
17
17
|
*
|
|
18
18
|
* @summary Approve or reject a private endpoint connection with a given name.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPrivateEndpointConnectionUpdate.json
|
|
20
20
|
*/
|
|
21
21
|
function approveOrRejectAPrivateEndpointConnectionWithAGivenName() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Deletes a private endpoint connection with a given name.
|
|
17
17
|
*
|
|
18
18
|
* @summary Deletes a private endpoint connection with a given name.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPrivateEndpointConnectionDelete.json
|
|
20
20
|
*/
|
|
21
21
|
function deletesAPrivateEndpointConnectionWithAGivenName() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets a private endpoint connection.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets a private endpoint connection.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPrivateEndpointConnectionGet.json
|
|
20
20
|
*/
|
|
21
21
|
function getsPrivateEndpointConnection() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List all private endpoint connections on a Cosmos DB account.
|
|
17
17
|
*
|
|
18
18
|
* @summary List all private endpoint connections on a Cosmos DB account.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPrivateEndpointConnectionListGet.json
|
|
20
20
|
*/
|
|
21
21
|
function getsPrivateEndpointConnection() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets the private link resources that need to be created for a Cosmos DB account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the private link resources that need to be created for a Cosmos DB account.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPrivateLinkResourceGet.json
|
|
20
20
|
*/
|
|
21
21
|
function getsPrivateEndpointConnection() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets the private link resources that need to be created for a Cosmos DB account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the private link resources that need to be created for a Cosmos DB account.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPrivateLinkResourceListGet.json
|
|
20
20
|
*/
|
|
21
21
|
function getsPrivateEndpointConnection() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Retrieves the properties of an existing Azure Cosmos DB restorable database account. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/*' permission.
|
|
17
17
|
*
|
|
18
18
|
* @summary Retrieves the properties of an existing Azure Cosmos DB restorable database account. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/*' permission.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableDatabaseAccountGet.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbRestorableDatabaseAccountGet() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Lists all the restorable Azure Cosmos DB database accounts available under the subscription and in a region. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission.
|
|
17
17
|
*
|
|
18
18
|
* @summary Lists all the restorable Azure Cosmos DB database accounts available under the subscription and in a region. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableDatabaseAccountList.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbRestorableDatabaseAccountList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Lists all the restorable Azure Cosmos DB database accounts available under the subscription. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission.
|
|
17
17
|
*
|
|
18
18
|
* @summary Lists all the restorable Azure Cosmos DB database accounts available under the subscription. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableDatabaseAccountNoLocationList.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbRestorableDatabaseAccountNoLocationList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission
|
|
17
17
|
*
|
|
18
18
|
* @summary Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableGremlinDatabaseList.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbRestorableGremlinDatabaseList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission
|
|
17
17
|
*
|
|
18
18
|
* @summary Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableGremlinGraphList.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbRestorableGremlinGraphList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission.
|
|
17
17
|
*
|
|
18
18
|
* @summary Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableGremlinResourceList.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbRestorableGremlinResourceList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB collections under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission
|
|
17
17
|
*
|
|
18
18
|
* @summary Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB collections under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableMongodbCollectionList.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbRestorableMongodbCollectionList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission
|
|
17
17
|
*
|
|
18
18
|
* @summary Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableMongodbDatabaseList.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbRestorableMongodbDatabaseList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Return a list of database and collection combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission.
|
|
17
17
|
*
|
|
18
18
|
* @summary Return a list of database and collection combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableMongodbResourceList.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbRestorableMongodbResourceList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB SQL containers under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission
|
|
17
17
|
*
|
|
18
18
|
* @summary Show the event feed of all mutations done on all the Azure Cosmos DB SQL containers under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableSqlContainerList.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbRestorableSqlContainerList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB SQL databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission
|
|
17
17
|
*
|
|
18
18
|
* @summary Show the event feed of all mutations done on all the Azure Cosmos DB SQL databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableSqlDatabaseList.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbRestorableSqlDatabaseList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Return a list of database and container combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission.
|
|
17
17
|
*
|
|
18
18
|
* @summary Return a list of database and container combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableSqlResourceList.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbRestorableSqlResourceList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Return a list of tables that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission.
|
|
17
17
|
*
|
|
18
18
|
* @summary Return a list of tables that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableTableResourceList.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbRestorableTableResourceList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Show the event feed of all mutations done on all the Azure Cosmos DB Tables. This helps in scenario where table was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission
|
|
17
17
|
*
|
|
18
18
|
* @summary Show the event feed of all mutations done on all the Azure Cosmos DB Tables. This helps in scenario where table was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableTableList.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbRestorableTableList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Creates a service.
|
|
17
17
|
*
|
|
18
18
|
* @summary Creates a service.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDataTransferServiceCreate.json
|
|
20
20
|
*/
|
|
21
21
|
function dataTransferServiceCreate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -41,7 +41,7 @@ function dataTransferServiceCreate() {
|
|
|
41
41
|
* This sample demonstrates how to Creates a service.
|
|
42
42
|
*
|
|
43
43
|
* @summary Creates a service.
|
|
44
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
44
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGraphAPIComputeServiceCreate.json
|
|
45
45
|
*/
|
|
46
46
|
function graphApiComputeServiceCreate() {
|
|
47
47
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -66,7 +66,7 @@ function graphApiComputeServiceCreate() {
|
|
|
66
66
|
* This sample demonstrates how to Creates a service.
|
|
67
67
|
*
|
|
68
68
|
* @summary Creates a service.
|
|
69
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
69
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMaterializedViewsBuilderServiceCreate.json
|
|
70
70
|
*/
|
|
71
71
|
function materializedViewsBuilderServiceCreate() {
|
|
72
72
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -91,7 +91,7 @@ function materializedViewsBuilderServiceCreate() {
|
|
|
91
91
|
* This sample demonstrates how to Creates a service.
|
|
92
92
|
*
|
|
93
93
|
* @summary Creates a service.
|
|
94
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
94
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceCreate.json
|
|
95
95
|
*/
|
|
96
96
|
function sqlDedicatedGatewayServiceCreate() {
|
|
97
97
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Deletes service with the given serviceName.
|
|
17
17
|
*
|
|
18
18
|
* @summary Deletes service with the given serviceName.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDataTransferServiceDelete.json
|
|
20
20
|
*/
|
|
21
21
|
function dataTransferServiceDelete() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -34,7 +34,7 @@ function dataTransferServiceDelete() {
|
|
|
34
34
|
* This sample demonstrates how to Deletes service with the given serviceName.
|
|
35
35
|
*
|
|
36
36
|
* @summary Deletes service with the given serviceName.
|
|
37
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
37
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGraphAPIComputeServiceDelete.json
|
|
38
38
|
*/
|
|
39
39
|
function graphApiComputeServiceDelete() {
|
|
40
40
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -52,7 +52,7 @@ function graphApiComputeServiceDelete() {
|
|
|
52
52
|
* This sample demonstrates how to Deletes service with the given serviceName.
|
|
53
53
|
*
|
|
54
54
|
* @summary Deletes service with the given serviceName.
|
|
55
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
55
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMaterializedViewsBuilderServiceDelete.json
|
|
56
56
|
*/
|
|
57
57
|
function materializedViewsBuilderServiceDelete() {
|
|
58
58
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -70,7 +70,7 @@ function materializedViewsBuilderServiceDelete() {
|
|
|
70
70
|
* This sample demonstrates how to Deletes service with the given serviceName.
|
|
71
71
|
*
|
|
72
72
|
* @summary Deletes service with the given serviceName.
|
|
73
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
73
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceDelete.json
|
|
74
74
|
*/
|
|
75
75
|
function sqlDedicatedGatewayServiceDelete() {
|
|
76
76
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets the status of service.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the status of service.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDataTransferServiceGet.json
|
|
20
20
|
*/
|
|
21
21
|
function dataTransferServiceGet() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -34,7 +34,7 @@ function dataTransferServiceGet() {
|
|
|
34
34
|
* This sample demonstrates how to Gets the status of service.
|
|
35
35
|
*
|
|
36
36
|
* @summary Gets the status of service.
|
|
37
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
37
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGraphAPIComputeServiceGet.json
|
|
38
38
|
*/
|
|
39
39
|
function graphApiComputeServiceGet() {
|
|
40
40
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -52,7 +52,7 @@ function graphApiComputeServiceGet() {
|
|
|
52
52
|
* This sample demonstrates how to Gets the status of service.
|
|
53
53
|
*
|
|
54
54
|
* @summary Gets the status of service.
|
|
55
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
55
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMaterializedViewsBuilderServiceGet.json
|
|
56
56
|
*/
|
|
57
57
|
function materializedViewsBuilderServiceGet() {
|
|
58
58
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -70,7 +70,7 @@ function materializedViewsBuilderServiceGet() {
|
|
|
70
70
|
* This sample demonstrates how to Gets the status of service.
|
|
71
71
|
*
|
|
72
72
|
* @summary Gets the status of service.
|
|
73
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
73
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceGet.json
|
|
74
74
|
*/
|
|
75
75
|
function sqlDedicatedGatewayServiceGet() {
|
|
76
76
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets the status of service.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the status of service.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBServicesList.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbServicesList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell (instead of directly).
|
|
17
17
|
*
|
|
18
18
|
* @summary Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell (instead of directly).
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlClientEncryptionKeyCreateUpdate.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbClientEncryptionKeyCreateUpdate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -35,7 +35,7 @@ function cosmosDbClientEncryptionKeyCreateUpdate() {
|
|
|
35
35
|
algorithm: "RSA-OAEP",
|
|
36
36
|
value: "AzureKeyVault Key URL",
|
|
37
37
|
},
|
|
38
|
-
wrappedDataEncryptionKey: Buffer.from("
|
|
38
|
+
wrappedDataEncryptionKey: Buffer.from("VGhpcyBpcyBhY3R1YWxseSBhbiBhcnJheSBvZiBieXRlcy4gVGhpcyByZXF1ZXN0L3Jlc3BvbnNlIGlzIGJlaW5nIHByZXNlbnRlZCBhcyBhIHN0cmluZyBmb3IgcmVhZGFiaWxpdHkgaW4gdGhlIGV4YW1wbGU="),
|
|
39
39
|
},
|
|
40
40
|
};
|
|
41
41
|
const credential = new DefaultAzureCredential();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sqlResourcesCreateUpdateClientEncryptionKeySample.js","sourceRoot":"","sources":["../../samples-dev/sqlResourcesCreateUpdateClientEncryptionKeySample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,uCAAuC;;QACpD,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,OAAO,CAAC;QAC1E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAI,QAAQ,CAAC;QAC7E,MAAM,WAAW,GAAG,aAAa,CAAC;QAClC,MAAM,YAAY,GAAG,cAAc,CAAC;QACpC,MAAM,uBAAuB,GAAG,SAAS,CAAC;QAC1C,MAAM,yCAAyC,GAC7C;YACE,QAAQ,EAAE;gBACR,mBAAmB,EAAE,8BAA8B;gBACnD,EAAE,EAAE,SAAS;gBACb,eAAe,EAAE;oBACf,IAAI,EAAE,oBAAoB;oBAC1B,IAAI,EAAE,eAAe;oBACrB,SAAS,EAAE,UAAU;oBACrB,KAAK,EAAE,uBAAuB;iBAC/B;gBACD,wBAAwB,EAAE,MAAM,CAAC,IAAI,
|
|
1
|
+
{"version":3,"file":"sqlResourcesCreateUpdateClientEncryptionKeySample.js","sourceRoot":"","sources":["../../samples-dev/sqlResourcesCreateUpdateClientEncryptionKeySample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,uCAAuC;;QACpD,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,OAAO,CAAC;QAC1E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAI,QAAQ,CAAC;QAC7E,MAAM,WAAW,GAAG,aAAa,CAAC;QAClC,MAAM,YAAY,GAAG,cAAc,CAAC;QACpC,MAAM,uBAAuB,GAAG,SAAS,CAAC;QAC1C,MAAM,yCAAyC,GAC7C;YACE,QAAQ,EAAE;gBACR,mBAAmB,EAAE,8BAA8B;gBACnD,EAAE,EAAE,SAAS;gBACb,eAAe,EAAE;oBACf,IAAI,EAAE,oBAAoB;oBAC1B,IAAI,EAAE,eAAe;oBACrB,SAAS,EAAE,UAAU;oBACrB,KAAK,EAAE,uBAAuB;iBAC/B;gBACD,wBAAwB,EAAE,MAAM,CAAC,IAAI,CACnC,kKAAkK,CACnK;aACF;SACF,CAAC;QACJ,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,wBAAwB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACxE,MAAM,MAAM,GACV,MAAM,MAAM,CAAC,YAAY,CAAC,2CAA2C,CACnE,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,uBAAuB,EACvB,yCAAyC,CAC1C,CAAC;QACJ,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,uCAAuC,EAAE,CAAC;IAC5C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Create or update an Azure Cosmos DB SQL container
|
|
17
17
|
*
|
|
18
18
|
* @summary Create or update an Azure Cosmos DB SQL container
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlContainerCreateUpdate.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbSqlContainerCreateUpdate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -74,9 +74,90 @@ function cosmosDbSqlContainerCreateUpdate() {
|
|
|
74
74
|
console.log(result);
|
|
75
75
|
});
|
|
76
76
|
}
|
|
77
|
+
/**
|
|
78
|
+
* This sample demonstrates how to Create or update an Azure Cosmos DB SQL container
|
|
79
|
+
*
|
|
80
|
+
* @summary Create or update an Azure Cosmos DB SQL container
|
|
81
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlContainerRestore.json
|
|
82
|
+
*/
|
|
83
|
+
function cosmosDbSqlContainerRestore() {
|
|
84
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
85
|
+
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
|
86
|
+
const resourceGroupName = process.env["COSMOSDB_RESOURCE_GROUP"] || "rg1";
|
|
87
|
+
const accountName = "ddb1";
|
|
88
|
+
const databaseName = "databaseName";
|
|
89
|
+
const containerName = "containerName";
|
|
90
|
+
const createUpdateSqlContainerParameters = {
|
|
91
|
+
location: "West US",
|
|
92
|
+
options: {},
|
|
93
|
+
resource: {
|
|
94
|
+
createMode: "Restore",
|
|
95
|
+
id: "containerName",
|
|
96
|
+
restoreParameters: {
|
|
97
|
+
restoreSource: "/subscriptions/subid/providers/Microsoft.DocumentDB/locations/WestUS/restorableDatabaseAccounts/restorableDatabaseAccountId",
|
|
98
|
+
restoreTimestampInUtc: new Date("2022-07-20T18:28:00Z"),
|
|
99
|
+
restoreWithTtlDisabled: true,
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
tags: {},
|
|
103
|
+
};
|
|
104
|
+
const credential = new DefaultAzureCredential();
|
|
105
|
+
const client = new CosmosDBManagementClient(credential, subscriptionId);
|
|
106
|
+
const result = yield client.sqlResources.beginCreateUpdateSqlContainerAndWait(resourceGroupName, accountName, databaseName, containerName, createUpdateSqlContainerParameters);
|
|
107
|
+
console.log(result);
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* This sample demonstrates how to Create or update an Azure Cosmos DB SQL container
|
|
112
|
+
*
|
|
113
|
+
* @summary Create or update an Azure Cosmos DB SQL container
|
|
114
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlMaterializedViewCreateUpdate.json
|
|
115
|
+
*/
|
|
116
|
+
function cosmosDbSqlMaterializedViewCreateUpdate() {
|
|
117
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
118
|
+
const subscriptionId = process.env["COSMOSDB_SUBSCRIPTION_ID"] || "subid";
|
|
119
|
+
const resourceGroupName = process.env["COSMOSDB_RESOURCE_GROUP"] || "rg1";
|
|
120
|
+
const accountName = "ddb1";
|
|
121
|
+
const databaseName = "databaseName";
|
|
122
|
+
const containerName = "mvContainerName";
|
|
123
|
+
const createUpdateSqlContainerParameters = {
|
|
124
|
+
location: "West US",
|
|
125
|
+
options: {},
|
|
126
|
+
resource: {
|
|
127
|
+
id: "mvContainerName",
|
|
128
|
+
indexingPolicy: {
|
|
129
|
+
automatic: true,
|
|
130
|
+
excludedPaths: [],
|
|
131
|
+
includedPaths: [
|
|
132
|
+
{
|
|
133
|
+
path: "/*",
|
|
134
|
+
indexes: [
|
|
135
|
+
{ dataType: "String", kind: "Range", precision: -1 },
|
|
136
|
+
{ dataType: "Number", kind: "Range", precision: -1 },
|
|
137
|
+
],
|
|
138
|
+
},
|
|
139
|
+
],
|
|
140
|
+
indexingMode: "consistent",
|
|
141
|
+
},
|
|
142
|
+
materializedViewDefinition: {
|
|
143
|
+
definition: "select * from ROOT",
|
|
144
|
+
sourceCollectionId: "sourceContainerName",
|
|
145
|
+
},
|
|
146
|
+
partitionKey: { kind: "Hash", paths: ["/mvpk"] },
|
|
147
|
+
},
|
|
148
|
+
tags: {},
|
|
149
|
+
};
|
|
150
|
+
const credential = new DefaultAzureCredential();
|
|
151
|
+
const client = new CosmosDBManagementClient(credential, subscriptionId);
|
|
152
|
+
const result = yield client.sqlResources.beginCreateUpdateSqlContainerAndWait(resourceGroupName, accountName, databaseName, containerName, createUpdateSqlContainerParameters);
|
|
153
|
+
console.log(result);
|
|
154
|
+
});
|
|
155
|
+
}
|
|
77
156
|
function main() {
|
|
78
157
|
return __awaiter(this, void 0, void 0, function* () {
|
|
79
158
|
cosmosDbSqlContainerCreateUpdate();
|
|
159
|
+
cosmosDbSqlContainerRestore();
|
|
160
|
+
cosmosDbSqlMaterializedViewCreateUpdate();
|
|
80
161
|
});
|
|
81
162
|
}
|
|
82
163
|
main().catch(console.error);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sqlResourcesCreateUpdateSqlContainerSample.js","sourceRoot":"","sources":["../../samples-dev/sqlResourcesCreateUpdateSqlContainerSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,gCAAgC;;QAC7C,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,OAAO,CAAC;QAC1E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAI,KAAK,CAAC;QAC1E,MAAM,WAAW,GAAG,MAAM,CAAC;QAC3B,MAAM,YAAY,GAAG,cAAc,CAAC;QACpC,MAAM,aAAa,GAAG,eAAe,CAAC;QACtC,MAAM,kCAAkC,GACtC;YACE,QAAQ,EAAE,SAAS;YACnB,OAAO,EAAE,EAAE;YACX,QAAQ,EAAE;gBACR,sBAAsB,EAAE;oBACtB,aAAa,EAAE;wBACb;4BACE,IAAI,EAAE,OAAO;4BACb,qBAAqB,EAAE,OAAO;4BAC9B,mBAAmB,EAAE,8BAA8B;4BACnD,cAAc,EAAE,eAAe;yBAChC;qBACF;oBACD,mBAAmB,EAAE,CAAC;iBACvB;gBACD,kBAAkB,EAAE;oBAClB,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,mCAAmC,EAAE;iBACrE;gBACD,wBAAwB,EAAE;oBACxB,sBAAsB,EAAE,OAAO;oBAC/B,IAAI,EAAE,gBAAgB;iBACvB;gBACD,UAAU,EAAE,GAAG;gBACf,EAAE,EAAE,eAAe;gBACnB,cAAc,EAAE;oBACd,SAAS,EAAE,IAAI;oBACf,aAAa,EAAE,EAAE;oBACjB,aAAa,EAAE;wBACb;4BACE,IAAI,EAAE,IAAI;4BACV,OAAO,EAAE;gCACP,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,CAAC,EAAE;gCACpD,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,CAAC,EAAE;6BACrD;yBACF;qBACF;oBACD,YAAY,EAAE,YAAY;iBAC3B;gBACD,YAAY,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,gBAAgB,CAAC,EAAE;gBACzD,eAAe,EAAE,EAAE,UAAU,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC,EAAE;aAC5D;YACD,IAAI,EAAE,EAAE;SACT,CAAC;QACJ,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,wBAAwB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACxE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,oCAAoC,CAC3E,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,aAAa,EACb,kCAAkC,CACnC,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,gCAAgC,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"sqlResourcesCreateUpdateSqlContainerSample.js","sourceRoot":"","sources":["../../samples-dev/sqlResourcesCreateUpdateSqlContainerSample.ts"],"names":[],"mappings":"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"}
|