MetricAnomalyAlertSnoozeCondition(Int32, SnoozeScope, Boolean) Constructor

Definition

Initializes a new instance of the MetricAnomalyAlertSnoozeCondition class.

public MetricAnomalyAlertSnoozeCondition (int autoSnooze, Azure.AI.MetricsAdvisor.Models.SnoozeScope snoozeScope, bool isOnlyForSuccessive);
new Azure.AI.MetricsAdvisor.Models.MetricAnomalyAlertSnoozeCondition : int * Azure.AI.MetricsAdvisor.Models.SnoozeScope * bool -> Azure.AI.MetricsAdvisor.Models.MetricAnomalyAlertSnoozeCondition
Public Sub New (autoSnooze As Integer, snoozeScope As SnoozeScope, isOnlyForSuccessive As Boolean)

Parameters

autoSnooze
Int32

The number of data points to be ingested before alerts are enabled again.

snoozeScope
SnoozeScope

Defines the set of time series to which this MetricAnomalyAlertSnoozeCondition applies. Anomalies detected out of the specified scope can be added to alerts normally.

isOnlyForSuccessive
Boolean

If true, snoozing only continues as long as the subsequent data points are anomalies. It will stop as soon as a data point that's not an anomaly is found. If false, snoozing only stops when the amount of points specified by autoSnooze have been ingested.

Applies to