MonitoredRollingFabricUpgradePolicyDescription.ApplicationHealthPolicyMap Property

Definition

Gets or sets the application health policies used to evaluate the applications health as part of the cluster health evaluation.

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

Property Value

The application health policies used to evaluate the health of the specified applications.

Remarks

During cluster upgrade, the health of the cluster is evaluated to determine whether the cluster is still healthy. As part of the cluster health evaluation, all applications are evaluated and aggregated in the cluster health. The application health policy map is used to evaluate the applications as part of the cluster evaluation.

Each entry specifies as key the application name and as value an ApplicationHealthPolicy used to evaluate the application health of that application.

If an application is not specified in the map, the ApplicationHealthPolicy found in the application manifest will be used for evaluation.

The custom application health policies are also used to evaluate cluster health during upgrade, through GetClusterHealthAsync(ClusterHealthQueryDescription, TimeSpan, CancellationToken) or GetClusterHealthChunkAsync(ClusterHealthChunkQueryDescription, TimeSpan, CancellationToken).

The map is empty by default.

Applies to