AzureWorkloadRestoreRequest 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
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. |
AzureWorkloadRestoreRequest()
Initializes a new instance of the AzureWorkloadRestoreRequest class.
public AzureWorkloadRestoreRequest ();
Public Sub New ()
Applies to
AzureWorkloadRestoreRequest(String, String, IDictionary<String,String>, TargetRestoreInfo, String, String)
Initializes a new instance of the AzureWorkloadRestoreRequest class.
public AzureWorkloadRestoreRequest (string recoveryType = default, string sourceResourceId = default, System.Collections.Generic.IDictionary<string,string> propertyBag = default, Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.TargetRestoreInfo targetInfo = default, string recoveryMode = default, string targetVirtualMachineId = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.AzureWorkloadRestoreRequest : string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.TargetRestoreInfo * string * string -> Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.AzureWorkloadRestoreRequest
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)
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}