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