StatelessServiceInstanceHealth Class
Represents the health of the stateless service instance. Contains the instance aggregated health state, the health events and the unhealthy evaluations.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.servicefabric.models._models_py3.ReplicaHealthStatelessServiceInstanceHealth
Constructor
StatelessServiceInstanceHealth(*, aggregated_health_state=None, health_events=None, unhealthy_evaluations=None, health_statistics=None, partition_id: Optional[str] = None, instance_id: Optional[str] = None, **kwargs)
Parameters
- aggregated_health_state
- str or HealthState
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'
- unhealthy_evaluations
- list[HealthEvaluationWrapper]
The unhealthy evaluations that show why the current aggregated health state was returned by Health Manager.
- health_statistics
- HealthStatistics
Shows the health statistics for all children types of the queried entity.
- instance_id
- str
Id of a stateless service instance. InstanceId is used by Service Fabric to uniquely identify an instance of a partition of a stateless service. It is unique within a partition and does not change for the lifetime of the instance. If the instance has failed over on the same or different node, it will get a different value for the InstanceId.
Feedback
Submit and view feedback for