다음을 통해 공유


IaasVmRestoreContent Class

Definition

IaaS VM workload-specific restore. Please note IaasVmRestoreContent is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include IaasVmRestoreWithRehydrationContent.

public class IaasVmRestoreContent : Azure.ResourceManager.RecoveryServicesBackup.Models.RestoreContent
type IaasVmRestoreContent = class
    inherit RestoreContent
Public Class IaasVmRestoreContent
Inherits RestoreContent
Inheritance
IaasVmRestoreContent
Derived

Constructors

IaasVmRestoreContent()

Initializes a new instance of IaasVmRestoreContent.

Properties

AffinityGroup

Affinity group associated to VM to be restored. Used only for Classic Compute Virtual Machines.

DiskEncryptionSetId

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

DoesCreateNewCloudService

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.

DoesRestoreWithManagedDisks

Flag to denote of an Unmanaged disk VM should be restored with Managed disks.

EncryptionDetails

Details needed if the VM was encrypted at the time of backup.

ExtendedLocation

Target extended location where the VM should be restored, should be null if restore is to be done in public cloud

IdentityBasedRestoreDetails

IaaS VM workload specific restore details for restores using managed identity.

IdentityInfo

Managed Identity information required to access customer storage account.

OriginalStorageAccountOption

Original Storage Account Option.

RecoveryPointId

ID of the backup copy to be recovered.

RecoveryType

Type of this recovery.

Region

Region in which the virtual machine is restored.

RestoreDiskLunList

List of Disk LUNs for partial restore.

SecuredVmOSDiskEncryptionSetId

Gets or Sets Disk Encryption Set Id for Secured VM OS Disk.

SourceResourceId

Fully qualified ARM ID of the VM which is being recovered.

StorageAccountId

Fully qualified ARM ID of the storage account to which the VM has to be restored.

SubnetId

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.

TargetDiskNetworkAccessSettings

Specifies target network access settings for disks of VM to be restored,.

TargetDomainNameId

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

TargetResourceGroupId

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

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

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

Target zone where the VM and its disks should be restored.

Applies to