AddRemoveReplicaScalingMechanism Class

Describes the horizontal auto scaling mechanism that adds or removes replicas (containers or container groups).

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

Inheritance
azure.servicefabric.models._models_py3.AutoScalingMechanism
AddRemoveReplicaScalingMechanism

Constructor

AddRemoveReplicaScalingMechanism(*, min_count: int, max_count: int, scale_increment: int, **kwargs)

Parameters

kind
str
Required

Required. Constant filled by server.

min_count
int
Required

Required. Minimum number of containers (scale down won't be performed below this number).

max_count
int
Required

Required. Maximum number of containers (scale up won't be performed above this number).

scale_increment
int
Required

Required. Each time auto scaling is performed, this number of containers will be added or removed.