5.1

Table Of Contents
Table 7-1. Summary of vSphere Platform Extension Requests (Continued)
Operation Request Request Body Response
Retrieve a network pool. GET API-
URL/admin/extension/net
workPool/id
None
VMWNetworkPool
Update a network pool. PUT API-
URL/admin/extension/net
workPool/id
VMWNetworkPool VMWNetworkPool
Delete a network pool. DELETE API-
URL/admin/extension/net
workPool/id
None
Task
Import a virtual machine
from vCenter as a vApp.
POST API-
URL/admin/extension/
vimServer/
id/importVmAsVapp
ImportVmAsVAppParams VApp
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.
GET API-
URL/admin/extension/data
store/id
None
Datastore
Enable a datastore. POST API-
URL/admin/extension/data
store/id/action/enable
None
Datastore
Disable a datastore. POST API-
URL/admin/extension/data
store/id/action/disable
None
Datastore
Update a datastore. PUT API-
URL/admin/extension/data
store/id
Datastore Datastore
Delete a datastore. DELETE API-
URL/admin/extension/data
store/id
None 204 No Content
Import a virtual machine
from vCenter into an existing
vApp.
POST API-
URL/admin/extension/
vimServer/
id/importVmIntoExistingV
App
ImportVmIntoExistingVA
ppParams
Task
Import a media image from
vCenter.
POST API-
URL/admin/extension/vim
Server/id/importMedia
ImportMediaParams Media
Enable a resource pool. POST API-
URL/admin/extension/reso
urcePool/id/action/enable
None 204 No Content
Disable a resource pool. 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.
POST API-
URL/vApp/
id/action/enterMaintenanc
eMode
None 204 No Content
vCloud API Programming Guide
196 VMware, Inc.