Dela via


TieringPolicy Constructors

Definition

Overloads

TieringPolicy()

Initializes a new instance of the TieringPolicy class.

TieringPolicy(String, Nullable<Int32>, String)

Initializes a new instance of the TieringPolicy class.

TieringPolicy()

Initializes a new instance of the TieringPolicy class.

public TieringPolicy ();
Public Sub New ()

Applies to

TieringPolicy(String, Nullable<Int32>, String)

Initializes a new instance of the TieringPolicy class.

public TieringPolicy (string tieringMode = default, int? duration = default, string durationType = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.Models.TieringPolicy : string * Nullable<int> * string -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.TieringPolicy
Public Sub New (Optional tieringMode As String = Nothing, Optional duration As Nullable(Of Integer) = Nothing, Optional durationType As String = Nothing)

Parameters

tieringMode
String

Tiering Mode to control automatic tiering of recovery points. Supported values are: 1. TierRecommended: Tier all recovery points recommended to be tiered 2. TierAfter: Tier all recovery points after a fixed period, as specified in duration + durationType below. 3. DoNotTier: Do not tier any recovery points. Possible values include: 'Invalid', 'TierRecommended', 'TierAfter', 'DoNotTier'

duration
Nullable<Int32>

Number of days/weeks/months/years to retain backups in current tier before tiering. Used only if TieringMode is set to TierAfter

durationType
String

Retention duration type: days/weeks/months/years Used only if TieringMode is set to TierAfter. Possible values include: 'Invalid', 'Days', 'Weeks', 'Months', 'Years'

Applies to