StatefulServicePartitionInfo Class
Information about a partition of a stateful Service Fabric service..
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.servicefabric.models._models_py3.ServicePartitionInfoStatefulServicePartitionInfo
Constructor
StatefulServicePartitionInfo(*, health_state=None, partition_status=None, partition_information=None, target_replica_set_size: Optional[int] = None, min_replica_set_size: Optional[int] = None, auxiliary_replica_count: Optional[int] = None, last_quorum_loss_duration=None, primary_epoch=None, **kwargs)
Parameters
- 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'
- partition_status
- str or ServicePartitionStatus
The status of the service fabric service partition. Possible values include: 'Invalid', 'Ready', 'NotReady', 'InQuorumLoss', 'Reconfiguring', 'Deleting'
- partition_information
- PartitionInformation
Information about the partition identity, partitioning scheme and keys supported by it.
- target_replica_set_size
- <xref:long>
The target replica set size as a number.
- min_replica_set_size
- <xref:long>
The minimum replica set size as a number.
- auxiliary_replica_count
- <xref:long>
The auxiliary replica count as a number. To use Auxiliary replicas the following must be true, AuxiliaryReplicaCount < (TargetReplicaSetSize+1)/2 and TargetReplicaSetSize >=3.
- last_quorum_loss_duration
- <xref:timedelta>
The duration for which this partition was in quorum loss. If the partition is currently in quorum loss, it returns the duration since it has been in that state. This field is using ISO8601 format for specifying the duration.
- primary_epoch
- Epoch
An Epoch is a configuration number for the partition as a whole. When the configuration of the replica set changes, for example when the Primary replica changes, the operations that are replicated from the new Primary replica are said to be a new Epoch from the ones which were sent by the old Primary replica.
Feedback
Submit and view feedback for