ServicesHealthEvaluation Class

Represents health evaluation for services of a certain service type belonging to an application, containing health evaluations for each unhealthy service that impacted current aggregated health state. Can be returned when evaluating application health and the aggregated health state is either Error or Warning.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.servicefabric.models._models_py3.HealthEvaluation
ServicesHealthEvaluation

Constructor

ServicesHealthEvaluation(*, aggregated_health_state=None, description: Optional[str] = None, service_type_name: Optional[str] = None, max_percent_unhealthy_services: Optional[int] = None, total_count: Optional[int] = None, unhealthy_evaluations=None, **kwargs)

Parameters

aggregated_health_state
str or HealthState
Required

The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'

description
str
Required

Description of the health evaluation, which represents a summary of the evaluation process.

kind
str
Required

Required. Constant filled by server.

service_type_name
str
Required

Name of the service type of the services.

max_percent_unhealthy_services
int
Required

Maximum allowed percentage of unhealthy services from the ServiceTypeHealthPolicy.

total_count
<xref:long>
Required

Total number of services of the current service type in the application from the health store.

unhealthy_evaluations
list[HealthEvaluationWrapper]
Required

List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy ServiceHealthEvaluation that impacted the aggregated health.