ApplicationHealthPolicy Class
Definition
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
ApplicationHealthPolicy() |
Initializes a new instance of the ApplicationHealthPolicy class. |
Properties
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
ToString() |
Gets a string representation of the application health policy. |