Share via


ServiceTypeHealthPolicy.MaxPercentUnhealthyServices Property

Definition

Gets or sets the maximum allowed percentage of unhealthy services.

The percentage represents the maximum tolerated percentage of services that can be unhealthy before the application is considered in error. If the percentage is respected but there is at least one unhealthy service, the health is evaluated as Warning. This is calculated by dividing the number of unhealthy services of the specific service type over the total number of services of the specific service type. The computation rounds up to tolerate one failure on small numbers of services.

[Newtonsoft.Json.JsonProperty(PropertyName="maxPercentUnhealthyServices")]
public int MaxPercentUnhealthyServices { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="maxPercentUnhealthyServices")>]
member this.MaxPercentUnhealthyServices : int with get, set
Public Property MaxPercentUnhealthyServices As Integer

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to