你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ClusterHealthPolicy.MaxPercentUnhealthyApplications 属性

定义

获取或设置报告错误之前允许的最大不正常应用程序百分比。 例如,若要允许 10% 的应用程序处于不正常状态,此值为 10。

该百分比表示在将群集视为出错之前可处于不正常状态的应用程序的最大容许百分比。 如果未超过该百分比,但至少存在一个不正常的应用程序,则将运行状况评估为 Warning。 该百分比的计算方式是将不正常的应用程序数除以群集中的应用程序实例总数,不包括 ApplicationTypeHealthPolicyMap 中包含的应用程序类型的应用程序。 计算结果调高为整数,以便容忍少量应用程序出现一次失败。 默认百分比为零。

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

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

适用于