5.1

Table Of Contents
n
“Operate a vApp,” on page 96
n
“Configuring vApps and Virtual Machines,” on page 97
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
IMPORTANT Request URLs are always available in Link elements contained by the representation of the object
on which they operate. URL forms shown here are for reference purposes only. Although URLs have a well-
known syntax and a well-understood interpretation, a client should treat vCloud API request URLs as opaque
strings. The rules that govern how the server constructs these strings might change in future releases.
This summary may not cover all requests in this category. For the complete list of requests, along with detailed
information about input and output types, see the Operations lists in the schema reference.
Table 5-1. Summary of vApp and Virtual Machine Operations Requests
Operation Request Request Body Response
Instantiate a vApp template
to create a vApp
POST API-URL/vdc/id/
action/instantiateVAppTe
mplate
InstantiateVAppTemplat
eParams
VApp
Change the name or
description of a vApp.
PUT API-URL/vApp/vapp-
id
VApp Task
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
Chapter 5 Deploying and Operating vApps
VMware, Inc. 83