Class ClusterHealth
Describes the current health of a cluster.
Namespace: Neon.Kube
Assembly: Neon.Kube.dll
Syntax
public class ClusterHealth
Constructors
ClusterHealth()
Default constructor.
Declaration
public ClusterHealth()
Properties
Nodes
Maps node names to their provisioning states.
Declaration
[JsonProperty(PropertyName = "Nodes", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
public Dictionary<string, ClusterNodeState> Nodes { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, ClusterNodeState> |
State
The cluster health state.
Declaration
[JsonProperty(PropertyName = "State", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
public ClusterState State { get; set; }
Property Value
Type | Description |
---|---|
ClusterState |
Summary
Human readable text summarizing the cluster health state.
Declaration
[JsonProperty(PropertyName = "Summary", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
public string Summary { get; set; }
Property Value
Type | Description |
---|---|
string |
Version
The NEONKUBE version of the cluster or "0" when the version is not known. This is formatted as a SemanticVersion.
Declaration
[JsonProperty(PropertyName = "Version", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
public string Version { get; set; }
Property Value
Type | Description |
---|---|
string |