Condividi tramite


ConditionFailingPeriods Class

Definition

The minimum number of violations required within the selected lookback time window required to raise an alert. Relevant only for rules of the kind LogAlert.

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

Constructors

ConditionFailingPeriods()

Initializes a new instance of ConditionFailingPeriods.

Properties

MinFailingPeriodsToAlert

The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. Default value is 1.

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. Default value is 1.

Explicit Interface Implementations

IJsonModel<ConditionFailingPeriods>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ConditionFailingPeriods>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ConditionFailingPeriods>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ConditionFailingPeriods>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ConditionFailingPeriods>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to