Condividi tramite


SubProtectionPolicy Constructors

Definition

Overloads

SubProtectionPolicy()

Initializes a new instance of the SubProtectionPolicy class.

SubProtectionPolicy(String, SchedulePolicy, RetentionPolicy, IDictionary<String,TieringPolicy>)

Initializes a new instance of the SubProtectionPolicy class.

SubProtectionPolicy()

Initializes a new instance of the SubProtectionPolicy class.

public SubProtectionPolicy ();
Public Sub New ()

Applies to

SubProtectionPolicy(String, SchedulePolicy, RetentionPolicy, IDictionary<String,TieringPolicy>)

Initializes a new instance of the SubProtectionPolicy class.

public SubProtectionPolicy (string policyType = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.SchedulePolicy schedulePolicy = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.RetentionPolicy retentionPolicy = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.RecoveryServices.Backup.Models.TieringPolicy> tieringPolicy = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.Models.SubProtectionPolicy : string * Microsoft.Azure.Management.RecoveryServices.Backup.Models.SchedulePolicy * Microsoft.Azure.Management.RecoveryServices.Backup.Models.RetentionPolicy * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.RecoveryServices.Backup.Models.TieringPolicy> -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.SubProtectionPolicy
Public Sub New (Optional policyType As String = Nothing, Optional schedulePolicy As SchedulePolicy = Nothing, Optional retentionPolicy As RetentionPolicy = Nothing, Optional tieringPolicy As IDictionary(Of String, TieringPolicy) = Nothing)

Parameters

policyType
String

Type of backup policy type. Possible values include: 'Invalid', 'Full', 'Differential', 'Log', 'CopyOnlyFull', 'Incremental'

schedulePolicy
SchedulePolicy

Backup schedule specified as part of backup policy.

retentionPolicy
RetentionPolicy

Retention policy with the details on backup copy retention ranges.

tieringPolicy
IDictionary<String,TieringPolicy>

Tiering policy to automatically move RPs to another tier. Key is Target Tier, defined in RecoveryPointTierType enum. Tiering policy specifies the criteria to move RP to the target tier.

Applies to