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

ConfigurationUpgradeDescription.ApplicationHealthPolicies 属性

定义

获取或设置用于在群集运行状况评估过程中评估应用程序运行状况的应用程序运行状况策略。

public System.Fabric.Health.ApplicationHealthPolicyMap ApplicationHealthPolicies { get; }
member this.ApplicationHealthPolicies : System.Fabric.Health.ApplicationHealthPolicyMap
Public ReadOnly Property ApplicationHealthPolicies As ApplicationHealthPolicyMap

属性值

用于评估指定应用程序的运行状况的应用程序运行状况策略。

注解

在群集升级期间,会评估群集的运行状况,以确定群集是否仍然正常。 作为群集运行状况评估的一部分,所有应用程序都会在群集运行状况中进行评估和聚合。 应用程序运行状况策略映射用于在群集评估过程中评估应用程序。

每个条目将应用程序名称指定为键,将指定为值, ApplicationHealthPolicy 用于评估该应用程序的应用程序运行状况。

如果未在映射中指定应用程序,则将使用应用程序清单中找到的 ApplicationHealthPolicy 进行评估。

自定义应用程序运行状况策略还用于在升级期间通过 GetClusterHealthAsync(ClusterHealthQueryDescription, TimeSpan, CancellationToken)GetClusterHealthChunkAsync(ClusterHealthChunkQueryDescription, TimeSpan, CancellationToken)评估群集运行状况。

映射默认为空。

适用于