Condividi tramite


RestoreTargetInfo Class

Definition

Class encapsulating restore target parameters.

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

Constructors

RestoreTargetInfo(RecoverySetting, DataSourceInfo)

Initializes a new instance of RestoreTargetInfo.

Properties

DataSourceAuthCredentials

Credentials to use to authenticate with data source provider. Please note DataProtectionBackupAuthCredentials 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 SecretStoreBasedAuthCredentials.

DataSourceInfo

Information of target DS.

DataSourceSetInfo

Information of target DS Set.

RecoverySetting

Recovery Option.

(Inherited from RestoreTargetInfoBase)
RestoreLocation

Target Restore region.

(Inherited from RestoreTargetInfoBase)

Explicit Interface Implementations

IJsonModel<RestoreTargetInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RestoreTargetInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<RestoreTargetInfoBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from RestoreTargetInfoBase)
IJsonModel<RestoreTargetInfoBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from RestoreTargetInfoBase)
IPersistableModel<RestoreTargetInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RestoreTargetInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RestoreTargetInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<RestoreTargetInfoBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from RestoreTargetInfoBase)
IPersistableModel<RestoreTargetInfoBase>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from RestoreTargetInfoBase)
IPersistableModel<RestoreTargetInfoBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from RestoreTargetInfoBase)

Applies to