Determines which mode to connect to Cosmos with. (Currently only supports Gateway option)
Flag to disable SSL verification for the requests. SSL verification is enabled by default. Don't set this when targeting production endpoints. This is intended to be used only when targeting emulator endpoint to avoid failing your requests with SSL related error.
Flag to enable/disable automatic redirecting of requests based on read/write operations.
Attachment content (aka media) download mode. Should be one of the values of MediaReadMode
Time to wait for response from network peer for attachment content (aka media) operations. Represented in milliseconds.
List of azure regions to be used as preferred locations for read requests.
Http/Https proxy url
Request timeout (time to wait for response from network peer). Represented in milliseconds.
RetryOptions instance which defines several configurable properties used during retry.
The flag that enables writes on any locations (regions) for geo-replicated database accounts in the Azure Cosmos DB service.
Default is false.
Generated using TypeDoc
Represents the Connection policy associated with a CosmosClient in the Azure Cosmos DB database service.