CosmosDBManagementClient Class

Azure Cosmos DB Database Service Resource Provider REST API.

Inheritance
builtins.object
CosmosDBManagementClient

Constructor

CosmosDBManagementClient(credential: AsyncTokenCredential, subscription_id: str, base_url: str = 'https://management.azure.com', **kwargs: Any)

Parameters

Name Description
credential
Required

Credential needed for the client to connect to Azure. Required.

subscription_id
Required
str

The ID of the target subscription. Required.

base_url
str

Service URL. Default value is "https://management.azure.com".

Default value: https://management.azure.com

Keyword-Only Parameters

Name Description
api_version
str

Api Version. Default value is "2024-08-15". Note that overriding this default value may result in unsupported behavior.

polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Variables

Name Description
database_accounts

DatabaseAccountsOperations operations

operations

Operations operations

database

DatabaseOperations operations

collection

CollectionOperations operations

collection_region

CollectionRegionOperations operations

database_account_region

DatabaseAccountRegionOperations operations

percentile_source_target

PercentileSourceTargetOperations operations

percentile_target

PercentileTargetOperations operations

percentile

PercentileOperations operations

collection_partition_region

CollectionPartitionRegionOperations operations

collection_partition

CollectionPartitionOperations operations

partition_key_range_id

PartitionKeyRangeIdOperations operations

partition_key_range_id_region

PartitionKeyRangeIdRegionOperations operations

sql_resources

SqlResourcesOperations operations

mongo_db_resources

MongoDBResourcesOperations operations

table_resources

TableResourcesOperations operations

cassandra_resources

CassandraResourcesOperations operations

gremlin_resources

GremlinResourcesOperations operations

locations

LocationsOperations operations

cassandra_clusters

CassandraClustersOperations operations

cassandra_data_centers

CassandraDataCentersOperations operations

notebook_workspaces

NotebookWorkspacesOperations operations

private_endpoint_connections

PrivateEndpointConnectionsOperations operations

private_link_resources

PrivateLinkResourcesOperations operations

restorable_database_accounts

RestorableDatabaseAccountsOperations operations

restorable_sql_databases

RestorableSqlDatabasesOperations operations

restorable_sql_containers

RestorableSqlContainersOperations operations

restorable_sql_resources

RestorableSqlResourcesOperations operations

restorable_mongodb_databases

RestorableMongodbDatabasesOperations operations

restorable_mongodb_collections

RestorableMongodbCollectionsOperations operations

restorable_mongodb_resources

RestorableMongodbResourcesOperations operations

restorable_gremlin_databases

RestorableGremlinDatabasesOperations operations

restorable_gremlin_graphs

RestorableGremlinGraphsOperations operations

restorable_gremlin_resources

RestorableGremlinResourcesOperations operations

restorable_tables

RestorableTablesOperations operations

restorable_table_resources

RestorableTableResourcesOperations operations

service

ServiceOperations operations

Methods

close

close

async close() -> None