ServiceHealthEvaluation Class

Represents health evaluation for a service, containing information about the data and the algorithm used by health store to evaluate health. The evaluation is returned only when 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
ServiceHealthEvaluation

Constructor

ServiceHealthEvaluation(*, aggregated_health_state=None, description: Optional[str] = None, service_name: Optional[str] = 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_name
str
Required

Name of the service whose health evaluation is described by this object.

unhealthy_evaluations
list[HealthEvaluationWrapper]
Required

List of unhealthy evaluations that led to the current aggregated health state of the service. The types of the unhealthy evaluations can be PartitionsHealthEvaluation or EventHealthEvaluation.