VmInfo interface
The properties of information of a VM
Properties
| attach |
The identifier to check if to attach and swap disk of the VM. |
| name | The name of the VM. |
| network |
The network Id of the VM. |
| power |
The identifier to check if VM needs to be powered on. |
| region | The region of the VM. |
| resource |
The resource group of the VM. |
| source |
The GUID of VM to be restored. |
| storage |
The storage account to be used for restore. |
| subnet |
The subnet Id of the VM. |
| target |
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