The ClientOptions type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ClientOptions(CosmosUri, ICredentials) |
Initialize ClientOptions to access specified VC with credentials
| |
ClientOptions(CosmosUri, X509Certificate) |
Initialize ClientOptions to access specified VC with certificate
|
Methods
Name | Description | |
---|---|---|
Dispose |
Close connection group associates with this object.
|
Fields
Name | Description | |
---|---|---|
AlwaysUseVIP |
To route all request through VIP.
Default is false.
| |
AppendAttemptCount |
Number of attempts to the Append Method before VcClient fails the method
Append, AppendFile, LogAppend, Upload and UploadWithBlockBoundaries use this setting
Default is 3
| |
Certificate |
Certificate used for authentication.
| |
Credentials |
Credentials used for authentication.
| |
DefaultCompressionLevel |
Compression level for Mehtod Upload, Append, AppendFile, LogAppend, LogAppendFile
Default is CompressionLevel.Gzip
| |
MinDataSizeForGzip |
Minimum size (in Bytes) of sending data required to compress
using Gzip when compression is set to true.
Default is 32 * 1024 (32 KB)
| |
Proxy |
Proxy for requests.
Using default proxy by default.
| |
RequestTimeout |
Request timeout for every request sent to Cosmos Front End servers
Default is 150 seconds
| |
VcName |
Virtual Cluster Name
|
Properties
Name | Description | |
---|---|---|
MaxConcurrentTasksForUploadOrDownload |
Number of threads that will be used for the VC.Upload and VC.Download methods
| |
PhysicalRedirectionEnabled |
Specifies that VcClient must cache and use the URL returned by the Cosmos Front End servers
to optimize connections to the proper Cosmos cluster
|