Udostępnij za pośrednictwem


IaasVMRestoreRequest Class

Definition

IaaS VM workload-specific restore.

public class IaasVMRestoreRequest : Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.RestoreRequest
type IaasVMRestoreRequest = class
    inherit RestoreRequest
Public Class IaasVMRestoreRequest
Inherits RestoreRequest
Inheritance
IaasVMRestoreRequest

Constructors

IaasVMRestoreRequest()

Initializes a new instance of the IaasVMRestoreRequest class.

IaasVMRestoreRequest(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)

Initializes a new instance of the IaasVMRestoreRequest class.

Properties

AffinityGroup

Gets or sets affinity group associated to VM to be restored. Used only for Classic Compute Virtual Machines.

CreateNewCloudService

Gets or sets 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.

DiskEncryptionSetId

Gets or sets diskEncryptionSet's ID - needed if the VM needs to be encrypted at rest during restore with customer managed key.

EncryptionDetails

Gets or sets details needed if the VM was encrypted at the time of backup.

IdentityBasedRestoreDetails

Gets or sets iaaS VM workload specific restore details for restores using managed identity.

IdentityInfo

Gets or sets managed Identity information required to access customer storage account.

OriginalStorageAccountOption

Gets or sets original Storage Account Option

RecoveryPointId

Gets or sets ID of the backup copy to be recovered.

RecoveryType

Gets or sets type of this recovery. Possible values include: 'Invalid', 'OriginalLocation', 'AlternateLocation', 'RestoreDisks', 'Offline'

Region

Gets or sets region in which the virtual machine is restored.

RestoreDiskLunList

Gets or sets list of Disk LUNs for partial restore

RestoreWithManagedDisks

Gets or sets flag to denote of an Unmanaged disk VM should be restored with Managed disks.

SourceResourceId

Gets or sets fully qualified ARM ID of the VM which is being recovered.

StorageAccountId

Gets or sets fully qualified ARM ID of the storage account to which the VM has to be restored.

SubnetId

Gets or sets 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

Gets or sets fully qualified ARM ID of the domain name to be associated to the VM being restored. This applies only to Classic Virtual Machines.

TargetResourceGroupId

Gets or sets 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}

TargetVirtualMachineId

Gets or sets 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}

VirtualNetworkId

Gets or sets 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.

Zones

Gets or sets target zone where the VM and its disks should be restored.

Applies to