public interface ScaleRule extends HasInner<com.microsoft.azure.management.monitor.implementation.ScaleRuleInner>, HasParent<AutoscaleProfile>
Modifier and Type | Interface and Description |
---|---|
static interface |
ScaleRule.Definition
The entirety of an autoscale profile scale rule definition.
|
static interface |
ScaleRule.DefinitionStages
Grouping of autoscale profile scale rule definition stages.
|
static interface |
ScaleRule.ParentUpdateDefinition
The entirety of an autoscale profile scale rule definition during parent Autoscale Profile definition in Autoscale Settings update stage.
|
static interface |
ScaleRule.ParentUpdateDefinitionStages
Grouping of autoscale profile scale rule definition stages during definition of Autoscale Profile in the Autoscale update stage.
|
static interface |
ScaleRule.Update
Grouping of scale rule update stages.
|
static interface |
ScaleRule.UpdateDefinition
The entirety of an autoscale profile scale rule definition during parent Autoscale Profile update in Autoscale Settings update stage.
|
static interface |
ScaleRule.UpdateDefinitionStages
Grouping of autoscale profile scale rule definition stages during update of Autoscale Profile in the Autoscale update stage.
|
Modifier and Type | Method and Description |
---|---|
ComparisonOperationType |
condition()
Get the operator that is used to compare the metric data and the threshold.
|
org.joda.time.Period |
coolDown()
Get the amount of time to wait since the last scaling action before this action occurs.
|
org.joda.time.Period |
duration()
Get the range of time in which instance data is collected.
|
org.joda.time.Period |
frequency()
Get the granularity of metrics the rule monitors.
|
MetricStatisticType |
frequencyStatistic()
Get the metric statistic type.
|
String |
metricName()
Get the name of the metric that defines what the rule monitors.
|
String |
metricSource()
Get the resource identifier of the resource the rule monitors.
|
ScaleDirection |
scaleDirection()
Get the scale direction.
|
int |
scaleInstanceCount()
Get the number of instances that are involved in the scaling action.
|
ScaleType |
scaleType()
Get the type of action that should occur when the scale rule fires.
|
double |
threshold()
Get the threshold of the metric that triggers the scale action.
|
TimeAggregationType |
timeAggregation()
Get the time aggregation type.
|
String metricSource()
String metricName()
org.joda.time.Period duration()
org.joda.time.Period frequency()
MetricStatisticType frequencyStatistic()
ComparisonOperationType condition()
TimeAggregationType timeAggregation()
double threshold()
ScaleDirection scaleDirection()
ScaleType scaleType()
int scaleInstanceCount()
org.joda.time.Period coolDown()
Copyright © 2019. All rights reserved.