Share via


YearlyRetentionSchedule Class

Definition

Yearly rentention schedule.

public class YearlyRetentionSchedule : Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models.RetentionScheduleBase
type YearlyRetentionSchedule = class
    inherit RetentionScheduleBase
Public Class YearlyRetentionSchedule
Inherits RetentionScheduleBase
Inheritance
YearlyRetentionSchedule

Constructors

YearlyRetentionSchedule()

Properties

BackupManagementType

BackupManagement Type of the retention policy

(Inherited from RetentionScheduleBase)
DurationCountInYears

Length of duration in years

MonthsOfYear

List of the months of the year.

RetentionScheduleDaily

Daily retention schedule object.

RetentionScheduleFormatType

Format type of the retention schedule.

RetentionScheduleWeekly

Weekly retention schedule object.

RetentionTimes

List of the days and times representing the retention times

(Inherited from RetentionScheduleBase)

Methods

ToString()
Validate()
Validate() (Inherited from RetentionScheduleBase)
Validate(ScheduleRunType)
Validate(ScheduleRunType) (Inherited from RetentionScheduleBase)

Applies to