IaasVMRestoreWithRehydrationRequest 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
IaasVMRestoreWithRehydrationRequest() |
Initializes a new instance of the IaasVMRestoreWithRehydrationRequest class. |
IaasVMRestoreWithRehydrationRequest(String, String, String, String, String, String, String, String, String, String, String, Nullable<Boolean>, Nullable<Boolean>, EncryptionDetails, IList<Nullable<Int32>>, Nullable<Boolean>, String, IList<String>, IdentityInfo, IdentityBasedRestoreDetails, RecoveryPointRehydrationInfo) |
Initializes a new instance of the IaasVMRestoreWithRehydrationRequest class. |
IaasVMRestoreWithRehydrationRequest()
Initializes a new instance of the IaasVMRestoreWithRehydrationRequest class.
public IaasVMRestoreWithRehydrationRequest ();
Public Sub New ()
Applies to
IaasVMRestoreWithRehydrationRequest(String, String, String, String, String, String, String, String, String, String, String, Nullable<Boolean>, Nullable<Boolean>, EncryptionDetails, IList<Nullable<Int32>>, Nullable<Boolean>, String, IList<String>, IdentityInfo, IdentityBasedRestoreDetails, RecoveryPointRehydrationInfo)
Initializes a new instance of the IaasVMRestoreWithRehydrationRequest class.
public IaasVMRestoreWithRehydrationRequest (string recoveryPointId = default, string recoveryType = default, string sourceResourceId = default, string targetVirtualMachineId = default, string targetResourceGroupId = default, string storageAccountId = default, string virtualNetworkId = default, string subnetId = default, string targetDomainNameId = default, string region = default, string affinityGroup = default, bool? createNewCloudService = default, bool? originalStorageAccountOption = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.EncryptionDetails encryptionDetails = default, System.Collections.Generic.IList<int?> restoreDiskLunList = default, bool? restoreWithManagedDisks = default, string diskEncryptionSetId = default, System.Collections.Generic.IList<string> zones = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.IdentityInfo identityInfo = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.IdentityBasedRestoreDetails identityBasedRestoreDetails = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.RecoveryPointRehydrationInfo recoveryPointRehydrationInfo = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.Models.IaasVMRestoreWithRehydrationRequest : string * string * string * string * string * string * string * string * string * string * string * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.RecoveryServices.Backup.Models.EncryptionDetails * System.Collections.Generic.IList<Nullable<int>> * Nullable<bool> * string * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.RecoveryServices.Backup.Models.IdentityInfo * Microsoft.Azure.Management.RecoveryServices.Backup.Models.IdentityBasedRestoreDetails * Microsoft.Azure.Management.RecoveryServices.Backup.Models.RecoveryPointRehydrationInfo -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.IaasVMRestoreWithRehydrationRequest
Public Sub New (Optional recoveryPointId As String = Nothing, Optional recoveryType As String = Nothing, Optional sourceResourceId As String = Nothing, Optional targetVirtualMachineId As String = Nothing, Optional targetResourceGroupId As String = Nothing, Optional storageAccountId As String = Nothing, Optional virtualNetworkId As String = Nothing, Optional subnetId As String = Nothing, Optional targetDomainNameId As String = Nothing, Optional region As String = Nothing, Optional affinityGroup As String = Nothing, Optional createNewCloudService As Nullable(Of Boolean) = Nothing, Optional originalStorageAccountOption As Nullable(Of Boolean) = Nothing, Optional encryptionDetails As EncryptionDetails = Nothing, Optional restoreDiskLunList As IList(Of Nullable(Of Integer)) = Nothing, Optional restoreWithManagedDisks As Nullable(Of Boolean) = Nothing, Optional diskEncryptionSetId As String = Nothing, Optional zones As IList(Of String) = Nothing, Optional identityInfo As IdentityInfo = Nothing, Optional identityBasedRestoreDetails As IdentityBasedRestoreDetails = Nothing, Optional recoveryPointRehydrationInfo As RecoveryPointRehydrationInfo = Nothing)
Parameters
- recoveryPointId
- String
ID of the backup copy to be recovered.
- recoveryType
- String
Type of this recovery. Possible values include: 'Invalid', 'OriginalLocation', 'AlternateLocation', 'RestoreDisks', 'Offline'
- sourceResourceId
- String
Fully qualified ARM ID of the VM which is being recovered.
- targetVirtualMachineId
- String
This is the complete ARM Id of the VM that will be created. For e.g. /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
- targetResourceGroupId
- String
This is the ARM Id of the resource group that you want to create for this Virtual machine and other artifacts. For e.g. /subscriptions/{subId}/resourcegroups/{rg}
- storageAccountId
- String
Fully qualified ARM ID of the storage account to which the VM has to be restored.
- virtualNetworkId
- String
This is the virtual network Id of the vnet that will be attached to the virtual machine. User will be validated for join action permissions in the linked access.
- subnetId
- String
Subnet ID, is the subnet ID associated with the to be restored VM. For Classic VMs it would be {VnetID}/Subnet/{SubnetName} and, for the Azure Resource Manager VMs it would be ARM resource ID used to represent the subnet.
- targetDomainNameId
- String
Fully qualified ARM ID of the domain name to be associated to the VM being restored. This applies only to Classic Virtual Machines.
- region
- String
Region in which the virtual machine is restored.
- affinityGroup
- String
Affinity group associated to VM to be restored. Used only for Classic Compute Virtual Machines.
Should a new cloud service be created while restoring the VM. If this is false, VM will be restored to the same cloud service as it was at the time of backup.
- encryptionDetails
- EncryptionDetails
Details needed if the VM was encrypted at the time of backup.
Flag to denote of an Unmanaged disk VM should be restored with Managed disks.
- diskEncryptionSetId
- String
DiskEncryptionSet's ID - needed if the VM needs to be encrypted at rest during restore with customer managed key.
- identityInfo
- IdentityInfo
Managed Identity information required to access customer storage account.
- identityBasedRestoreDetails
- IdentityBasedRestoreDetails
IaaS VM workload specific restore details for restores using managed identity.
- recoveryPointRehydrationInfo
- RecoveryPointRehydrationInfo
RP Rehydration Info
Applies to
Azure SDK for .NET