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.
List of azure regions to be used as preferred locations for read requests.
Request timeout (time to wait for response from network peer). Represented in milliseconds.
RetryOptions object 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.