ClusterHealthPolicy.MaxPercentUnhealthyApplications Property

Definition

Gets or sets the maximum allowed percentage of unhealthy applications.

public byte MaxPercentUnhealthyApplications { get; set; }
member this.MaxPercentUnhealthyApplications : byte with get, set
Public Property MaxPercentUnhealthyApplications As Byte

Property Value

The maximum allowed percentage of unhealthy applications. Allowed values are integer values from zero to 100.

Exceptions

The specified value was outside the range of integer values from zero to 100.

Remarks

The percentage represents the maximum tolerated percentage of applications that can be unhealthy before the cluster is considered in error. If the percentage is respected but there is at least one unhealthy application, the health is evaluated as Warning. This is calculated by dividing the number of unhealthy applications over the total number of applications deployed in the cluster, excluding all applications of application types that are included in the ApplicationTypeHealthPolicyMap. The computation rounds up to tolerate one failure on small numbers of applications. Default percentage: zero.

Applies to