diff --git a/Consul/Agent.cs b/Consul/Agent.cs
index 0ea4673..e8945b9 100644
--- a/Consul/Agent.cs
+++ b/Consul/Agent.cs
@@ -142,6 +142,18 @@ public class AgentService
public string Address { get; set; }
public bool EnableTagOverride { get; set; }
}
+
+ ///
+ /// AgentMemberStatus is the state that a member is in
+ ///
+ public enum AgentMemberStatus
+ {
+ None = 0,
+ Alive,
+ Leaving,
+ Left,
+ Failed
+ }
///
/// AgentMember represents a cluster member known to the agent
@@ -152,7 +164,7 @@ public class AgentMember
public string Addr { get; set; }
public ushort Port { get; set; }
public Dictionary Tags { get; set; }
- public int Status { get; set; }
+ public AgentMemberStatus Status { get; set; }
public byte ProtocolMin { get; set; }
public byte ProtocolMax { get; set; }
public byte ProtocolCur { get; set; }