你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
VaultRetentionPolicy Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |