Show / Hide Table of Contents

    Class Schedule

    Defines how often to run the search and the time interval.

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

    Constructors

    Schedule()

    Initializes a new instance of the Schedule class.

    Declaration
    public Schedule ();

    Schedule(Int32, Int32)

    Initializes a new instance of the Schedule class.

    Declaration
    public Schedule (int frequencyInMinutes, int timeWindowInMinutes);
    Parameters
    Int32 frequencyInMinutes

    frequency (in minutes) at which rule condition should be evaluated.

    Int32 timeWindowInMinutes

    Time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes).

    Properties

    FrequencyInMinutes

    Gets or sets frequency (in minutes) at which rule condition should be evaluated.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="frequencyInMinutes")]
    public int FrequencyInMinutes { get; set; }
    Property Value
    Int32

    TimeWindowInMinutes

    Gets or sets time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes).

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="timeWindowInMinutes")]
    public int TimeWindowInMinutes { get; set; }
    Property Value
    Int32

    Methods

    Validate()

    Validate the object.

    Declaration
    public virtual void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net