MonitorRecurrence(RecurrenceFrequency, RecurrentSchedule) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET