5.1

Table Of Contents
Table 5-1. Summary of vApp and Virtual Machine Operations Requests (Continued)
Operation Request Request Body Response
Reboot a vApp or Virtual
Machine
POST VApp-or-Vm-
URL/action/reboot
None
Task
Retrieve product sections of a
vApp or virtual machine
GET VApp-or-Vm-
URL/productSections
None
ProductSectionList
Update product sections of a
vApp or virtual machine
PUT VApp-or-Vm-
URL/productSections
ProductSectionList Task
Retrieve product sections of a
vApp template
GET API-
URL/vAppTemplate/vappT
emplate-id/productSections
None
ProductSectionList
Retrieve version of VMware
Tools installed on a virtual
machine
GET Vm-
URL/runtimeInfoSection
None
RuntimeInfoSection
Install VMware Tools on a
virtual machine
POST Vm-
URL/action/installVMware
Tools
None
Task
Consolidate a virtual
machine
POST Vm-
URL/action/consolidate
None
Task
Upgrade the hardware
version of a virtual machine
POST Vm-
URL/action/upgradeHardw
areVersion
None
Task
Insert Media Into a Virtual
Machine
POST Vm-
URL/action/insertMedia
MediaInsertOrEjectPara
ms
Task
Eject Media from a Virtual
Machine
POST Vm-
URL/action/ejectMedia
MediaInsertOrEjectPara
ms
Task
List Media Devices of a
Virtual Machine
GET Vm-URL/
virtualHardwareSection/m
edia
None
RasdItemsList
Get a Request for User Input GET Vm-URL/question None
VmPendingQuestion
Provide Requested User
Input
POST Vm-
URL/question/action/answ
er
VmQuestionAnswer
204 No Content
Get a Screen Thumbnail for a
Virtual Machine
GET Vm-URL/screen None Returns a screen thumbnail
(Content-type: image/png) if
one is available. Otherwise
returns null (Content-Length:
0).
Get a Screen Ticket for a
Virtual Machine
POST Vm-
URL/screen/action/acquire
Ticket
None
ScreenTicket
Attach an independent disk
to a virtual machine. [NEW]
POST Vm-
URL/disk/action/attach
DiskAttachOrDetachPara
ms
Task
Detach an independent disk
from a virtual machine.
[NEW]
POST Vm-
URL/disk/action/detach
DiskAttachOrDetachPara
ms
Task
Create snapshots of all virtual
machines in a vApp. [NEW]
POST API-
URL/vApp/vapp-id/
action/createSnapshot
CreateSnapshotParams Task
Remove snapshots of all
virtual machines in a vApp.
[NEW]
POST API-
URL/vApp/vapp-id/
action/removeAllSnapshots
None
Task
vCloud API Programming Guide
84 VMware, Inc.