1.5

Table Of Contents
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.