public final class ScaleRuleInner extends Object
| Constructor and Description |
|---|
ScaleRuleInner() |
| Modifier and Type | Method and Description |
|---|---|
MetricTrigger |
metricTrigger()
Get the metricTrigger property: the trigger that results in a scaling action.
|
ScaleAction |
scaleAction()
Get the scaleAction property: the parameters for the scaling action.
|
void |
validate()
Validates the instance.
|
ScaleRuleInner |
withMetricTrigger(MetricTrigger metricTrigger)
Set the metricTrigger property: the trigger that results in a scaling action.
|
ScaleRuleInner |
withScaleAction(ScaleAction scaleAction)
Set the scaleAction property: the parameters for the scaling action.
|
public MetricTrigger metricTrigger()
public ScaleRuleInner withMetricTrigger(MetricTrigger metricTrigger)
metricTrigger - the metricTrigger value to set.public ScaleAction scaleAction()
public ScaleRuleInner withScaleAction(ScaleAction scaleAction)
scaleAction - the scaleAction value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.