AddRemoveIncrementalNamedPartitionScalingMechanism Class

Represents a scaling mechanism for adding or removing named partitions of a stateless service. Partition names are in the format '0','1'...'N-1'.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.servicefabricmanagedclusters.models._models_py3.ScalingMechanism
AddRemoveIncrementalNamedPartitionScalingMechanism

Constructor

AddRemoveIncrementalNamedPartitionScalingMechanism(*, min_partition_count: int, max_partition_count: int, scale_increment: int, **kwargs)

Parameters

kind
str or <xref:service_fabric_managed_clusters_management_client.models.ServiceScalingMechanismKind>
Required

Required. Specifies the mechanism associated with this scaling policy.Constant filled by server. Possible values include: "ScalePartitionInstanceCount", "AddRemoveIncrementalNamedPartition".

min_partition_count
int
Required

Required. Minimum number of named partitions of the service.

max_partition_count
int
Required

Required. Maximum number of named partitions of the service.

scale_increment
int
Required

Required. The number of instances to add or remove during a scaling operation.