1.5

Table Of Contents
Example: Remove a Resource Pool From a Provider vDC
This request removes one of the two resource pools shown in “Retrieve a Provider vDC Resource Pool Set,”
on page 176. The resource pool removed is the one that contains <vmext:Primary>false</vmext:Primary>. The
response is a task.
Request:
POST https://vcloud.example.com/api/admin/extension/providervdc/35/action/updateResourcePools
Content-Type: application/vnd.vmware.admin.resourcePoolSetUpdateParams+xml
...
<?xml version="1.0" encoding="UTF-8"?>
<vmext:UpdateResourcePoolSetParams
xmlns:vmext="http://www.vmware.com/vcloud/extension/v1.5"
xmlns:vcloud="http://www.vmware.com/vcloud/v1.5">
<vmext:DeleteItem
href="https://vcloud.example.com/api/admin/extension/resourcePool/66" />
</vmext:UpdateResourcePoolSetParams>
Response:
202 Accepted
Content-Type: application/vnd.vmware.vcloud.task+xml
...
<Task ... >
...
</Task>
Create an External Network
An external network is a reference to a portgroup on a vCenter server attached to vCloud Director. To create
an external network, a system administrator must specify the vCenter server and a portgroup associated with
it. External networks provide support for bridged organization networks.
Only a system administrator can create an external network. A system administrator can modify an external
network to change properties such as its description, but cannot change the portgroup that backs the network.
An organization administrator can retrieve the a read-only representation of an external network to examine
its properties.
Prerequisites
n
Verify that you are logged in as a system administrator.
n
Retrieve the list of available portgroups. See “Retrieve a List of Network Resources from a vCenter
Server,” on page 170.
Procedure
1 Retrieve the XML representation of the vSphere platform extensions.
Use a request like this one.
GET https://vcloud.example.com/api/admin/extension
vCloud API Programming Guide
180 VMware, Inc.