Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ApplicationHealthPolicy Class

Definition

Namespace:
System.Fabric.Health
Assembly:
System.Fabric.dll
Package:
Microsoft.ServiceFabric v11.4.268

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.

Defines a health policy used to evaluate the health of a Service Fabric application or one of its children entities.

public class ApplicationHealthPolicy
type ApplicationHealthPolicy = class
Public Class ApplicationHealthPolicy
Inheritance
ApplicationHealthPolicy

Constructors

Name Description
ApplicationHealthPolicy()

Initializes a new instance of the ApplicationHealthPolicy class.

Properties

Name Description
ConsiderWarningAsError

Gets or sets a Boolean that determines whether�reports with warning state should be treated with the same severity as errors.

DefaultServiceTypeHealthPolicy

Gets or sets the health policy used by default to evaluate the health of a service type.

MaxPercentUnhealthyDeployedApplications

Gets or sets the maximum allowed percentage of unhealthy deployed applications.

ServiceTypeHealthPolicyMap

Gets or sets the map with ServiceTypeHealthPolicy per service type name.

Methods

Name Description
ToString()

Gets a string representation of the application health policy.

Applies to


Feedback

Was this page helpful?