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
<Features>
<DhcpService>
<IsEnabled>false</IsEnabled>
<DefaultLeaseTime>3600</DefaultLeaseTime>
<MaxLeaseTime>7200</MaxLeaseTime>
<IpRange>
<StartAddress>192.168.0.2</StartAddress>
<EndAddress>192.168.0.99</EndAddress>
</IpRange>
</DhcpService>
</Features>
</Configuration>
<NetworkPool
name="VC1-POOL"
href="https://10.147.23.1/api/admin/extension/networkPool/203" />
</OrgNetwork>
The response echoes the request, and includes a Task element that tracks creation of the object and links that
an administrator can use to manage it after it is created.
Response:
201 Created
Content-Type: application/vnd.vmware.admin.orgNetwork+xml
...
<OrgNetwork
xmlns="http://www.vmware.com/vcloud/v1.5"
name="IsolatedOrgNet"
type="application/vnd.vmware.admin.orgNetwork+xml"
id="urn:vcloud:network:60"
href="https://vcloud.example.com/api/admin/network/60" ...>
<Link
rel="alternate"
type="application/vnd.vmware.vcloud.network+xml"
href="https://vcloud.example.com/api/network/60" />
<Link
rel="up"
type="application/vnd.vmware.admin.organization+xml"
href="https://vcloud.example.com/api/admin/org/26" />
<Link
rel="down"
type="application/vnd.vmware.vcloud.metadata+xml"
href="https://vcloud.example.com/api/admin/network/60/metadata" />
<Description>Isolated Organization Network</Description>
<Tasks>
<Task ...
operation="Creating Network IsolatedOrgNet (60)" ... >
</Task>
</Tasks>
<Configuration>
...
</Configuration>
</OrgNetwork>
Chapter 6 Creating, Provisioning, and Managing Organizations
VMware, Inc. 137