Share via


WorkloadRestoreContent Class

Definition

AzureWorkload-specific restore. Please note WorkloadRestoreContent 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 WorkloadPointInTimeRestoreContent, WorkloadSapAsePointInTimeRestoreContent, WorkloadSapAseRestoreContent, WorkloadSapHanaPointInTimeRestoreContent, WorkloadSapHanaPointInTimeRestoreWithRehydrateContent, WorkloadSapHanaRestoreContent, WorkloadSapHanaRestoreWithRehydrateContent, WorkloadSqlPointInTimeRestoreContent, WorkloadSqlPointInTimeRestoreWithRehydrateContent, WorkloadSqlRestoreContent and WorkloadSqlRestoreWithRehydrateContent.

public class WorkloadRestoreContent : Azure.ResourceManager.RecoveryServicesBackup.Models.RestoreContent, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.RecoveryServicesBackup.Models.WorkloadRestoreContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RecoveryServicesBackup.Models.WorkloadRestoreContent>
type WorkloadRestoreContent = class
    inherit RestoreContent
    interface IJsonModel<WorkloadRestoreContent>
    interface IPersistableModel<WorkloadRestoreContent>
Public Class WorkloadRestoreContent
Inherits RestoreContent
Implements IJsonModel(Of WorkloadRestoreContent), IPersistableModel(Of WorkloadRestoreContent)
Inheritance
WorkloadRestoreContent
Derived
Implements

Constructors

WorkloadRestoreContent()

Initializes a new instance of WorkloadRestoreContent.

Properties

PropertyBag

Workload specific property bag.

RecoveryMode

Defines whether the current recovery mode is file restore or database restore.

RecoveryType

Type of this recovery.

ResourceGuardOperationRequests

ResourceGuardOperationRequests on which LAC check will be performed.

(Inherited from RestoreContent)
SnapshotRestoreParameters

Additional details for snapshot recovery Currently used for snapshot for SAP Hana.

SourceResourceId

Fully qualified ARM ID of the VM on which workload that was running is being recovered.

TargetInfo

Details of target database.

TargetResourceGroupName

Defines the Resource group of the Target VM.

TargetVirtualMachineId

This is the complete ARM Id of the target VM For e.g. /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}

UserAssignedManagedIdentityDetails

User Assigned managed identity details Currently used for snapshot.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RestoreContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from RestoreContent)
IJsonModel<RestoreContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from RestoreContent)
IJsonModel<WorkloadRestoreContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<WorkloadRestoreContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RestoreContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from RestoreContent)
IPersistableModel<RestoreContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from RestoreContent)
IPersistableModel<RestoreContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from RestoreContent)
IPersistableModel<WorkloadRestoreContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WorkloadRestoreContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<WorkloadRestoreContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to