Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ClusterHealthPolicy Class

Definition

Namespace:
System.Fabric.Health
Assembly:
System.Fabric.dll
Package:
Microsoft.ServiceFabric v11.4.268

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Name Description
ClusterHealthPolicy()

Initializes a new instance of the ClusterHealthPolicy class.

Properties

Name Description
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

Name Description
ToString()

Gets a string representation of the cluster health policy.

Applies to


Feedback

Was this page helpful?