Uses of Interface
com.azure.resourcemanager.monitor.models.ScaleRule.Update
Packages that use ScaleRule.Update
Package
Description
Package containing the data models for MonitorClient.
-
Uses of ScaleRule.Update in com.azure.resourcemanager.monitor.models
Methods in com.azure.resourcemanager.monitor.models that return ScaleRule.UpdateModifier and TypeMethodDescriptionAutoscaleProfile.Update.updateScaleRule
(int ruleIndex) Starts the update of the scale rule for the current autoscale profile.ScaleRule.Update.withCondition
(TimeAggregationType timeAggregation, ComparisonOperationType condition, double threshold) Updates the condition to monitor for the current metric alert.ScaleRule.Update.withMetricName
(String metricName) the name of the metric that defines what the rule monitors.ScaleRule.Update.withMetricSource
(String metricSourceResourceId) Updates the resource identifier of the resource the rule monitors.ScaleRule.Update.withScaleAction
(ScaleDirection direction, ScaleType type, int instanceCountChange, Duration cooldown) Updates the action to be performed when the scale rule will be active.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.withStatistic
(Duration duration) Sets statistics for autoscale trigger action with default values of 1 minute for frequency(time grain) and 'Average' for statistic type.ScaleRule.Update.withStatistic
(Duration duration, MetricStatisticType statisticType) Sets statistics for autoscale trigger action with default values of 1 minute for frequency(time grain).ScaleRule.Update.withStatistic
(Duration duration, Duration frequency, MetricStatisticType statisticType) Updates the statistics for autoscale trigger action.