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
Table 7-1. Summary of vSphere Platform Extension Requests (Continued)
Operation Request Request Body Response
Import a virtual machine
from vCenter as a vApp
template.
POST API-
URL/admin/extension/
vimServer/
id/importVmAsVappTemp
late
ImportVmAsVAppTemplate
Params
VAppTemplate
Retrieve the representation of
a datastore. [NEW]
GET API-
URL/admin/extension/data
store/id
None
Datastore
Enable a datastore. [NEW] POST API-
URL/admin/extension/data
store/id/action/enable
None
Datastore
Disable a datastore. [NEW] POST API-
URL/admin/extension/data
store/id/action/disable
None
Datastore
Update a datastore. [NEW] PUT API-
URL/admin/extension/data
store/id
Datastore Datastore
Delete a datastore. [NEW] DELETE API-
URL/admin/extension/data
store/id
None 204 No Content
Import a virtual machine
from vCenter into an existing
vApp. [NEW]
POST API-
URL/admin/extension/
vimServer/
id/importVmIntoExistingV
App
ImportVmIntoExistingVA
ppParams
Task
Import a media image from
vCenter. [NEW]
POST API-
URL/admin/extension/
vimServer/id/importMedia
ImportMediaParams Media
Enable a resource pool.
[NEW]
POST API-
URL/admin/extension/reso
urcePool/id/action/enable
None 204 No Content
Disable a resource pool.
[NEW]
POST API-
URL/admin/extension/reso
urcePool/id/action/disable
None 204 No Content
Place a vApp in maintenance
mode to prevent users from
changing vApp metadata.
[NEW]
POST API-
URL/vApp/
id/action/enterMaintenanc
eMode
None 204 No Content
Remove a vApp from
maintenance mode. [NEW]
POST API-
URL/vApp/
id/action/exitMaintenance
Mode
None 204 No Content
Relocate a virtual machine in
a vApp template to a
different datastore. [NEW]
POST API-
URL/vAppTemplate/vm-
id/action/relocate
RelocateParams Task
Relocate a virtual machine to
a different datastore. [NEW]
POST API-URL/vApp/vm-
id/action/relocate
RelocateParams Task
vCloud API Programming Guide
164 VMware, Inc.