Share via


DataProtectionBackupCopySetting Class

Definition

Options to copy Please note DataProtectionBackupCopySetting 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 CopyOnExpirySetting, CustomCopySetting and ImmediateCopySetting.

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

Constructors

DataProtectionBackupCopySetting()

Initializes a new instance of DataProtectionBackupCopySetting.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataProtectionBackupCopySetting>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataProtectionBackupCopySetting>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataProtectionBackupCopySetting>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataProtectionBackupCopySetting>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataProtectionBackupCopySetting>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to