你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
LongTermRetentionPolicy 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 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
- Derived
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 |