共用方式為


LongTermRetentionPolicy Class

Definition

Long term retention policy.

public class LongTermRetentionPolicy : Microsoft.Azure.Management.RecoveryServices.Backup.Models.RetentionPolicy
type LongTermRetentionPolicy = class
    inherit RetentionPolicy
Public Class LongTermRetentionPolicy
Inherits RetentionPolicy
Inheritance
LongTermRetentionPolicy

Constructors

LongTermRetentionPolicy()

Initializes a new instance of the LongTermRetentionPolicy class.

LongTermRetentionPolicy(DailyRetentionSchedule, WeeklyRetentionSchedule, MonthlyRetentionSchedule, YearlyRetentionSchedule)

Initializes a new instance of the LongTermRetentionPolicy class.

Properties

DailySchedule

Gets or sets daily retention schedule of the protection policy.

MonthlySchedule

Gets or sets monthly retention schedule of the protection policy.

WeeklySchedule

Gets or sets weekly retention schedule of the protection policy.

YearlySchedule

Gets or sets yearly retention schedule of the protection policy.

Applies to