1.5

Table Of Contents
type="application/vnd.vmware.admin.vmwvirtualcenter+xml"
href="https://vcloud.example.com/api/admin/extension/vimServer/9" />
<vmext:MoRef>resgroup-235</vmext:MoRef>
<vmext:VimObjectType>RESOURCE_POOL</vmext:VimObjectType>
</vmext:ResourcePoolVimObjectRef>
<vmext:ResourcePoolRef
type="application/vnd.vmware.admin.vmwProviderVdcResourcePool+xml"
href="https://vcloud.example.com/api/admin/extension/resourcePool/66 />
<vmext:Enabled>true</vmext:Enabled>
<vmext:Primary>false</vmext:Primary>
</vmext:VMWProviderVdcResourcePool>
</vmext:VMWProviderVdcResourcePoolSet>
Add Resource Pools to a Provider vDC
A system administrator can add secondary resource pools to an existing Provider vDC. Adding resource pools
allows organization vDCs that reference the Provider vDC to provide additional resources.
When you create a Provider vDC, it initially contains one resource pool, called the primary resource pool.
Adding secondary resource pools allows a Provider vDC to support additional resource elasticity in all
AllocationVApp (pay as you go) organization vDCs that it supports. Resource elasticity in an organization vDC
means that the vDC's capacity to support compute resources can grow or shrink on demand.
Secondary resource pools must come from the vCenter server that provides the primary resource pool. See
“Retrieve a List of Resource Pools from a vCenter Server,” on page 168.
Prerequisites
Verify that you are logged in as a system administrator.
Procedure
1 Retrieve the XML representation of the Provider vDC.
Use a request like this one:
GET https://vcloud.example.com/api/admin/extension/providervdc/35
2 Locate the updateResourcePools link in the VMWProviderVdc.
Every VMWProviderVdc element includes an action link like this one to the Provider vDC's
updateResourcePools action.
<Link
rel="update:resourcePools"
type="application/vnd.vmware.admin.vmwProviderVdcResourcePoolSet+xml"
href="https://vcloud.example.com/api/admin/extension/providervdc/35/action/updateResourcePool
s"/>
3 Retrieve the resource pool list from the Provider vDC.
The VMWProviderVdcResourcePoolSet contains references to the Provider vDC's existing resource pools
and the vCenter server that hosts them.
4 Choose another resource pool from the same vCenter server.
5 Create an UpdateResourcePoolSetParams element that contains an AddItem element for each resource pool
to add.
6 POST the UpdateResourcePoolSetParams element you created in Step 5 to the Provider vDC's
resourcePools link shown in Step 2.
vCloud API Programming Guide
178 VMware, Inc.