1.5
Table Of Contents
- vCloud API Programming Guide
- Contents
- vCloud API Programming Guide
- About the VMware vCloud API
- Hello vCloud: A Simplified RESTful Workflow
- Exploring a Cloud
- Provisioning an Organization with vApps, Templates, and Media
- Deploying and Operating vApps
- Summary of vCloud API vApp and Virtual Machine Operations Requests
- Create a vApp From a Template
- Compose a vApp From Existing Virtual Machines
- Recompose a vApp to Add or Remove Virtual Machines
- Operate a vApp
- Configuring vApps and Virtual Machines
- Retrieve the Configuration Links for a vApp
- Retrieve the Configuration Links for a Virtual Machine
- Retrieve or Update a Modifiable Section
- Update a vApp Network Configuration
- Update the NetworkConnectionSection of a Virtual Machine
- Retrieve or Modify the CPU Configuration of a Virtual Machine
- Retrieve or Modify the GuestCustomizationSection of a Virtual Machine
- Retrieve or Modify ProductSection Elements
- Retrieve or Modify Groups of Related Sections in a Virtual Machine
- Retrieve or Modify the Hard Disk Configuration of a Virtual Machine
- Creating, Provisioning, and Managing Organizations
- Summary of Administrative Requests
- Administrator Credentials and Privileges
- Organization Administration
- Network Administration
- vDC Administration
- Catalog Administration
- User and Group Administration
- Working With Roles and Rights
- Controlling Access to vApps and Catalogs
- Using vCloud API Extensions to Provision and Manage a Cloud
- Working With Object Metadata
- Using the Query Service
- Configuring and Using Blocking Tasks and Notifications
- XML Representations in the vCloud API
- Index
n
An undeployed vApp, created when a vApp template is instantiated without also being deployed, or a
deployed vApp is undeployed.
n
A deployed vApp, ready to be powered on and operated. Instantiation can include deployment, power-
on, or both.
Figure 5-1. vApp State Transitions
descriptor.ovf
OVF package
<VApp Template...status=”8”
href=”http://.../vapp Template-3”>
...
...
</VApp Template>
instantiate
<VApp...status=”8” deployed=“false”
href=”http://.../vapp-9”>
...
<Link rel=”deploy”...>
...
</VApp>
deploy
disk0.vmdk
upload
vApp
template
vApp
<VApp...status=”8” deployed=“true”
href=”http://.../vapp-9”>
...
<Link rel=”power:powerOn”...>
...
</VApp>
vApp
This chapter includes the following topics:
n
“Summary of vCloud API vApp and Virtual Machine Operations Requests,” on page 77
n
“Create a vApp From a Template,” on page 78
n
“Compose a vApp From Existing Virtual Machines,” on page 80
n
“Recompose a vApp to Add or Remove Virtual Machines,” on page 83
n
“Operate a vApp,” on page 85
n
“Configuring vApps and Virtual Machines,” on page 86
vCloud API Programming Guide
76 VMware, Inc.