Share via


DynamicMetricCriteria Class

Definition

Criterion for dynamic threshold.

[Newtonsoft.Json.JsonObject("DynamicThresholdCriterion")]
public class DynamicMetricCriteria : Microsoft.Azure.Management.Monitor.Models.MultiMetricCriteria
[<Newtonsoft.Json.JsonObject("DynamicThresholdCriterion")>]
type DynamicMetricCriteria = class
    inherit MultiMetricCriteria
Public Class DynamicMetricCriteria
Inherits MultiMetricCriteria
Inheritance
DynamicMetricCriteria
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

DynamicMetricCriteria()

Initializes a new instance of the DynamicMetricCriteria class.

DynamicMetricCriteria(String, String, String, String, String, DynamicThresholdFailingPeriods, IDictionary<String,Object>, String, IList<MetricDimension>, Nullable<Boolean>, Nullable<DateTime>)

Initializes a new instance of the DynamicMetricCriteria class.

Properties

AdditionalProperties

Gets or sets unmatched properties from the message are deserialized this collection

(Inherited from MultiMetricCriteria)
AlertSensitivity

Gets or sets the extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern. Possible values include: 'Low', 'Medium', 'High'

Dimensions

Gets or sets list of dimension conditions.

(Inherited from MultiMetricCriteria)
FailingPeriods

Gets or sets the minimum number of violations required within the selected lookback time window required to raise an alert.

IgnoreDataBefore

Gets or sets use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format)

MetricName

Gets or sets name of the metric.

(Inherited from MultiMetricCriteria)
MetricNamespace

Gets or sets namespace of the metric.

(Inherited from MultiMetricCriteria)
Name

Gets or sets name of the criteria.

(Inherited from MultiMetricCriteria)
OperatorProperty

Gets or sets the operator used to compare the metric value against the threshold. Possible values include: 'GreaterThan', 'LessThan', 'GreaterOrLessThan'

SkipMetricValidation

Gets or sets allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.

(Inherited from MultiMetricCriteria)
TimeAggregation

Gets or sets the criteria time aggregation types. Possible values include: 'Average', 'Count', 'Minimum', 'Maximum', 'Total'

(Inherited from MultiMetricCriteria)

Methods

Validate()

Validate the object.

Applies to