ReplicaEvent Class
Represents the base for all Replica Events.
You probably want to use the sub-classes and not this class directly. Known sub-classes are: StatefulReplicaNewHealthReportEvent, StatefulReplicaHealthReportExpiredEvent, StatelessReplicaNewHealthReportEvent, StatelessReplicaHealthReportExpiredEvent, ChaosReplicaRemovalScheduledEvent, ChaosReplicaRestartScheduledEvent
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.servicefabric.models._models_py3.FabricEventReplicaEvent
Constructor
ReplicaEvent(*, event_instance_id: str, time_stamp, partition_id: str, replica_id: int, category: Optional[str] = None, has_correlated_events: Optional[bool] = None, **kwargs)
Parameters
- partition_id
- str
Required. An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition ID is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the IDs of its partitions would be different.
- replica_id
- <xref:long>
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.
Feedback
Submit and view feedback for