Share via


DataProtectionBackupTaggingCriteria Class

Definition

Tagging criteria.

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

Constructors

DataProtectionBackupTaggingCriteria(Boolean, Int64, DataProtectionBackupRetentionTag)

Initializes a new instance of DataProtectionBackupTaggingCriteria.

Properties

Criteria

Criteria which decides whether the tag can be applied to a triggered backup. Please note DataProtectionBackupCriteria is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ScheduleBasedBackupCriteria.

IsDefault

Specifies if tag is default.

TaggingPriority

Retention Tag priority.

TagInfo

Retention tag information.

Explicit Interface Implementations

IJsonModel<DataProtectionBackupTaggingCriteria>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataProtectionBackupTaggingCriteria>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataProtectionBackupTaggingCriteria>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataProtectionBackupTaggingCriteria>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataProtectionBackupTaggingCriteria>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to