Sdílet prostřednictvím


TargetRestoreInfo Class

Definition

Details about target workload during restore operation.

public class TargetRestoreInfo : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.RecoveryServicesBackup.Models.TargetRestoreInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RecoveryServicesBackup.Models.TargetRestoreInfo>
type TargetRestoreInfo = class
    interface IJsonModel<TargetRestoreInfo>
    interface IPersistableModel<TargetRestoreInfo>
Public Class TargetRestoreInfo
Implements IJsonModel(Of TargetRestoreInfo), IPersistableModel(Of TargetRestoreInfo)
Inheritance
TargetRestoreInfo
Implements

Constructors

TargetRestoreInfo()

Initializes a new instance of TargetRestoreInfo.

Properties

ContainerId

Resource Id name of the container in which Target DataBase resides.

DatabaseName

Database name InstanceName/DataBaseName for SQL or System/DbName for SAP Hana.

OverwriteOption

Can Overwrite if Target DataBase already exists.

TargetDirectoryForFileRestore

Target directory location for restore as files.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<TargetRestoreInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TargetRestoreInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TargetRestoreInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TargetRestoreInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TargetRestoreInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to