Sdílet prostřednictvím


BackupRestoreContent Class

Definition

Azure backup restore request Please note BackupRestoreContent is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include BackupRecoveryPointBasedRestoreContent, BackupRecoveryTimeBasedRestoreContent and BackupRestoreWithRehydrationContent.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.DataProtectionBackup.Models.UnknownAzureBackupRestoreRequest))]
public abstract class BackupRestoreContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataProtectionBackup.Models.BackupRestoreContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataProtectionBackup.Models.BackupRestoreContent>
public abstract class BackupRestoreContent
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.DataProtectionBackup.Models.UnknownAzureBackupRestoreRequest))>]
type BackupRestoreContent = class
    interface IJsonModel<BackupRestoreContent>
    interface IPersistableModel<BackupRestoreContent>
type BackupRestoreContent = class
Public MustInherit Class BackupRestoreContent
Implements IJsonModel(Of BackupRestoreContent), IPersistableModel(Of BackupRestoreContent)
Public MustInherit Class BackupRestoreContent
Inheritance
BackupRestoreContent
Derived
Attributes
Implements

Constructors

BackupRestoreContent(RestoreTargetInfoBase, SourceDataStoreType)

Initializes a new instance of BackupRestoreContent.

Properties

IdentityDetails

Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned.

ResourceGuardOperationRequests

ResourceGuardOperationRequests on which LAC check will be performed.

RestoreTargetInfo

Gets or sets the restore target information. Please note RestoreTargetInfoBase is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ItemLevelRestoreTargetInfo, RestoreFilesTargetInfo and RestoreTargetInfo.

SourceDataStoreType

Gets or sets the type of the source data store.

SourceResourceId

Fully qualified Azure Resource Manager ID of the datasource which is being recovered.

Explicit Interface Implementations

IJsonModel<BackupRestoreContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BackupRestoreContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BackupRestoreContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BackupRestoreContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BackupRestoreContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to