AzureWorkloadSQLRestoreRequest Constructors

Definition

Overloads

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.

AzureWorkloadSQLRestoreRequest()

Initializes a new instance of the AzureWorkloadSQLRestoreRequest class.

public AzureWorkloadSQLRestoreRequest ();
Public Sub New ()

Applies to

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

Initializes a new instance of the AzureWorkloadSQLRestoreRequest class.

public AzureWorkloadSQLRestoreRequest (string recoveryType = default, string sourceResourceId = default, System.Collections.Generic.IDictionary<string,string> propertyBag = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.TargetRestoreInfo targetInfo = default, string recoveryMode = default, string targetVirtualMachineId = default, bool? shouldUseAlternateTargetLocation = default, bool? isNonRecoverable = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.Backup.Models.SQLDataDirectoryMapping> alternateDirectoryPaths = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.Models.AzureWorkloadSQLRestoreRequest : string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.RecoveryServices.Backup.Models.TargetRestoreInfo * string * string * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.Backup.Models.SQLDataDirectoryMapping> -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.AzureWorkloadSQLRestoreRequest
Public Sub New (Optional recoveryType As String = Nothing, Optional sourceResourceId As String = Nothing, Optional propertyBag As IDictionary(Of String, String) = Nothing, Optional targetInfo As TargetRestoreInfo = Nothing, Optional recoveryMode As String = Nothing, Optional targetVirtualMachineId As String = Nothing, Optional shouldUseAlternateTargetLocation As Nullable(Of Boolean) = Nothing, Optional isNonRecoverable As Nullable(Of Boolean) = Nothing, Optional alternateDirectoryPaths As IList(Of SQLDataDirectoryMapping) = Nothing)

Parameters

recoveryType
String

Type of this recovery. Possible values include: 'Invalid', 'OriginalLocation', 'AlternateLocation', 'RestoreDisks', 'Offline'

sourceResourceId
String

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

propertyBag
IDictionary<String,String>

Workload specific property bag.

targetInfo
TargetRestoreInfo

Details of target database

recoveryMode
String

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

targetVirtualMachineId
String

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

shouldUseAlternateTargetLocation
Nullable<Boolean>

Default option set to true. If this is set to false, alternate data directory must be provided

isNonRecoverable
Nullable<Boolean>

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

alternateDirectoryPaths
IList<SQLDataDirectoryMapping>

Data directory details

Applies to