AverageLoadScalingTrigger Class

Describes the average load trigger used for auto scaling.

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

Inheritance
azure.servicefabric.models._models_py3.AutoScalingTrigger
AverageLoadScalingTrigger

Constructor

AverageLoadScalingTrigger(*, metric, lower_load_threshold: float, upper_load_threshold: float, scale_interval_in_seconds: int, **kwargs)

Parameters

kind
str
Required

Required. Constant filled by server.

metric
AutoScalingMetric
Required

Required. Description of the metric that is used for scaling.

lower_load_threshold
float
Required

Required. Lower load threshold (if average load is below this threshold, service will scale down).

upper_load_threshold
float
Required

Required. Upper load threshold (if average load is above this threshold, service will scale up).

scale_interval_in_seconds
int
Required

Required. Scale interval that indicates how often will this trigger be checked.