You can delete a VM in any state, including the running state. To avoid data loss, be cautious when you delete a VM. Shut down the VM if the VM is running.
Before you delete a VM, make sure the VM is not in use, and will not be used any more.
If you have deleted a VM that has block devices, you cannot import it through a backup file.
If you select Low-Level Format and Delete Data Storage Files when you delete a VM, the system performs low-level format for and then delete the data storage files. If the storage volume is large, it might take a long time. Please use this option with caution. As a best practice, do not select the formatting the disk and deleting data files option for non-sensitive data. If you have to select this option, make sure the data files will not be used any more.
If the image file of a VM is saved in a level-2 directory not in use by other VMs in a file storage pool, deleting the VM also deletes the directory.
On the top navigation bar, click Resources.
From the left navigation pane, select Compute > Host Pool Name > Host Name > VM Name or Compute > Host Pool Name > Cluster Name > Host Name > VM Name.
Click More, and then select Delete.
In the dialog box that opens, select a deletion mode.
If you select the Move to Recycle Bin or Leave Data Storage File option, click OK. In the dialog box that opens, click OK.