StatefulServiceReplicaHealthState Class

Represents the health state of the stateful service replica, which contains the replica ID and the aggregated health state.

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

Inheritance
azure.servicefabric.models._models_py3.ReplicaHealthState
StatefulServiceReplicaHealthState

Constructor

StatefulServiceReplicaHealthState(*, aggregated_health_state=None, partition_id: Optional[str] = None, replica_id: Optional[str] = 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'

partition_id
str
Required

The 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.