StatelessServicePartitionInfo Class
Information about a partition of a stateless Service Fabric service.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.servicefabric.models._models_py3.ServicePartitionInfoStatelessServicePartitionInfo
Constructor
StatelessServicePartitionInfo(*, health_state=None, partition_status=None, partition_information=None, instance_count: Optional[int] = None, min_instance_count: Optional[int] = None, min_instance_percentage: Optional[int] = 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.
- instance_count
- <xref:long>
Number of instances of this partition.
- min_instance_count
- int
MinInstanceCount is the minimum number of instances that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node. The actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ). Note, if InstanceCount is set to -1, during MinInstanceCount computation -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service.
- min_instance_percentage
- int
MinInstancePercentage is the minimum percentage of InstanceCount that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node. The actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ). Note, if InstanceCount is set to -1, during MinInstancePercentage computation, -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service.
Feedback
Submit and view feedback for