Vcenter Vm Hardware Disk APIs

Vcenter Vm Hardware Disk APIs

The Vcenter Vm Hardware Disk resource provides operations for configuring the virtual disks of a virtual machine. A virtual disk has a backing such as a VMDK file. The backing has an independent lifecycle from the virtual machine when it is detached from the virtual machine. The POST /vcenter/vm/{vm}/hardware/disk operation provides the ability to create a new virtual disk. When creating a virtual disk, a new VMDK file may be created or an existing VMDK file may used as a backing. Once a VMDK file is associated with a virtual machine, its lifecycle will be bound to the virtual machine. In other words, it will be deleted when the virtual machine is deleted. The DELETE /vcenter/vm/{vm}/hardware/disk/{disk} operation provides the ability to detach a VMDK file from the virtual machine. The DELETE /vcenter/vm/{vm}/hardware/disk/{disk} operation does not delete the VMDK file that backs the virtual disk. Once detached, the VMDK file will not be destroyed when the virtual machine to which it was associated is deleted.

Operations
GET
Vcenter Vm Hardware Disk list
POST
Vcenter Vm Hardware Disk create
GET
Vcenter Vm Hardware Disk get
DELETE
Vcenter Vm Hardware Disk delete
PATCH
Vcenter Vm Hardware Disk update