ServiceHealth Class

Information about the health of a Service Fabric service.

Inheritance
azure.servicefabric.models._models_py3.EntityHealth
ServiceHealth

Constructor

ServiceHealth(*, aggregated_health_state=None, health_events=None, unhealthy_evaluations=None, health_statistics=None, name: Optional[str] = None, partition_health_states=None, **kwargs)

Parameters

aggregated_health_state
str or HealthState
Required

The HealthState representing the aggregated health state of the entity computed by Health Manager. The health evaluation of the entity reflects all events reported on the entity and its children (if any). The aggregation is done by applying the desired health policy. Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'

health_events
list[HealthEvent]
Required

The list of health events reported on the entity.

unhealthy_evaluations
list[HealthEvaluationWrapper]
Required

The unhealthy evaluations that show why the current aggregated health state was returned by Health Manager.

health_statistics
HealthStatistics
Required

Shows the health statistics for all children types of the queried entity.

name
str
Required

The name of the service whose health information is described by this object.

partition_health_states
list[PartitionHealthState]
Required

The list of partition health states associated with the service.