Uses of Class
com.azure.resourcemanager.monitor.models.MetricTrigger
Packages that use MetricTrigger
Package
Description
Package containing the inner data models for MonitorClient.
Package containing the data models for MonitorClient.
-
Uses of MetricTrigger in com.azure.resourcemanager.monitor.fluent.models
Methods in com.azure.resourcemanager.monitor.fluent.models that return MetricTriggerModifier and TypeMethodDescriptionScaleRuleInner.metricTrigger()Get the metricTrigger property: the trigger that results in a scaling action.Methods in com.azure.resourcemanager.monitor.fluent.models with parameters of type MetricTriggerModifier and TypeMethodDescriptionScaleRuleInner.withMetricTrigger(MetricTrigger metricTrigger) Set the metricTrigger property: the trigger that results in a scaling action. -
Uses of MetricTrigger in com.azure.resourcemanager.monitor.models
Methods in com.azure.resourcemanager.monitor.models that return MetricTriggerModifier and TypeMethodDescriptionstatic MetricTriggerMetricTrigger.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of MetricTrigger from the JsonReader.MetricTrigger.withDimensions(List<ScaleRuleMetricDimension> dimensions) Set the dimensions property: List of dimension conditions.MetricTrigger.withDividePerInstance(Boolean dividePerInstance) Set the dividePerInstance property: a value indicating whether metric should divide per instance.MetricTrigger.withMetricName(String metricName) Set the metricName property: the name of the metric that defines what the rule monitors.MetricTrigger.withMetricNamespace(String metricNamespace) Set the metricNamespace property: the namespace of the metric that defines what the rule monitors.MetricTrigger.withMetricResourceLocation(String metricResourceLocation) Set the metricResourceLocation property: the location of the resource the rule monitors.MetricTrigger.withMetricResourceUri(String metricResourceUri) Set the metricResourceUri property: the resource identifier of the resource the rule monitors.MetricTrigger.withOperator(ComparisonOperationType operator) Set the operator property: the operator that is used to compare the metric data and the threshold.MetricTrigger.withStatistic(MetricStatisticType statistic) Set the statistic property: the metric statistic type.MetricTrigger.withThreshold(double threshold) Set the threshold property: the threshold of the metric that triggers the scale action.MetricTrigger.withTimeAggregation(TimeAggregationType timeAggregation) Set the timeAggregation property: time aggregation type.MetricTrigger.withTimeGrain(Duration timeGrain) Set the timeGrain property: the granularity of metrics the rule monitors.MetricTrigger.withTimeWindow(Duration timeWindow) Set the timeWindow property: the range of time in which instance data is collected.