Udostępnij za pośrednictwem


LongTermRetentionPolicy Constructors

Definition

Overloads

LongTermRetentionPolicy()

Initializes a new instance of the LongTermRetentionPolicy class.

LongTermRetentionPolicy(DailyRetentionSchedule, WeeklyRetentionSchedule, MonthlyRetentionSchedule, YearlyRetentionSchedule)

Initializes a new instance of the LongTermRetentionPolicy class.

LongTermRetentionPolicy()

Initializes a new instance of the LongTermRetentionPolicy class.

public LongTermRetentionPolicy ();
Public Sub New ()

Applies to

LongTermRetentionPolicy(DailyRetentionSchedule, WeeklyRetentionSchedule, MonthlyRetentionSchedule, YearlyRetentionSchedule)

Initializes a new instance of the LongTermRetentionPolicy class.

public LongTermRetentionPolicy (Microsoft.Azure.Management.RecoveryServices.Backup.Models.DailyRetentionSchedule dailySchedule = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.WeeklyRetentionSchedule weeklySchedule = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.MonthlyRetentionSchedule monthlySchedule = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.YearlyRetentionSchedule yearlySchedule = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.Models.LongTermRetentionPolicy : Microsoft.Azure.Management.RecoveryServices.Backup.Models.DailyRetentionSchedule * Microsoft.Azure.Management.RecoveryServices.Backup.Models.WeeklyRetentionSchedule * Microsoft.Azure.Management.RecoveryServices.Backup.Models.MonthlyRetentionSchedule * Microsoft.Azure.Management.RecoveryServices.Backup.Models.YearlyRetentionSchedule -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.LongTermRetentionPolicy
Public Sub New (Optional dailySchedule As DailyRetentionSchedule = Nothing, Optional weeklySchedule As WeeklyRetentionSchedule = Nothing, Optional monthlySchedule As MonthlyRetentionSchedule = Nothing, Optional yearlySchedule As YearlyRetentionSchedule = Nothing)

Parameters

dailySchedule
DailyRetentionSchedule

Daily retention schedule of the protection policy.

weeklySchedule
WeeklyRetentionSchedule

Weekly retention schedule of the protection policy.

monthlySchedule
MonthlyRetentionSchedule

Monthly retention schedule of the protection policy.

yearlySchedule
YearlyRetentionSchedule

Yearly retention schedule of the protection policy.

Applies to