Udostępnij za pośrednictwem


DynamicThresholdFailingPeriods Class

Definition

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

public class DynamicThresholdFailingPeriods : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.DynamicThresholdFailingPeriods>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.DynamicThresholdFailingPeriods>
type DynamicThresholdFailingPeriods = class
    interface IJsonModel<DynamicThresholdFailingPeriods>
    interface IPersistableModel<DynamicThresholdFailingPeriods>
Public Class DynamicThresholdFailingPeriods
Implements IJsonModel(Of DynamicThresholdFailingPeriods), IPersistableModel(Of DynamicThresholdFailingPeriods)
Inheritance
DynamicThresholdFailingPeriods
Implements

Constructors

DynamicThresholdFailingPeriods(Single, Single)

Initializes a new instance of DynamicThresholdFailingPeriods.

Properties

MinFailingPeriodsToAlert

The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods.

NumberOfEvaluationPeriods

The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points.

Explicit Interface Implementations

IJsonModel<DynamicThresholdFailingPeriods>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DynamicThresholdFailingPeriods>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DynamicThresholdFailingPeriods>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DynamicThresholdFailingPeriods>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DynamicThresholdFailingPeriods>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to