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.servicefabric.models._models_py3.ScalingMechanismDescription
AddRemoveIncrementalNamedPartitionScalingMechanism

Constructor

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

Parameters

kind
str
Required

Required. Constant filled by server.

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.