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 Azure.

Inheritance
ScaleRule

Constructor

ScaleRule(*, metric_trigger: azure.mgmt.monitor.v2021_05_01_preview.models._models_py3.MetricTrigger, scale_action: azure.mgmt.monitor.v2021_05_01_preview.models._models_py3.ScaleAction, **kwargs)

Variables

metric_trigger
<xref:$>(<xref:python-base-namespace>)MetricTrigger

Required. the trigger that results in a scaling action.

scale_action
<xref:$>(<xref:python-base-namespace>)ScaleAction

Required. the parameters for the scaling action.