Share via


AzureWorkloadSQLRestoreRequest Class

Definition

AzureWorkload SQL -specific restore. Specifically for full/diff restore

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

Constructors

AzureWorkloadSQLRestoreRequest()

Initializes a new instance of the AzureWorkloadSQLRestoreRequest class.

AzureWorkloadSQLRestoreRequest(String, String, IDictionary<String, String>, TargetRestoreInfo, String, String, Nullable<Boolean>, Nullable<Boolean>, IList<SQLDataDirectoryMapping>)

Initializes a new instance of the AzureWorkloadSQLRestoreRequest class.

Properties

AlternateDirectoryPaths

Gets or sets data directory details

IsNonRecoverable

Gets or sets SQL specific property where user can chose to set no-recovery when restore operation is tried

PropertyBag

Gets or sets workload specific property bag.

(Inherited from AzureWorkloadRestoreRequest)
RecoveryMode

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

(Inherited from AzureWorkloadRestoreRequest)
RecoveryType

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

(Inherited from AzureWorkloadRestoreRequest)
ShouldUseAlternateTargetLocation

Gets or sets default option set to true. If this is set to false, alternate data directory must be provided

SourceResourceId

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

(Inherited from AzureWorkloadRestoreRequest)
TargetInfo

Gets or sets details of target database

(Inherited from AzureWorkloadRestoreRequest)
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}

(Inherited from AzureWorkloadRestoreRequest)

Applies to