StatefulServiceReplicaInfo Class
Represents a stateful service replica. This includes information about the identity, role, status, health, node name, uptime, and other details about the replica.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.servicefabric.models._models_py3.ReplicaInfoStatefulServiceReplicaInfo
Constructor
StatefulServiceReplicaInfo(*, replica_status=None, health_state=None, node_name: Optional[str] = None, address: Optional[str] = None, last_in_build_duration_in_seconds: Optional[str] = None, replica_role=None, replica_id: Optional[str] = None, **kwargs)
Parameters
- replica_status
- str or ReplicaStatus
The status of a replica of a service. Possible values include: 'Invalid', 'InBuild', 'Standby', 'Ready', 'Down', 'Dropped'
- health_state
- str or HealthState
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'
- last_in_build_duration_in_seconds
- str
The last in build duration of the replica in seconds.
- replica_role
- str or ReplicaRole
The role of a replica of a stateful service. Possible values include: 'Unknown', 'None', 'Primary', 'IdleSecondary', 'ActiveSecondary', 'IdleAuxiliary', 'ActiveAuxiliary', 'PrimaryAuxiliary'
- replica_id
- str
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