Uses of Class
com.azure.resourcemanager.monitor.models.MetricCriteria
Packages that use MetricCriteria
Package
Description
Package containing the data models for MonitorClient.
-
Uses of MetricCriteria in com.azure.resourcemanager.monitor.models
Methods in com.azure.resourcemanager.monitor.models that return MetricCriteriaModifier and TypeMethodDescriptionstatic MetricCriteria
MetricCriteria.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of MetricCriteria from the JsonReader.MetricCriteria.withDimensions
(List<MetricDimension> dimensions) Set the dimensions property: List of dimension conditions.MetricCriteria.withMetricName
(String metricName) Set the metricName property: Name of the metric.MetricCriteria.withMetricNamespace
(String metricNamespace) Set the metricNamespace property: Namespace of the metric.Set the name property: Name of the criteria.MetricCriteria.withOperator
(Operator operator) Set the operator property: the criteria operator.MetricCriteria.withSkipMetricValidation
(Boolean skipMetricValidation) Set the skipMetricValidation property: Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.MetricCriteria.withThreshold
(double threshold) Set the threshold property: the criteria threshold value that activates the alert.MetricCriteria.withTimeAggregation
(AggregationTypeEnum timeAggregation) Set the timeAggregation property: the criteria time aggregation types.Methods in com.azure.resourcemanager.monitor.models that return types with arguments of type MetricCriteriaModifier and TypeMethodDescriptionMetricAlertSingleResourceMultipleMetricCriteria.allOf()
Get the allOf property: The list of metric criteria for this 'all of' operation.Method parameters in com.azure.resourcemanager.monitor.models with type arguments of type MetricCriteriaModifier and TypeMethodDescriptionMetricAlertSingleResourceMultipleMetricCriteria.withAllOf
(List<MetricCriteria> allOf) Set the allOf property: The list of metric criteria for this 'all of' operation.