FabricUpgradeUpdateDescription.ApplicationHealthPolicyMap Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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; set; }
member this.ApplicationHealthPolicyMap : System.Fabric.Health.ApplicationHealthPolicyMap with get, set
Public 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 null by default, which means that the update doesn't apply to previously set application health policies. To update the application health policies, first create the map then add entries for desired applications.
Applies to
Azure SDK for .NET