Table of Contents

Class ConsulOptions

Namespace
Steeltoe.Discovery.Consul
Assembly
Steeltoe.Discovery.Consul.dll

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

string

Properties

Datacenter

Gets or sets the data center to use

public string Datacenter { get; set; }

Property Value

string

Host

Gets or sets the host address of the Consul server, default localhost

public string Host { get; set; }

Property Value

string

Password

Gets or sets password to use

public string Password { get; set; }

Property Value

string

Port

Gets or sets the port number used for the Consul server, default 8500

public int Port { get; set; }

Property Value

int

Scheme

Gets or sets the scheme used for the Consul server, default http

public string Scheme { get; set; }

Property Value

string

Token

Gets or sets the access token to use

public string Token { get; set; }

Property Value

string

Username

Gets or sets the user name to use

public string Username { get; set; }

Property Value

string

WaitTime

Gets or sets the wait time to use

public string WaitTime { get; set; }

Property Value

string