VmInfo interface

The properties of information of a VM

Properties

attachAndSwapOsDisk

The identifier to check if to attach and swap disk of the VM.

name

The name of the VM.

networkId

The network Id of the VM.

powerOnVmAfterRestore

The identifier to check if VM needs to be powered on.

region

The region of the VM.

resourceGroup

The resource group of the VM.

sourceVmGuid

The GUID of VM to be restored.

storageAccountId

The storage account to be used for restore.

subnetId

The subnet Id of the VM.

targetVmGuid

The GUID of target VM used in DISK ATTACH.

vmtags

The vmTag of the VM.

Property Details

attachAndSwapOsDisk

The identifier to check if to attach and swap disk of the VM.

attachAndSwapOsDisk?: boolean

Property Value

boolean

name

The name of the VM.

name?: string

Property Value

string

networkId

The network Id of the VM.

networkId?: string

Property Value

string

powerOnVmAfterRestore

The identifier to check if VM needs to be powered on.

powerOnVmAfterRestore?: boolean

Property Value

boolean

region

The region of the VM.

region?: string

Property Value

string

resourceGroup

The resource group of the VM.

resourceGroup?: string

Property Value

string

sourceVmGuid

The GUID of VM to be restored.

sourceVmGuid: string

Property Value

string

storageAccountId

The storage account to be used for restore.

storageAccountId: string

Property Value

string

subnetId

The subnet Id of the VM.

subnetId?: string

Property Value

string

targetVmGuid

The GUID of target VM used in DISK ATTACH.

targetVmGuid?: string

Property Value

string

vmtags

The vmTag of the VM.

vmtags?: VmTag[]

Property Value

VmTag[]