Show / Hide Table of Contents

    Class Recurrence

    The repeating times at which this profile begins. This element is not used if the FixedDate element is used.

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

    Constructors

    Recurrence()

    Initializes a new instance of the Recurrence class.

    Declaration
    public Recurrence ();

    Recurrence(RecurrenceFrequency, RecurrentSchedule)

    Initializes a new instance of the Recurrence class.

    Declaration
    public Recurrence (Microsoft.Azure.Management.Monitor.Models.RecurrenceFrequency frequency, Microsoft.Azure.Management.Monitor.Models.RecurrentSchedule schedule);
    Parameters
    RecurrenceFrequency frequency

    the recurrence frequency. How often the schedule profile should take effect. This value must be Week, meaning each week will have the same set of profiles. For example, to set a daily schedule, set schedule to every day of the week. The frequency property specifies that the schedule is repeated weekly. Possible values include: 'None', 'Second', 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year'

    RecurrentSchedule schedule

    the scheduling constraints for when the profile begins.

    Properties

    Frequency

    Gets or sets the recurrence frequency. How often the schedule profile should take effect. This value must be Week, meaning each week will have the same set of profiles. For example, to set a daily schedule, set schedule to every day of the week. The frequency property specifies that the schedule is repeated weekly. Possible values include: 'None', 'Second', 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year'

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="frequency")]
    public Microsoft.Azure.Management.Monitor.Models.RecurrenceFrequency Frequency { get; set; }
    Property Value
    RecurrenceFrequency

    Schedule

    Gets or sets the scheduling constraints for when the profile begins.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="schedule")]
    public Microsoft.Azure.Management.Monitor.Models.RecurrentSchedule Schedule { get; set; }
    Property Value
    RecurrentSchedule

    Methods

    Validate()

    Validate the object.

    Declaration
    public virtual void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net