BackupTieringPolicy 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.
Tiering Policy for a target tier. If the policy is not specified for a given target tier, service retains the existing configured tiering policy for that tier
public class BackupTieringPolicy : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupTieringPolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupTieringPolicy>
type BackupTieringPolicy = class
interface IJsonModel<BackupTieringPolicy>
interface IPersistableModel<BackupTieringPolicy>
Public Class BackupTieringPolicy
Implements IJsonModel(Of BackupTieringPolicy), IPersistableModel(Of BackupTieringPolicy)
- Inheritance
-
BackupTieringPolicy
- Implements
Constructors
BackupTieringPolicy() |
Initializes a new instance of BackupTieringPolicy. |
Properties
DurationType |
Retention duration type: days/weeks/months/years Used only if TieringMode is set to TierAfter |
DurationValue |
Number of days/weeks/months/years to retain backups in current tier before tiering. Used only if TieringMode is set to TierAfter |
TieringMode |
Tiering Mode to control automatic tiering of recovery points. Supported values are:
|
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<BackupTieringPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<BackupTieringPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<BackupTieringPolicy>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<BackupTieringPolicy>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<BackupTieringPolicy>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET