StatefulServiceReplicaHealth Class

Represents the health of the stateful service replica. Contains the replica 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.ReplicaHealth
StatefulServiceReplicaHealth

Constructor

StatefulServiceReplicaHealth(*, aggregated_health_state=None, health_events=None, unhealthy_evaluations=None, health_statistics=None, partition_id: Optional[str] = None, replica_id: Optional[str] = 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.

partition_id
str
Required

Id of the partition to which this replica belongs.

service_kind
str
Required

Required. Constant filled by server.

replica_id
str
Required

Id of a stateful service replica. ReplicaId is used by Service Fabric to uniquely identify a replica of a partition. It is unique within a partition and does not change for the lifetime of the replica. If a replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the id. Sometimes the id of a stateless service instance is also referred as a replica id.