azure.mgmt.cosmosdb package

Submodules

Module contents

class azure.mgmt.cosmosdb.CosmosDBManagementClient(credential: TokenCredential, subscription_id: str, base_url: str | None = None, **kwargs: Any)[source]

Bases: object

Azure Cosmos DB Database Service Resource Provider REST API.

Variables:
Parameters:
  • credential (TokenCredential) – Credential needed for the client to connect to Azure. Required.

  • subscription_id (str) – The ID of the target subscription. Required.

  • base_url (str) – Service URL. Default value is None.

Keyword Arguments:
  • api_version (str) – Api Version. Default value is “2025-04-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.

close() None[source]