RestoreTargetInfoBase Class

Definition

Base class common to RestoreTargetInfo and RestoreFilesTargetInfo

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreTargetInfoBaseTypeConverter))]
public class RestoreTargetInfoBase : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreTargetInfoBaseTypeConverter))>]
type RestoreTargetInfoBase = class
    interface IRestoreTargetInfoBase
    interface IJsonSerializable
Public Class RestoreTargetInfoBase
Implements IRestoreTargetInfoBase
Inheritance
RestoreTargetInfoBase
Attributes
Implements

Constructors

RestoreTargetInfoBase()

Creates an new RestoreTargetInfoBase instance.

Properties

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 RestoreTargetInfoBase.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RestoreTargetInfoBase.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase. Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of RestoreTargetInfoBase into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to