共用方式為


DataProtectionBackupCriteria Class

Definition

BackupCriteria base class 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.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.DataProtectionBackup.Models.UnknownBackupCriteria))]
public abstract class DataProtectionBackupCriteria : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupCriteria>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupCriteria>
public abstract class DataProtectionBackupCriteria
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.DataProtectionBackup.Models.UnknownBackupCriteria))>]
type DataProtectionBackupCriteria = class
    interface IJsonModel<DataProtectionBackupCriteria>
    interface IPersistableModel<DataProtectionBackupCriteria>
type DataProtectionBackupCriteria = class
Public MustInherit Class DataProtectionBackupCriteria
Implements IJsonModel(Of DataProtectionBackupCriteria), IPersistableModel(Of DataProtectionBackupCriteria)
Public MustInherit Class DataProtectionBackupCriteria
Inheritance
DataProtectionBackupCriteria
Derived
Attributes
Implements

Constructors

DataProtectionBackupCriteria()

Initializes a new instance of DataProtectionBackupCriteria.

Explicit Interface Implementations

IJsonModel<DataProtectionBackupCriteria>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataProtectionBackupCriteria>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataProtectionBackupCriteria>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataProtectionBackupCriteria>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataProtectionBackupCriteria>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to