| Name | Type | Description |
|---|---|---|
endpoint* | str | The CosmosDB endpoint URL. |
key | str | None | Default: NoneThe CosmosDB access key. If omitted, uses AsyncDefaultAzureCredential. |
database_name* | str | Name of the CosmosDB database. |
container_name* | str | |
serde | SerializerProtocol | None | Default: None |
cosmos_client_kwargs | dict[str, Any] | None | Default: None |
Create a CosmosDBCache from explicit connection info.
Name of the CosmosDB container.
Optional custom serializer.
Additional keyword arguments passed to
the CosmosClient constructor (e.g. retry_options).