Uses of Class
com.azure.resourcemanager.monitor.models.DynamicMetricCriteria
Packages that use DynamicMetricCriteria
Package
Description
Package containing the data models for MonitorClient.
-
Uses of DynamicMetricCriteria in com.azure.resourcemanager.monitor.models
Methods in com.azure.resourcemanager.monitor.models that return DynamicMetricCriteriaModifier and TypeMethodDescriptionstatic DynamicMetricCriteria
DynamicMetricCriteria.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of DynamicMetricCriteria from the JsonReader.DynamicMetricCriteria.withAlertSensitivity
(DynamicThresholdSensitivity alertSensitivity) Set the alertSensitivity property: The extent of deviation required to trigger an alert.DynamicMetricCriteria.withDimensions
(List<MetricDimension> dimensions) Set the dimensions property: List of dimension conditions.DynamicMetricCriteria.withFailingPeriods
(DynamicThresholdFailingPeriods failingPeriods) Set the failingPeriods property: The minimum number of violations required within the selected lookback time window required to raise an alert.DynamicMetricCriteria.withIgnoreDataBefore
(OffsetDateTime ignoreDataBefore) Set the ignoreDataBefore property: Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format).DynamicMetricCriteria.withMetricName
(String metricName) Set the metricName property: Name of the metric.DynamicMetricCriteria.withMetricNamespace
(String metricNamespace) Set the metricNamespace property: Namespace of the metric.Set the name property: Name of the criteria.DynamicMetricCriteria.withOperator
(DynamicThresholdOperator operator) Set the operator property: The operator used to compare the metric value against the threshold.DynamicMetricCriteria.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.DynamicMetricCriteria.withTimeAggregation
(AggregationTypeEnum timeAggregation) Set the timeAggregation property: the criteria time aggregation types.