Share via


MonthlyRetentionSchedule Constructors

Definition

Overloads

MonthlyRetentionSchedule()

Initializes a new instance of the MonthlyRetentionSchedule class.

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

Initializes a new instance of the MonthlyRetentionSchedule class.

MonthlyRetentionSchedule()

Initializes a new instance of the MonthlyRetentionSchedule class.

public MonthlyRetentionSchedule ();
Public Sub New ()

Applies to

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

Initializes a new instance of the MonthlyRetentionSchedule class.

public MonthlyRetentionSchedule (string retentionScheduleFormatType = 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.MonthlyRetentionSchedule : string * 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.MonthlyRetentionSchedule
Public Sub New (Optional retentionScheduleFormatType As String = 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 type for monthly retention policy. Possible values include: 'Invalid', 'Daily', 'Weekly'

retentionScheduleDaily
DailyRetentionFormat

Daily retention format for monthly retention policy.

retentionScheduleWeekly
WeeklyRetentionFormat

Weekly retention format for monthly retention policy.

retentionTimes
IList<Nullable<DateTime>>

Retention times of retention policy.

retentionDuration
RetentionDuration

Retention duration of retention Policy.

Applies to