Share via


ClusterHealthPolicy Class

 

Applies To: Azure, Windows 10, Windows 8, Windows 8.1, Windows Server 2012 R2

Defines a health policy used to evaluate the health of the cluster or of a cluster node.

Namespace:   System.Fabric.Health
Assembly:  System.Fabric (in System.Fabric.dll)

Inheritance Hierarchy

System.Object
  System.Fabric.Health.ClusterHealthPolicy

Syntax

public class ClusterHealthPolicy

Constructors

Name Description
System_CAPS_pubmethod ClusterHealthPolicy()

Initializes a new instance of the ClusterHealthPolicy class.

Properties

Name Description
System_CAPS_pubproperty ApplicationTypeHealthPolicyMap

Gets the map with MaxPercentUnhealthyApplications per application type name.

System_CAPS_pubproperty ConsiderWarningAsError

Gets or sets a Boolean that determines whether reports with warning state should be treated with the same severity as errors.

System_CAPS_pubproperty MaxPercentUnhealthyApplications

Gets or sets the maximum allowed percentage of unhealthy applications.

System_CAPS_pubproperty MaxPercentUnhealthyNodes

Gets or sets the maximum allowed percentage of unhealthy nodes.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

Gets a string representation of the cluster health policy. (Overrides Object.ToString().)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Fabric.Health Namespace

Return to top