Condividi tramite


MonitorRecurrence(RecurrenceFrequency, RecurrentSchedule) Constructor

Definition

Initializes a new instance of MonitorRecurrence.

public MonitorRecurrence (Azure.ResourceManager.Monitor.Models.RecurrenceFrequency frequency, Azure.ResourceManager.Monitor.Models.RecurrentSchedule schedule);
new Azure.ResourceManager.Monitor.Models.MonitorRecurrence : Azure.ResourceManager.Monitor.Models.RecurrenceFrequency * Azure.ResourceManager.Monitor.Models.RecurrentSchedule -> Azure.ResourceManager.Monitor.Models.MonitorRecurrence
Public Sub New (frequency As RecurrenceFrequency, schedule As RecurrentSchedule)

Parameters

frequency
RecurrenceFrequency

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.

schedule
RecurrentSchedule

the scheduling constraints for when the profile begins.

Exceptions

schedule is null.

Applies to