Udostępnij za pośrednictwem


SimpleSchedulePolicy Constructors

Definition

Overloads

SimpleSchedulePolicy()

Initializes a new instance of the SimpleSchedulePolicy class.

SimpleSchedulePolicy(String, IList<Nullable<DayOfWeek>>, IList<Nullable<DateTime>>, HourlySchedule, Nullable<Int32>)

Initializes a new instance of the SimpleSchedulePolicy class.

SimpleSchedulePolicy()

Initializes a new instance of the SimpleSchedulePolicy class.

public SimpleSchedulePolicy ();
Public Sub New ()

Applies to

SimpleSchedulePolicy(String, IList<Nullable<DayOfWeek>>, IList<Nullable<DateTime>>, HourlySchedule, Nullable<Int32>)

Initializes a new instance of the SimpleSchedulePolicy class.

public SimpleSchedulePolicy (string scheduleRunFrequency = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.Backup.Models.DayOfWeek?> scheduleRunDays = default, System.Collections.Generic.IList<DateTime?> scheduleRunTimes = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.HourlySchedule hourlySchedule = default, int? scheduleWeeklyFrequency = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.Models.SimpleSchedulePolicy : string * System.Collections.Generic.IList<Nullable<Microsoft.Azure.Management.RecoveryServices.Backup.Models.DayOfWeek>> * System.Collections.Generic.IList<Nullable<DateTime>> * Microsoft.Azure.Management.RecoveryServices.Backup.Models.HourlySchedule * Nullable<int> -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.SimpleSchedulePolicy
Public Sub New (Optional scheduleRunFrequency As String = Nothing, Optional scheduleRunDays As IList(Of Nullable(Of DayOfWeek)) = Nothing, Optional scheduleRunTimes As IList(Of Nullable(Of DateTime)) = Nothing, Optional hourlySchedule As HourlySchedule = Nothing, Optional scheduleWeeklyFrequency As Nullable(Of Integer) = Nothing)

Parameters

scheduleRunFrequency
String

Frequency of the schedule operation of this policy. Possible values include: 'Invalid', 'Daily', 'Weekly', 'Hourly'

scheduleRunDays
IList<Nullable<DayOfWeek>>

List of days of week this schedule has to be run.

scheduleRunTimes
IList<Nullable<DateTime>>

List of times of day this schedule has to be run.

hourlySchedule
HourlySchedule

Hourly Schedule of this Policy

scheduleWeeklyFrequency
Nullable<Int32>

At every number weeks this schedule has to be run.

Applies to