5.1

Table Of Contents
Create a Provider vDC
A Provider vDC is a collection of compute, memory, and storage resources from one vCenter. A Provider vDC
provides resources to organization vDCs.
A Provider vDC is represented as a VMWProviderVdc element in the extension view and a ProviderVdc element
in the admin view. A system administrator can create a VMWProviderVdc or modify it to add or remove
datastores, storage profiles, and resource pools, or change other properties such as its description. A system
administrator cannot change the primary resource pool or vCenter server that was specified when the Provider
vDC was created. An organization administrator can retrieve a read-only representation of a Provider vDC in
a ProviderVdc element. The ProviderVdc element includes a subset of the elements and attributes that are visible
in the corresponding VMWProviderVdc.
Prerequisites
n
Verify that you are logged in to the vCloud API as a system administrator.
n
Choose a vCenter server to supply a resource pool and storage profiles to this Provider vDC. See “Finding
Available vCenter Resources,” on page 200.
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
2 Examine the response to locate the Link element that contains the URL for adding Provider vDCs to the
cloud.
This element has a rel attribute value of add and a type attribute value of
application/vnd.vmware.admin.createProviderVdcParams+xml, as shown here:
<Link
type="application/vnd.vmware.admin.createProviderVdcParams+xml"
rel="add"
href="https://vcloud.example.com/api/admin/extension/providervdcsparams"/>
3 Create a VMWProviderVdcParams element that specifies the properties of the Provider vDC.
a Include a VimServer element that references the vCenter server that you have chosen to supply a
resource pool and storage profiles to this Provider vDC.
b Include a ResourcePoolRefs element that specifies one resource pool.
The ResourcePoolRef must contain the href attribute value of the VimServer element you created in
Step 3a, as well as the MoRef and VimObjectType values of the resource pool as they appear in the
ResourcePool and element from the resource pool list. See the request portion of “Example: Create a
Provider vDC,” on page 210.
NOTE You must specify exactly one resource pool when you create the Provider vDC. You can add
more resource pools after the Provider vDC is created.
c Include at least one StorageProfile element that contains the name of a storage profile that has been
defined on the vCenter server referenced in the VimServer element you created in Step 3a.
4 POST the VMWProviderVdc element you created in Step 3 to the URL described in Step 2.
See the request portion of “Example: Create a Provider vDC,” on page 210.
Chapter 7 Managing and Monitoring a Cloud
VMware, Inc. 209