Share via


RestoreTargetInfo Class

Definition

Class encapsulating restore target parameters

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreTargetInfoTypeConverter))]
public class RestoreTargetInfo : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreTargetInfoTypeConverter))>]
type RestoreTargetInfo = class
    interface IRestoreTargetInfo
    interface IJsonSerializable
    interface IRestoreTargetInfoBase
    interface IValidates
Public Class RestoreTargetInfo
Implements IRestoreTargetInfo, IValidates
Inheritance
RestoreTargetInfo
Attributes
Implements

Constructors

RestoreTargetInfo()

Creates an new RestoreTargetInfo instance.

Properties

DatasourceAuthCredentials

Credentials to use to authenticate with data source provider.

DatasourceInfo

Information of target DS

DatasourceSetInfo

Information of target DS Set

ObjectType

Type of Datasource object, used to initialize the right inherited type

RecoveryOption

Recovery Option

RestoreLocation

Target Restore region

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RestoreTargetInfo.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RestoreTargetInfo.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfo.

FromJsonString(String)

Creates a new instance of RestoreTargetInfo, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of RestoreTargetInfo into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to