Udostępnij za pośrednictwem


RestoreTargetInfoBase Class

Definition

Base class common to RestoreTargetInfo and RestoreFilesTargetInfo Please note RestoreTargetInfoBase 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 ItemLevelRestoreTargetInfo, RestoreFilesTargetInfo and RestoreTargetInfo.

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

Constructors

RestoreTargetInfoBase(RecoverySetting)

Initializes a new instance of RestoreTargetInfoBase.

Properties

RecoverySetting

Recovery Option.

RestoreLocation

Target Restore region.

Explicit Interface Implementations

IJsonModel<RestoreTargetInfoBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RestoreTargetInfoBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RestoreTargetInfoBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RestoreTargetInfoBase>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RestoreTargetInfoBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to