共用方式為


ClusterHealth Class

Definition

Represents the health of the cluster, as returned by GetClusterHealthAsync(ClusterHealthQueryDescription). Contains the cluster aggregated health state, the application health states, the node health states as well as health events, health evaluation, and health statistics.

public sealed class ClusterHealth : System.Fabric.Health.EntityHealth
type ClusterHealth = class
    inherit EntityHealth
Public NotInheritable Class ClusterHealth
Inherits EntityHealth
Inheritance
ClusterHealth

Properties

AggregatedHealthState

Gets the entity aggregated health state.

(Inherited from EntityHealth)
ApplicationHealthStates

Gets the cluster application health states as found in the health store.

HealthEvents

Gets the health events reported on the entity.

(Inherited from EntityHealth)
HealthStatistics

Gets the cluster health statistics, which contain information about how many cluster entities are in Ok, Warning, and Error state.

NodeHealthStates

Gets the cluster node health states as found in the health store.

UnhealthyEvaluations

Gets the unhealthy evaluations that show why the current aggregated health state was returned by Health Manager.

(Inherited from EntityHealth)

Methods

AddUnhealthyEvaluationsString(StringBuilder)

Given a StringBuilder, appends a string that describes unhealthy evaluations, if any.

(Inherited from EntityHealth)
ToString()

Gets a string representation of the ClusterHealth.

Applies to