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
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 |