1.5
Table Of Contents
- vCloud API Programming Guide
- Contents
- vCloud API Programming Guide
- About the VMware vCloud API
- Hello vCloud: A Simplified RESTful Workflow
- Exploring a Cloud
- Provisioning an Organization with vApps, Templates, and Media
- Deploying and Operating vApps
- Summary of vCloud API vApp and Virtual Machine Operations Requests
- Create a vApp From a Template
- Compose a vApp From Existing Virtual Machines
- Recompose a vApp to Add or Remove Virtual Machines
- Operate a vApp
- Configuring vApps and Virtual Machines
- Retrieve the Configuration Links for a vApp
- Retrieve the Configuration Links for a Virtual Machine
- Retrieve or Update a Modifiable Section
- Update a vApp Network Configuration
- Update the NetworkConnectionSection of a Virtual Machine
- Retrieve or Modify the CPU Configuration of a Virtual Machine
- Retrieve or Modify the GuestCustomizationSection of a Virtual Machine
- Retrieve or Modify ProductSection Elements
- Retrieve or Modify Groups of Related Sections in a Virtual Machine
- Retrieve or Modify the Hard Disk Configuration of a Virtual Machine
- Creating, Provisioning, and Managing Organizations
- Summary of Administrative Requests
- Administrator Credentials and Privileges
- Organization Administration
- Network Administration
- vDC Administration
- Catalog Administration
- User and Group Administration
- Working With Roles and Rights
- Controlling Access to vApps and Catalogs
- Using vCloud API Extensions to Provision and Manage a Cloud
- Working With Object Metadata
- Using the Query Service
- Configuring and Using Blocking Tasks and Notifications
- XML Representations in the vCloud API
- Index
vDC Administration
A newly created organization has no vDCs in it. A system administrator must use system resources to create
them.
A virtual datacenter (vDC) is a deployment environment for virtual systems and an allocation mechanism for
resources such as networks, storage, CPU, and memory. In a vDC, computing resources are fully virtualized,
and can be allocated based on demand, service level requirements, or a combination of the two.
vDC administration involves the following objects:
n
A ProviderVdc, which a system administrator creates from vSphere platform resources. See “Create a
Provider vDC,” on page 173.
n
An AdminVdc, which a system administrator creates to allocate a subset of ProviderVdc resources to a vDC
in a specific organization. Organization members see an AdminVdc as a Vdc.
Add a vDC to an Organization
A system administrator can allocate resources from a provider vDC to a vDC in an organization by POSTing
an AdminVdc element to an organization’s add URL for vdcs.
Prerequisites
Verify that you are logged in as a system administrator.
Procedure
1 Retrieve the XML representation of the organization to which you want to add the vDC.
Use a request like this one:
GET https://vcloud.example.com/api/admin/org/26
2 Examine the response to locate the Link element that contains the URL for adding vDCs to the organization.
This element has a rel attribute value of add and a type attribute value of
application/vnd.vmware.admin.vdc+xml, as shown here:
<Link
href="https://vcloud.example.com/api/admin/org/5/vdcs"
rel="add"
type="application/vnd.vmware.admin.vdc+xml"/>
Chapter 6 Creating, Provisioning, and Managing Organizations
VMware, Inc. 139