Share via


DataProtectionBackupRetentionTag Class

Definition

Retention tag.

public class DataProtectionBackupRetentionTag : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupRetentionTag>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupRetentionTag>
type DataProtectionBackupRetentionTag = class
    interface IJsonModel<DataProtectionBackupRetentionTag>
    interface IPersistableModel<DataProtectionBackupRetentionTag>
Public Class DataProtectionBackupRetentionTag
Implements IJsonModel(Of DataProtectionBackupRetentionTag), IPersistableModel(Of DataProtectionBackupRetentionTag)
Inheritance
DataProtectionBackupRetentionTag
Implements

Constructors

Name Description
DataProtectionBackupRetentionTag(String)

Initializes a new instance of DataProtectionBackupRetentionTag.

Properties

Name Description
ETag

Retention Tag version.

Id

Retention Tag version.

TagName

Retention Tag Name to relate it to retention rule.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<DataProtectionBackupRetentionTag>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DataProtectionBackupRetentionTag>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataProtectionBackupRetentionTag>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataProtectionBackupRetentionTag>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DataProtectionBackupRetentionTag>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to