ScaleRule Class

A rule that provide the triggers and parameters for the scaling action.

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

Constructor

ScaleRule(*, metric_trigger: _models.MetricTrigger, scale_action: _models.ScaleAction, **kwargs: Any)

Keyword-Only Parameters

Name Description
metric_trigger

the trigger that results in a scaling action. Required.

scale_action

the parameters for the scaling action. Required.

Variables

Name Description
metric_trigger

the trigger that results in a scaling action. Required.

scale_action

the parameters for the scaling action. Required.