Delen via


YearlyRetentionSchedule Constructors

Definition

Overloads

YearlyRetentionSchedule()

Initializes a new instance of the YearlyRetentionSchedule class.

YearlyRetentionSchedule(String, IList<Nullable<MonthOfYear>>, DailyRetentionFormat, WeeklyRetentionFormat, IList<Nullable<DateTime>>, RetentionDuration)

Initializes a new instance of the YearlyRetentionSchedule class.

YearlyRetentionSchedule()

Initializes a new instance of the YearlyRetentionSchedule class.

public YearlyRetentionSchedule ();
Public Sub New ()

Applies to

YearlyRetentionSchedule(String, IList<Nullable<MonthOfYear>>, DailyRetentionFormat, WeeklyRetentionFormat, IList<Nullable<DateTime>>, RetentionDuration)

Initializes a new instance of the YearlyRetentionSchedule class.

public YearlyRetentionSchedule (string retentionScheduleFormatType = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.Backup.Models.MonthOfYear?> monthsOfYear = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.DailyRetentionFormat retentionScheduleDaily = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.WeeklyRetentionFormat retentionScheduleWeekly = default, System.Collections.Generic.IList<DateTime?> retentionTimes = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.RetentionDuration retentionDuration = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.Models.YearlyRetentionSchedule : string * System.Collections.Generic.IList<Nullable<Microsoft.Azure.Management.RecoveryServices.Backup.Models.MonthOfYear>> * Microsoft.Azure.Management.RecoveryServices.Backup.Models.DailyRetentionFormat * Microsoft.Azure.Management.RecoveryServices.Backup.Models.WeeklyRetentionFormat * System.Collections.Generic.IList<Nullable<DateTime>> * Microsoft.Azure.Management.RecoveryServices.Backup.Models.RetentionDuration -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.YearlyRetentionSchedule
Public Sub New (Optional retentionScheduleFormatType As String = Nothing, Optional monthsOfYear As IList(Of Nullable(Of MonthOfYear)) = Nothing, Optional retentionScheduleDaily As DailyRetentionFormat = Nothing, Optional retentionScheduleWeekly As WeeklyRetentionFormat = Nothing, Optional retentionTimes As IList(Of Nullable(Of DateTime)) = Nothing, Optional retentionDuration As RetentionDuration = Nothing)

Parameters

retentionScheduleFormatType
String

Retention schedule format for yearly retention policy. Possible values include: 'Invalid', 'Daily', 'Weekly'

monthsOfYear
IList<Nullable<MonthOfYear>>

List of months of year of yearly retention policy.

retentionScheduleDaily
DailyRetentionFormat

Daily retention format for yearly retention policy.

retentionScheduleWeekly
WeeklyRetentionFormat

Weekly retention format for yearly retention policy.

retentionTimes
IList<Nullable<DateTime>>

Retention times of retention policy.

retentionDuration
RetentionDuration

Retention duration of retention Policy.

Applies to