Share via


TargetDetails Class

Definition

Class encapsulating target details, used where the destination is not a datasource

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

Constructors

TargetDetails()

Creates an new TargetDetails instance.

Properties

FilePrefix

Restore operation may create multiple files inside location pointed by Url Below will be the common prefix for all of them

RestoreTargetLocationType

Denotes the target location where the data will be restored, string value for the enum {Microsoft.Internal.AzureBackup.DataProtection.Common.Interface.RestoreTargetLocationType}

TargetResourceArmId

Full ARM Id denoting the restore destination. It is the ARM Id pointing to container / file share This is optional if the target subscription can be identified with the URL field. If not then this is needed if CrossSubscriptionRestore field of BackupVault is in any of the disabled states

Url

Url denoting the restore destination. It can point to container / file share etc

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of TargetDetails.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of TargetDetails.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of TargetDetails into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to