Class HealthStatus
Namespace: Consul
Assembly: Consul.dll
The status of a health check
public class HealthStatus : IEquatable<HealthStatus>
Inheritance
Implements
Inherited Members
object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()
Fields
NodeMaintenance
public const string NodeMaintenance = "_node_maintenance"
Field Value
ServiceMaintenancePrefix
public const string ServiceMaintenancePrefix = "_service_maintenance:"
Field Value
Properties
Any
public static HealthStatus Any { get; }
Property Value
Critical
public static HealthStatus Critical { get; }
Property Value
Maintenance
public static HealthStatus Maintenance { get; }
Property Value
Passing
public static HealthStatus Passing { get; }
Property Value
Status
public string Status { get; }
Property Value
Warning
public static HealthStatus Warning { get; }
Property Value
Methods
Equals(HealthStatus)
public bool Equals(HealthStatus other)
Parameters
other
HealthStatus
Returns
Equals(object)
public override bool Equals(object other)
Parameters
other
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
Parse(string)
public static HealthStatus Parse(string status)
Parameters
status
string