Dela via


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.

Properties

ApplicationTypeHealthPolicyMap

Gets the map with MaxPercentUnhealthyApplications per application type name.

ConsiderWarningAsError

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

MaxPercentUnhealthyApplications

Gets or sets the maximum allowed percentage of unhealthy applications.

MaxPercentUnhealthyNodes

Gets or sets the maximum allowed percentage of unhealthy nodes.

NodeTypeHealthPolicyMap

Gets the map with MaxPercentUnhealthyNodes per node type name.

Methods

ToString()

Gets a string representation of the cluster health policy.

Applies to