Class ConsulOptions
Configuration options to use in creating a Consul client. See the documentation of the Consul client for more details
public class ConsulOptions
- Inheritance
-
ConsulOptions
- Inherited Members
Fields
CONSUL_CONFIGURATION_PREFIX
public const string CONSUL_CONFIGURATION_PREFIX = "consul"
Field Value
Properties
Datacenter
Gets or sets the data center to use
public string Datacenter { get; set; }
Property Value
Host
Gets or sets the host address of the Consul server, default localhost
public string Host { get; set; }
Property Value
Password
Gets or sets password to use
public string Password { get; set; }
Property Value
Port
Gets or sets the port number used for the Consul server, default 8500
public int Port { get; set; }
Property Value
Scheme
Gets or sets the scheme used for the Consul server, default http
public string Scheme { get; set; }
Property Value
Token
Gets or sets the access token to use
public string Token { get; set; }
Property Value
Username
Gets or sets the user name to use
public string Username { get; set; }
Property Value
WaitTime
Gets or sets the wait time to use
public string WaitTime { get; set; }