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.ServicePartitionInfo
StatelessServicePartitionInfo

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
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_status
str or ServicePartitionStatus
Required

The status of the service fabric service partition. Possible values include: 'Invalid', 'Ready', 'NotReady', 'InQuorumLoss', 'Reconfiguring', 'Deleting'

partition_information
PartitionInformation
Required

Information about the partition identity, partitioning scheme and keys supported by it.

service_kind
str
Required

Required. Constant filled by server.

instance_count
<xref:long>
Required

Number of instances of this partition.

min_instance_count
int
Required

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
Required

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.