共用方式為


AzureWorkloadSQLRestoreWithRehydrateRequest Constructors

Definition

Overloads

AzureWorkloadSQLRestoreWithRehydrateRequest()

Initializes a new instance of the AzureWorkloadSQLRestoreWithRehydrateRequest class.

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

Initializes a new instance of the AzureWorkloadSQLRestoreWithRehydrateRequest class.

AzureWorkloadSQLRestoreWithRehydrateRequest()

Initializes a new instance of the AzureWorkloadSQLRestoreWithRehydrateRequest class.

public AzureWorkloadSQLRestoreWithRehydrateRequest ();
Public Sub New ()

Applies to

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

Initializes a new instance of the AzureWorkloadSQLRestoreWithRehydrateRequest class.

public AzureWorkloadSQLRestoreWithRehydrateRequest (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, Microsoft.Azure.Management.RecoveryServices.Backup.Models.RecoveryPointRehydrationInfo recoveryPointRehydrationInfo = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.Models.AzureWorkloadSQLRestoreWithRehydrateRequest : 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.RecoveryPointRehydrationInfo -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.AzureWorkloadSQLRestoreWithRehydrateRequest
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, Optional recoveryPointRehydrationInfo As RecoveryPointRehydrationInfo = 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

recoveryPointRehydrationInfo
RecoveryPointRehydrationInfo

RP Rehydration Info

Applies to