1.5

Table Of Contents
Summary of vCloud API vApp and Virtual Machine Operations Requests
These vCloud API operations requests create, manage, operate, and delete vApps and the virtual machines
that they contain.
n
API-URL is a URL of the form https://vcloud.example.com/api.
n
id is a unique identifier in the form of a UUID, as defined by RFC 4122.
n
VApp-or-Vm-URL is a URL of the form API-URL/vApp/vapp-id (for a VApp object) or API-URL/vApp/vm-
id (for a Vm object)
n
Vm-URL is a URL of the form API-URL/vApp/vm-id
Request URLs are always available when you GET the representation of the object on which they operate. URL
forms shown in the table are for reference purposes only. For more information about the requests and
responses for each operation, see “About the Schema Reference Downloadable Archive,” on page 19.
Table 5-1. Summary of vCloud API Operations Requests
Operation Request Request Body Response
Instantiate a vApp template POST API-URL/vdc/id/
action/instantiateVAppTe
mplate
InstantiateVAppTemplat
eParams
VApp
Compose a vApp POST API-URL/vdc/id/
action/composeVApp
ComposeVAppParams VApp
Recompose a vApp to add or
remove virtual machines
POST API-
URL/vApp/vapp-id/
action/recomposeVApp
RecomposeVAppParams Task
Deploy a vApp or Virtual
Machine
POST VApp-or-Vm-
URL/action/deploy
DeployVAppParams Task
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
[NEW]
GET VApp-or-Vm-
URL/productSections
None
ProductSectionList
Update product sections of a
vApp or virtual machine
[NEW]
PUT VApp-or-Vm-
URL/productSections
ProductSectionList Task
Chapter 5 Deploying and Operating vApps
VMware, Inc. 77