5.5

Table Of Contents
Table 51. Summary of vApp and Virtual Machine Operations Requests (Continued)
Operation Request Request Body Response
Undeploy a vApp or Virtual
Machine
POST VApp-or-Vm-
URL/action/undeploy
UndeployVAppParams Task
Power On a vApp or Virtual
Machine
POST VApp-or-Vm-
URL/action/powerOn
None
Task
Power Off a vApp or Virtual
Machine
POST VApp-or-Vm-
URL/action/powerOff
None
Task
Reset a vApp or Virtual
Machine
POST VApp-or-Vm-
URL/action/reset
None
Task
Suspend a vApp or Virtual
Machine
POST VApp-or-Vm-
URL/action/suspend
None
Task
Discard the Suspended State
of a vApp or Virtual
Machine
POST VApp-or-Vm-
URL/action/
discardSuspendedState
None
Task
Shut Down a vApp or
Virtual Machine
POST VApp-or-Vm-
URL/action/shutdown
None
Task
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
vCloud API Programming Guide
92 VMware, Inc.