Udostępnij za pośrednictwem


AzureWorkloadRestoreRequest Class

Definition

AzureWorkload-specific restore.

public class AzureWorkloadRestoreRequest : Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.RestoreRequest
type AzureWorkloadRestoreRequest = class
    inherit RestoreRequest
Public Class AzureWorkloadRestoreRequest
Inherits RestoreRequest
Inheritance
AzureWorkloadRestoreRequest
Derived

Constructors

AzureWorkloadRestoreRequest()

Initializes a new instance of the AzureWorkloadRestoreRequest class.

AzureWorkloadRestoreRequest(String, String, IDictionary<String,String>, TargetRestoreInfo, String, String)

Initializes a new instance of the AzureWorkloadRestoreRequest class.

Properties

PropertyBag

Gets or sets workload specific property bag.

RecoveryMode

Gets or sets defines whether the current recovery mode is file restore or database restore. Possible values include: 'Invalid', 'FileRecovery', 'WorkloadRecovery'

RecoveryType

Gets or sets type of this recovery. Possible values include: 'Invalid', 'OriginalLocation', 'AlternateLocation', 'RestoreDisks', 'Offline'

SourceResourceId

Gets or sets fully qualified ARM ID of the VM on which workload that was running is being recovered.

TargetInfo

Gets or sets details of target database

TargetVirtualMachineId

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

Applies to