Dela via


RestoreFilesTargetDetails Class

Definition

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

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

Constructors

RestoreFilesTargetDetails(String, RestoreTargetLocationType, Uri)

Initializes a new instance of RestoreFilesTargetDetails.

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

Uri

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

Explicit Interface Implementations

IJsonModel<RestoreFilesTargetDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RestoreFilesTargetDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RestoreFilesTargetDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RestoreFilesTargetDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RestoreFilesTargetDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to