ClusterHealthPolicy Class

Definition

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

public class ClusterHealthPolicy
type ClusterHealthPolicy = class
Public Class ClusterHealthPolicy
Inheritance
ClusterHealthPolicy

Constructors

ClusterHealthPolicy()

Initializes a new instance of the ClusterHealthPolicy class.

ClusterHealthPolicy(Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the ClusterHealthPolicy class.

Properties

MaxPercentUnhealthyApplications

Gets or sets the maximum allowed percentage of unhealthy applications before reporting an error. For example, to allow 10% of applications to be unhealthy, this value would be 10.

MaxPercentUnhealthyNodes

Gets or sets the maximum allowed percentage of unhealthy nodes before reporting an error. For example, to allow 10% of nodes to be unhealthy, this value would be 10.

Methods

Validate()

Validate the object.

Applies to