The ClientOptions type exposes the following members.

Constructors

  NameDescription
Public methodClientOptions(CosmosUri, ICredentials)
Initialize ClientOptions to access specified VC with credentials
Public methodClientOptions(CosmosUri, X509Certificate)
Initialize ClientOptions to access specified VC with certificate

Methods

  NameDescription
Public methodDispose
Close connection group associates with this object.

Fields

  NameDescription
Public fieldAlwaysUseVIP
To route all request through VIP. Default is false.
Public fieldAppendAttemptCount
Number of attempts to the Append Method before VcClient fails the method Append, AppendFile, LogAppend, Upload and UploadWithBlockBoundaries use this setting Default is 3
Public fieldCertificate
Certificate used for authentication.
Public fieldCredentials
Credentials used for authentication.
Public fieldDefaultCompressionLevel
Compression level for Mehtod Upload, Append, AppendFile, LogAppend, LogAppendFile Default is CompressionLevel.Gzip
Public fieldMinDataSizeForGzip
Minimum size (in Bytes) of sending data required to compress using Gzip when compression is set to true. Default is 32 * 1024 (32 KB)
Public fieldProxy
Proxy for requests. Using default proxy by default.
Public fieldRequestTimeout
Request timeout for every request sent to Cosmos Front End servers Default is 150 seconds
Public fieldVcName
Virtual Cluster Name

Properties

  NameDescription
Public propertyMaxConcurrentTasksForUploadOrDownload
Number of threads that will be used for the VC.Upload and VC.Download methods
Public propertyPhysicalRedirectionEnabled
Specifies that VcClient must cache and use the URL returned by the Cosmos Front End servers to optimize connections to the proper Cosmos cluster

See Also