@azure/arm-cosmosdb 16.0.1-alpha.20241023.1 → 16.1.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 +12 -9
- package/dist/index.js +161 -94
- 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 +1 -1
- package/dist-esm/samples-dev/cassandraClustersDeallocateSample.js +1 -1
- package/dist-esm/samples-dev/cassandraClustersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/cassandraClustersGetSample.js +1 -1
- package/dist-esm/samples-dev/cassandraClustersInvokeCommandSample.js +1 -1
- package/dist-esm/samples-dev/cassandraClustersListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/cassandraClustersListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/cassandraClustersStartSample.js +1 -1
- package/dist-esm/samples-dev/cassandraClustersStatusSample.js +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 +1 -1
- package/dist-esm/samples-dev/cassandraResourcesDeleteCassandraKeyspaceSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesDeleteCassandraTableSample.js +1 -1
- 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/cassandraResourcesListCassandraKeyspacesSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesListCassandraTablesSample.js +1 -1
- 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/cassandraResourcesUpdateCassandraKeyspaceThroughputSample.js +1 -1
- package/dist-esm/samples-dev/cassandraResourcesUpdateCassandraTableThroughputSample.js +1 -1
- 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/databaseAccountRegionListMetricsSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsCheckNameExistsSample.js +1 -1
- package/dist-esm/samples-dev/databaseAccountsCreateOrUpdateSample.js +4 -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 +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/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 +1 -1
- package/dist-esm/samples-dev/mongoDbResourcesCreateUpdateMongoDbdatabaseSample.js +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/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/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/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 +1 -1
- package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlContainerSample.js +1 -1
- package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlDatabaseSample.js +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/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/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/src/cosmosDBManagementClient.js +2 -2
- package/dist-esm/src/models/index.d.ts +55 -16
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +2 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +2 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +79 -15
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/src/operations/cassandraClusters.js +10 -10
- package/dist-esm/src/operations/cassandraClusters.js.map +1 -1
- package/dist-esm/src/operations/cassandraDataCenters.js +5 -5
- package/dist-esm/src/operations/cassandraDataCenters.js.map +1 -1
- package/dist-esm/src/operations/cassandraResources.js +4 -4
- package/dist-esm/src/operations/cassandraResources.js.map +1 -1
- package/dist-esm/src/operations/gremlinResources.js +5 -5
- package/dist-esm/src/operations/gremlinResources.js.map +1 -1
- package/dist-esm/src/operations/locations.js +2 -2
- package/dist-esm/src/operations/locations.js.map +1 -1
- package/dist-esm/src/operations/mongoDBResources.js +14 -14
- package/dist-esm/src/operations/mongoDBResources.js.map +1 -1
- package/dist-esm/src/operations/restorableDatabaseAccounts.js +3 -3
- package/dist-esm/src/operations/restorableDatabaseAccounts.js.map +1 -1
- package/dist-esm/src/operations/restorableGremlinDatabases.js +1 -1
- package/dist-esm/src/operations/restorableGremlinDatabases.js.map +1 -1
- package/dist-esm/src/operations/restorableGremlinGraphs.js +1 -1
- package/dist-esm/src/operations/restorableGremlinGraphs.js.map +1 -1
- package/dist-esm/src/operations/restorableGremlinResources.js +1 -1
- package/dist-esm/src/operations/restorableGremlinResources.js.map +1 -1
- package/dist-esm/src/operations/restorableMongodbCollections.js +1 -1
- package/dist-esm/src/operations/restorableMongodbCollections.js.map +1 -1
- package/dist-esm/src/operations/restorableMongodbDatabases.js +1 -1
- package/dist-esm/src/operations/restorableMongodbDatabases.js.map +1 -1
- package/dist-esm/src/operations/restorableMongodbResources.js +1 -1
- package/dist-esm/src/operations/restorableMongodbResources.js.map +1 -1
- package/dist-esm/src/operations/restorableSqlContainers.js +1 -1
- package/dist-esm/src/operations/restorableSqlContainers.js.map +1 -1
- package/dist-esm/src/operations/restorableSqlDatabases.js +1 -1
- package/dist-esm/src/operations/restorableSqlDatabases.js.map +1 -1
- package/dist-esm/src/operations/restorableSqlResources.js +1 -1
- package/dist-esm/src/operations/restorableSqlResources.js.map +1 -1
- package/dist-esm/src/operations/restorableTableResources.js +1 -1
- package/dist-esm/src/operations/restorableTableResources.js.map +1 -1
- package/dist-esm/src/operations/restorableTables.js +1 -1
- package/dist-esm/src/operations/restorableTables.js.map +1 -1
- package/dist-esm/src/operations/service.js +4 -4
- package/dist-esm/src/operations/service.js.map +1 -1
- package/dist-esm/src/operations/sqlResources.js +14 -14
- package/dist-esm/src/operations/sqlResources.js.map +1 -1
- package/dist-esm/src/operations/tableResources.js +3 -3
- package/dist-esm/src/operations/tableResources.js.map +1 -1
- package/dist-esm/test/cosmosdb_cassandra_examples.js +1 -1
- package/dist-esm/test/cosmosdb_cassandra_examples.js.map +1 -1
- package/dist-esm/test/cosmosdb_examples.js +1 -1
- package/dist-esm/test/cosmosdb_examples.js.map +1 -1
- package/dist-esm/test/cosmosdb_mongodb_examples.js +1 -1
- package/dist-esm/test/cosmosdb_mongodb_examples.js.map +1 -1
- package/package.json +5 -8
- package/review/arm-cosmosdb.api.md +18 -7
- package/src/cosmosDBManagementClient.ts +2 -2
- package/src/models/index.ts +56 -16
- package/src/models/mappers.ts +81 -16
- package/src/models/parameters.ts +1 -1
- package/src/operations/cassandraClusters.ts +10 -10
- package/src/operations/cassandraDataCenters.ts +5 -5
- package/src/operations/cassandraResources.ts +4 -4
- package/src/operations/gremlinResources.ts +5 -5
- package/src/operations/locations.ts +2 -2
- package/src/operations/mongoDBResources.ts +14 -14
- package/src/operations/restorableDatabaseAccounts.ts +3 -3
- package/src/operations/restorableGremlinDatabases.ts +1 -1
- package/src/operations/restorableGremlinGraphs.ts +1 -1
- package/src/operations/restorableGremlinResources.ts +1 -1
- package/src/operations/restorableMongodbCollections.ts +1 -1
- package/src/operations/restorableMongodbDatabases.ts +1 -1
- package/src/operations/restorableMongodbResources.ts +1 -1
- package/src/operations/restorableSqlContainers.ts +1 -1
- package/src/operations/restorableSqlDatabases.ts +1 -1
- package/src/operations/restorableSqlResources.ts +1 -1
- package/src/operations/restorableTableResources.ts +1 -1
- package/src/operations/restorableTables.ts +1 -1
- package/src/operations/service.ts +4 -4
- package/src/operations/sqlResources.ts +14 -14
- package/src/operations/tableResources.ts +3 -3
- package/types/arm-cosmosdb.d.ts +57 -17
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Deletes an existing Azure Cosmos DB SQL trigger.
|
|
17
17
|
*
|
|
18
18
|
* @summary Deletes an existing Azure Cosmos DB SQL trigger.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlTriggerDelete.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbSqlTriggerDelete() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Deletes an existing Azure Cosmos DB SQL userDefinedFunction.
|
|
17
17
|
*
|
|
18
18
|
* @summary Deletes an existing Azure Cosmos DB SQL userDefinedFunction.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlUserDefinedFunctionDelete.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbSqlUserDefinedFunctionDelete() {
|
|
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 ClientEncryptionKey under an existing Azure Cosmos DB SQL database.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlClientEncryptionKeyGet.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbClientEncryptionKeyGet() {
|
|
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 SQL container under an existing Azure Cosmos DB database account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the SQL container under an existing Azure Cosmos DB database account.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerGet.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbSqlContainerGet() {
|
|
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 RUs per second of the SQL container under an existing Azure Cosmos DB database account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerThroughputGet.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbSqlContainerThroughputGet() {
|
|
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 SQL database under an existing Azure Cosmos DB database account with the provided name.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the SQL database under an existing Azure Cosmos DB database account with the provided name.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseGet.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbSqlDatabaseGet() {
|
|
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 RUs per second of the SQL database under an existing Azure Cosmos DB database account with the provided name.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the provided name.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseThroughputGet.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbSqlDatabaseThroughputGet() {
|
|
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 SQL Role Assignment with the given Id.
|
|
17
17
|
*
|
|
18
18
|
* @summary Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleAssignmentGet.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbSqlRoleAssignmentGet() {
|
|
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 SQL Role Definition with the given Id.
|
|
17
17
|
*
|
|
18
18
|
* @summary Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleDefinitionGet.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbSqlRoleDefinitionGet() {
|
|
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 SQL storedProcedure under an existing Azure Cosmos DB database account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the SQL storedProcedure under an existing Azure Cosmos DB database account.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlStoredProcedureGet.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbSqlStoredProcedureGet() {
|
|
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 SQL trigger under an existing Azure Cosmos DB database account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the SQL trigger under an existing Azure Cosmos DB database account.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlTriggerGet.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbSqlTriggerGet() {
|
|
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 SQL userDefinedFunction under an existing Azure Cosmos DB database account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlUserDefinedFunctionGet.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbSqlUserDefinedFunctionGet() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database.
|
|
17
17
|
*
|
|
18
18
|
* @summary Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlClientEncryptionKeysList.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbClientEncryptionKeysList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Lists the SQL container under an existing Azure Cosmos DB database account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Lists the SQL container under an existing Azure Cosmos DB database account.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerList.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbSqlContainerList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Lists the SQL databases under an existing Azure Cosmos DB database account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Lists the SQL databases under an existing Azure Cosmos DB database account.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseList.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbSqlDatabaseList() {
|
|
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 list of all Azure Cosmos DB SQL Role Assignments.
|
|
17
17
|
*
|
|
18
18
|
* @summary Retrieves the list of all Azure Cosmos DB SQL Role Assignments.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleAssignmentList.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbSqlRoleAssignmentList() {
|
|
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 list of all Azure Cosmos DB SQL Role Definitions.
|
|
17
17
|
*
|
|
18
18
|
* @summary Retrieves the list of all Azure Cosmos DB SQL Role Definitions.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleDefinitionList.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbSqlRoleDefinitionList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Lists the SQL storedProcedure under an existing Azure Cosmos DB database account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Lists the SQL storedProcedure under an existing Azure Cosmos DB database account.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlStoredProcedureList.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbSqlStoredProcedureList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Lists the SQL trigger under an existing Azure Cosmos DB database account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Lists the SQL trigger under an existing Azure Cosmos DB database account.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlTriggerList.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbSqlTriggerList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Lists the SQL userDefinedFunction under an existing Azure Cosmos DB database account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Lists the SQL userDefinedFunction under an existing Azure Cosmos DB database account.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlUserDefinedFunctionList.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbSqlUserDefinedFunctionList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Migrate an Azure Cosmos DB SQL container from manual throughput to autoscale
|
|
17
17
|
*
|
|
18
18
|
* @summary Migrate an Azure Cosmos DB SQL container from manual throughput to autoscale
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerMigrateToAutoscale.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbSqlContainerMigrateToAutoscale() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput
|
|
17
17
|
*
|
|
18
18
|
* @summary Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerMigrateToManualThroughput.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbSqlContainerMigrateToManualThroughput() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Migrate an Azure Cosmos DB SQL database from manual throughput to autoscale
|
|
17
17
|
*
|
|
18
18
|
* @summary Migrate an Azure Cosmos DB SQL database from manual throughput to autoscale
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseMigrateToAutoscale.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbSqlDatabaseMigrateToAutoscale() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Migrate an Azure Cosmos DB SQL database from autoscale to manual throughput
|
|
17
17
|
*
|
|
18
18
|
* @summary Migrate an Azure Cosmos DB SQL database from autoscale to manual throughput
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseMigrateToManualThroughput.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbSqlDatabaseMigrateToManualThroughput() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Retrieves continuous backup information for a container resource.
|
|
17
17
|
*
|
|
18
18
|
* @summary Retrieves continuous backup information for a container resource.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerBackupInformation.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbSqlContainerBackupInformation() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Update RUs per second of an Azure Cosmos DB SQL container
|
|
17
17
|
*
|
|
18
18
|
* @summary Update RUs per second of an Azure Cosmos DB SQL container
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerThroughputUpdate.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbSqlContainerThroughputUpdate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Update RUs per second of an Azure Cosmos DB SQL database
|
|
17
17
|
*
|
|
18
18
|
* @summary Update RUs per second of an Azure Cosmos DB SQL database
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseThroughputUpdate.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbSqlDatabaseThroughputUpdate() {
|
|
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 an Azure Cosmos DB Table
|
|
17
17
|
*
|
|
18
18
|
* @summary Create or update an Azure Cosmos DB Table
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableCreateUpdate.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbTableReplace() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Deletes an existing Azure Cosmos DB Table.
|
|
17
17
|
*
|
|
18
18
|
* @summary Deletes an existing Azure Cosmos DB Table.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableDelete.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbTableDelete() {
|
|
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 Tables under an existing Azure Cosmos DB database account with the provided name.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the Tables under an existing Azure Cosmos DB database account with the provided name.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableGet.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbTableGet() {
|
|
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 RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableThroughputGet.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbTableThroughputGet() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Lists the Tables under an existing Azure Cosmos DB database account.
|
|
17
17
|
*
|
|
18
18
|
* @summary Lists the Tables under an existing Azure Cosmos DB database account.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableList.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbTableList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Migrate an Azure Cosmos DB Table from manual throughput to autoscale
|
|
17
17
|
*
|
|
18
18
|
* @summary Migrate an Azure Cosmos DB Table from manual throughput to autoscale
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableMigrateToAutoscale.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbTableMigrateToAutoscale() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Migrate an Azure Cosmos DB Table from autoscale to manual throughput
|
|
17
17
|
*
|
|
18
18
|
* @summary Migrate an Azure Cosmos DB Table from autoscale to manual throughput
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableMigrateToManualThroughput.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbTableMigrateToManualThroughput() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Retrieves continuous backup information for a table.
|
|
17
17
|
*
|
|
18
18
|
* @summary Retrieves continuous backup information for a table.
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableBackupInformation.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbTableCollectionBackupInformation() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Update RUs per second of an Azure Cosmos DB Table
|
|
17
17
|
*
|
|
18
18
|
* @summary Update RUs per second of an Azure Cosmos DB Table
|
|
19
|
-
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-
|
|
19
|
+
* x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableThroughputUpdate.json
|
|
20
20
|
*/
|
|
21
21
|
function cosmosDbTableThroughputUpdate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -32,7 +32,7 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
|
|
|
32
32
|
requestContentType: "application/json; charset=utf-8",
|
|
33
33
|
credential: credentials,
|
|
34
34
|
};
|
|
35
|
-
const packageDetails = `azsdk-js-arm-cosmosdb/16.0
|
|
35
|
+
const packageDetails = `azsdk-js-arm-cosmosdb/16.1.0`;
|
|
36
36
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
37
37
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
38
38
|
: `${packageDetails}`;
|
|
@@ -65,7 +65,7 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
|
|
|
65
65
|
this.subscriptionId = subscriptionId;
|
|
66
66
|
// Assigning values to Constant parameters
|
|
67
67
|
this.$host = options.$host || "https://management.azure.com";
|
|
68
|
-
this.apiVersion = options.apiVersion || "2024-
|
|
68
|
+
this.apiVersion = options.apiVersion || "2024-08-15";
|
|
69
69
|
this.databaseAccounts = new DatabaseAccountsImpl(this);
|
|
70
70
|
this.operations = new OperationsImpl(this);
|
|
71
71
|
this.database = new DatabaseImpl(this);
|
|
@@ -131,7 +131,7 @@ export interface Resource {
|
|
|
131
131
|
readonly type?: string;
|
|
132
132
|
}
|
|
133
133
|
export interface ApiProperties {
|
|
134
|
-
/** Describes the
|
|
134
|
+
/** Describes the version of the MongoDB account. */
|
|
135
135
|
serverVersion?: ServerVersion;
|
|
136
136
|
}
|
|
137
137
|
/** Analytical storage specific properties. */
|
|
@@ -159,6 +159,8 @@ export interface RestoreParametersBase {
|
|
|
159
159
|
restoreSource?: string;
|
|
160
160
|
/** Time to which the account has to be restored (ISO-8601 format). */
|
|
161
161
|
restoreTimestampInUtc?: Date;
|
|
162
|
+
/** Specifies whether the restored account will have Time-To-Live disabled upon the successful restore. */
|
|
163
|
+
restoreWithTtlDisabled?: boolean;
|
|
162
164
|
}
|
|
163
165
|
/** The object representing the policy for taking backups on an account. */
|
|
164
166
|
export interface BackupPolicy {
|
|
@@ -331,7 +333,7 @@ export interface DatabaseAccountUpdateParameters {
|
|
|
331
333
|
enablePartitionMerge?: boolean;
|
|
332
334
|
/** Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2. */
|
|
333
335
|
minimalTlsVersion?: MinimalTlsVersion;
|
|
334
|
-
/** Flag to indicate enabling/disabling of Burst Capacity
|
|
336
|
+
/** Flag to indicate enabling/disabling of Burst Capacity feature on the account */
|
|
335
337
|
enableBurstCapacity?: boolean;
|
|
336
338
|
/** Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. */
|
|
337
339
|
customerManagedKeyStatus?: string;
|
|
@@ -395,12 +397,51 @@ export interface RegionForOnlineOffline {
|
|
|
395
397
|
/** Cosmos DB region, with spaces between words and each word capitalized. */
|
|
396
398
|
region: string;
|
|
397
399
|
}
|
|
398
|
-
/**
|
|
400
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
399
401
|
export interface ErrorResponse {
|
|
400
|
-
/**
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
402
|
+
/** The error object. */
|
|
403
|
+
error?: ErrorDetail;
|
|
404
|
+
}
|
|
405
|
+
/** The error detail. */
|
|
406
|
+
export interface ErrorDetail {
|
|
407
|
+
/**
|
|
408
|
+
* The error code.
|
|
409
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
410
|
+
*/
|
|
411
|
+
readonly code?: string;
|
|
412
|
+
/**
|
|
413
|
+
* The error message.
|
|
414
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
415
|
+
*/
|
|
416
|
+
readonly message?: string;
|
|
417
|
+
/**
|
|
418
|
+
* The error target.
|
|
419
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
420
|
+
*/
|
|
421
|
+
readonly target?: string;
|
|
422
|
+
/**
|
|
423
|
+
* The error details.
|
|
424
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
425
|
+
*/
|
|
426
|
+
readonly details?: ErrorDetail[];
|
|
427
|
+
/**
|
|
428
|
+
* The error additional info.
|
|
429
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
430
|
+
*/
|
|
431
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
432
|
+
}
|
|
433
|
+
/** The resource management error additional info. */
|
|
434
|
+
export interface ErrorAdditionalInfo {
|
|
435
|
+
/**
|
|
436
|
+
* The additional info type.
|
|
437
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
438
|
+
*/
|
|
439
|
+
readonly type?: string;
|
|
440
|
+
/**
|
|
441
|
+
* The additional info.
|
|
442
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
443
|
+
*/
|
|
444
|
+
readonly info?: Record<string, unknown>;
|
|
404
445
|
}
|
|
405
446
|
/** Parameters to regenerate the keys within the database account. */
|
|
406
447
|
export interface DatabaseAccountRegenerateKeyParameters {
|
|
@@ -765,11 +806,6 @@ export interface ThroughputPolicyResource {
|
|
|
765
806
|
/** Represents the percentage by which throughput can increase every time throughput policy kicks in. */
|
|
766
807
|
incrementPercent?: number;
|
|
767
808
|
}
|
|
768
|
-
/** An error response from the service. */
|
|
769
|
-
export interface CloudError {
|
|
770
|
-
/** Error Response. */
|
|
771
|
-
error?: ErrorResponse;
|
|
772
|
-
}
|
|
773
809
|
/** The List operation response, that contains the containers and their properties. */
|
|
774
810
|
export interface SqlContainerListResult {
|
|
775
811
|
/**
|
|
@@ -2556,7 +2592,7 @@ export interface DatabaseAccountGetResults extends ARMResourceProperties {
|
|
|
2556
2592
|
enablePartitionMerge?: boolean;
|
|
2557
2593
|
/** Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2. */
|
|
2558
2594
|
minimalTlsVersion?: MinimalTlsVersion;
|
|
2559
|
-
/** Flag to indicate enabling/disabling of Burst Capacity
|
|
2595
|
+
/** Flag to indicate enabling/disabling of Burst Capacity feature on the account */
|
|
2560
2596
|
enableBurstCapacity?: boolean;
|
|
2561
2597
|
/** Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. */
|
|
2562
2598
|
customerManagedKeyStatus?: string;
|
|
@@ -2630,7 +2666,7 @@ export interface DatabaseAccountCreateUpdateParameters extends ARMResourceProper
|
|
|
2630
2666
|
enablePartitionMerge?: boolean;
|
|
2631
2667
|
/** Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2. */
|
|
2632
2668
|
minimalTlsVersion?: MinimalTlsVersion;
|
|
2633
|
-
/** Flag to indicate enabling/disabling of Burst Capacity
|
|
2669
|
+
/** Flag to indicate enabling/disabling of Burst Capacity feature on the account */
|
|
2634
2670
|
enableBurstCapacity?: boolean;
|
|
2635
2671
|
/** Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. */
|
|
2636
2672
|
customerManagedKeyStatus?: string;
|
|
@@ -3622,7 +3658,9 @@ export declare enum KnownServerVersion {
|
|
|
3622
3658
|
/** Five0 */
|
|
3623
3659
|
Five0 = "5.0",
|
|
3624
3660
|
/** Six0 */
|
|
3625
|
-
Six0 = "6.0"
|
|
3661
|
+
Six0 = "6.0",
|
|
3662
|
+
/** Seven0 */
|
|
3663
|
+
Seven0 = "7.0"
|
|
3626
3664
|
}
|
|
3627
3665
|
/**
|
|
3628
3666
|
* Defines values for ServerVersion. \
|
|
@@ -3634,7 +3672,8 @@ export declare enum KnownServerVersion {
|
|
|
3634
3672
|
* **4.0** \
|
|
3635
3673
|
* **4.2** \
|
|
3636
3674
|
* **5.0** \
|
|
3637
|
-
* **6.0**
|
|
3675
|
+
* **6.0** \
|
|
3676
|
+
* **7.0**
|
|
3638
3677
|
*/
|
|
3639
3678
|
export type ServerVersion = string;
|
|
3640
3679
|
/** Known values of {@link AnalyticalStorageSchemaType} that the service accepts. */
|