Uses of Class
com.microsoft.azure.management.monitor.MetricTrigger
Package
Description
This package contains the classes for MonitorManagementClient.
-
Uses of MetricTrigger in com.microsoft.azure.management.monitor
Modifier and TypeMethodDescriptionMetricTrigger.withMetricName
(String metricName) Set the name of the metric that defines what the rule monitors.MetricTrigger.withMetricResourceUri
(String metricResourceUri) Set the resource identifier of the resource the rule monitors.MetricTrigger.withOperator
(ComparisonOperationType operator) Set the operator that is used to compare the metric data and the threshold.MetricTrigger.withStatistic
(MetricStatisticType statistic) Set the metric statistic type.MetricTrigger.withThreshold
(double threshold) Set the threshold of the metric that triggers the scale action.MetricTrigger.withTimeAggregation
(TimeAggregationType timeAggregation) Set time aggregation type.MetricTrigger.withTimeGrain
(org.joda.time.Period timeGrain) Set the granularity of metrics the rule monitors.MetricTrigger.withTimeWindow
(org.joda.time.Period timeWindow) Set the range of time in which instance data is collected.