Package | Description |
---|---|
com.microsoft.azure.management.monitor |
This package contains the classes for MonitorManagementClient.
|
Modifier and Type | Method and Description |
---|---|
ScaleRule.Update |
AutoscaleProfile.Update.updateScaleRule(int ruleIndex)
Starts the update of the scale rule for the current autoscale profile.
|
ScaleRule.Update |
ScaleRule.Update.withCondition(TimeAggregationType timeAggregation,
ComparisonOperationType condition,
double threshold)
Updates the condition to monitor for the current metric alert.
|
ScaleRule.Update |
ScaleRule.Update.withMetricName(String metricName)
the name of the metric that defines what the rule monitors.
|
ScaleRule.Update |
ScaleRule.Update.withMetricSource(String metricSourceResourceId)
Updates the resource identifier of the resource the rule monitors.
|
ScaleRule.Update |
ScaleRule.Update.withScaleAction(ScaleDirection direction,
ScaleType type,
int instanceCountChange,
org.joda.time.Period cooldown)
Updates the action to be performed when the scale rule will be active.
|
ScaleRule.Update |
ScaleRule.Update.withStatistic()
Sets statistics for autoscale trigger action with default values of 10 minutes for duration, 1 minute for frequency(time grain) and 'Average' for statistic type.
|
ScaleRule.Update |
ScaleRule.Update.withStatistic(org.joda.time.Period duration)
Sets statistics for autoscale trigger action with default values of 1 minute for frequency(time grain) and 'Average' for statistic type.
|
ScaleRule.Update |
ScaleRule.Update.withStatistic(org.joda.time.Period duration,
MetricStatisticType statisticType)
Sets statistics for autoscale trigger action with default values of 1 minute for frequency(time grain).
|
ScaleRule.Update |
ScaleRule.Update.withStatistic(org.joda.time.Period duration,
org.joda.time.Period frequency,
MetricStatisticType statisticType)
Updates the statistics for autoscale trigger action.
|
Copyright © 2019. All rights reserved.