Class Recurrence
java.lang.Object
com.microsoft.azure.management.monitor.Recurrence
The repeating times at which this profile begins. This element is not used
if the FixedDate element is used.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the recurrence frequency.schedule()
Get the scheduling constraints for when the profile begins.withFrequency
(RecurrenceFrequency frequency) Set the recurrence frequency.withSchedule
(RecurrentSchedule schedule) Set the scheduling constraints for when the profile begins.
-
Constructor Details
-
Recurrence
public Recurrence()
-
-
Method Details
-
frequency
Get 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'.- Returns:
- the frequency value
-
withFrequency
Set 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'.- Parameters:
frequency
- the frequency value to set- Returns:
- the Recurrence object itself.
-
schedule
Get the scheduling constraints for when the profile begins.- Returns:
- the schedule value
-
withSchedule
Set the scheduling constraints for when the profile begins.- Parameters:
schedule
- the schedule value to set- Returns:
- the Recurrence object itself.
-