Sdílet prostřednictvím


VaultRetentionPolicy Class

Definition

Backup vault retention policy class.

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

Constructors

VaultRetentionPolicy(String)

Properties

BackupManagementType

BackupManagement Type associated with the policy

(Inherited from LongTermRetentionPolicy)
DailySchedule

Specifies the daily schedule object

(Inherited from LongTermRetentionPolicy)
IsDailyScheduleEnabled

Specifies if daily schedule is enabled.

(Inherited from LongTermRetentionPolicy)
IsMonthlyScheduleEnabled

Specifies if monthly schedule is enabled.

(Inherited from LongTermRetentionPolicy)
IsWeeklyScheduleEnabled

Specifies if weekly schedule is enabled.

(Inherited from LongTermRetentionPolicy)
IsYearlyScheduleEnabled

Specifies if yearly schedule is enabled.

(Inherited from LongTermRetentionPolicy)
MonthlySchedule

Specifies the monthly schedule object

(Inherited from LongTermRetentionPolicy)
SnapshotRetentionInDays

Object defining the retention days for a snapshot

WeeklySchedule

Specifies the weekly schedule object

(Inherited from LongTermRetentionPolicy)
YearlySchedule

Specifies the yearly schedule object

(Inherited from LongTermRetentionPolicy)

Methods

ToString()
Validate()
Validate(ScheduleRunType)

Validates null values and other possible combinations

Applies to