Dela via


DataProtectionBackupDeleteSetting Class

Definition

Delete Option Please note DataProtectionBackupDeleteSetting 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 DataProtectionBackupAbsoluteDeleteSetting.

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

Constructors

DataProtectionBackupDeleteSetting(TimeSpan)

Initializes a new instance of DataProtectionBackupDeleteSetting.

Properties

Duration

Duration of deletion after given timespan.

Explicit Interface Implementations

IJsonModel<DataProtectionBackupDeleteSetting>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataProtectionBackupDeleteSetting>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataProtectionBackupDeleteSetting>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataProtectionBackupDeleteSetting>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataProtectionBackupDeleteSetting>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to