Class RaftServer
Namespace: Consul
Assembly: Consul.dll
RaftServer has information about a server in the Raft configuration.
public class RaftServer
Inheritance
Inherited Members
object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()
Properties
Address
Address is the IP:port of the server, used for Raft communications.
public string Address { get; set; }
Property Value
ID
ID is the unique ID for the server. These are currently the same as the address, but they will be changed to a real GUID in a future release of Consul.
public string ID { get; set; }
Property Value
Leader
Leader is true if this server is the current cluster leader.
public bool Leader { get; set; }
Property Value
Node
Node is the node name of the server, as known by Consul, or this will be set to "(unknown)" otherwise.
public string Node { get; set; }
Property Value
Voter
Voter is true if this server has a vote in the cluster. This might be false if the server is staging and still coming online, or if it's a non-voting server, which will be added in a future release of Consul
public bool Voter { get; set; }