LongTermRetentionPolicy Class

Definition

Backup long term retention policy class.

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

Constructors

LongTermRetentionPolicy()
LongTermRetentionPolicy(String)

Properties

BackupManagementType

BackupManagement Type associated with the policy

DailySchedule

Specifies the daily schedule object

IsDailyScheduleEnabled

Specifies if daily schedule is enabled.

IsMonthlyScheduleEnabled

Specifies if monthly schedule is enabled.

IsWeeklyScheduleEnabled

Specifies if weekly schedule is enabled.

IsYearlyScheduleEnabled

Specifies if yearly schedule is enabled.

MonthlySchedule

Specifies the monthly schedule object

WeeklySchedule

Specifies the weekly schedule object

YearlySchedule

Specifies the yearly schedule object

Methods

ToString()
Validate()
Validate(ScheduleRunType)

Validates null values and other possible combinations

Applies to