AzureWorkloadSQLPointInTimeRestoreRequest Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AzureWorkloadSQLPointInTimeRestoreRequest() |
Initializes a new instance of the AzureWorkloadSQLPointInTimeRestoreRequest class. |
AzureWorkloadSQLPointInTimeRestoreRequest(String, String, IDictionary<String, String>, TargetRestoreInfo, String, String, Nullable<Boolean>, Nullable<Boolean>, IList<SQLDataDirectoryMapping>, Nullable<DateTime>) |
Initializes a new instance of the AzureWorkloadSQLPointInTimeRestoreRequest class. |
AzureWorkloadSQLPointInTimeRestoreRequest()
Initializes a new instance of the AzureWorkloadSQLPointInTimeRestoreRequest class.
public AzureWorkloadSQLPointInTimeRestoreRequest ();
Public Sub New ()
Applies to
AzureWorkloadSQLPointInTimeRestoreRequest(String, String, IDictionary<String, String>, TargetRestoreInfo, String, String, Nullable<Boolean>, Nullable<Boolean>, IList<SQLDataDirectoryMapping>, Nullable<DateTime>)
Initializes a new instance of the AzureWorkloadSQLPointInTimeRestoreRequest class.
public AzureWorkloadSQLPointInTimeRestoreRequest (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, DateTime? pointInTime = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.Models.AzureWorkloadSQLPointInTimeRestoreRequest : 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> * Nullable<DateTime> -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.AzureWorkloadSQLPointInTimeRestoreRequest
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 pointInTime As Nullable(Of DateTime) = 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}
Default option set to true. If this is set to false, alternate data directory must be provided
SQL specific property where user can chose to set no-recovery when restore operation is tried
- alternateDirectoryPaths
- IList<SQLDataDirectoryMapping>
Data directory details