Show / Hide Table of Contents

    Class DynamicThresholdFailingPeriods

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

    Inheritance
    Object
    DynamicThresholdFailingPeriods
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Monitor.dll
    Syntax
    public class DynamicThresholdFailingPeriods

    Constructors

    DynamicThresholdFailingPeriods()

    Initializes a new instance of the DynamicThresholdFailingPeriods class.

    Declaration
    public DynamicThresholdFailingPeriods ();

    DynamicThresholdFailingPeriods(Double, Double)

    Initializes a new instance of the DynamicThresholdFailingPeriods class.

    Declaration
    public DynamicThresholdFailingPeriods (double numberOfEvaluationPeriods, double minFailingPeriodsToAlert);
    Parameters
    Double 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.

    Double minFailingPeriodsToAlert

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

    Properties

    MinFailingPeriodsToAlert

    Gets or sets the number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="minFailingPeriodsToAlert")]
    public double MinFailingPeriodsToAlert { get; set; }
    Property Value
    Double

    NumberOfEvaluationPeriods

    Gets or sets 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.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="numberOfEvaluationPeriods")]
    public double NumberOfEvaluationPeriods { get; set; }
    Property Value
    Double

    Methods

    Validate()

    Validate the object.

    Declaration
    public virtual void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net