5.5

Table Of Contents
Response:
201 Created
Content-Type: application/vnd.vmware.admin.networkPool+xml
...
<vmext:VMWNetworkPool
xmlns:vmext="http://www.vmware.com/vcloud/extension/v1.5"
xmlns:vcloud="http://www.vmware.com/vcloud/v1.5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="vmext:PortGroupPoolType"
name="example-portgroup-pool"
id="urn:vcloud:networkpool:66"
type="application/vnd.vmware.admin.networkPool+xml"
href="https://vcloud.example.com/api/admin/extension/networkPool/66" ... >
<vcloud:Link
rel="up"
type="application/vnd.vmware.admin.vmwNetworkPoolReferences+xml"
href="https://vcloud.example.com/api/admin/extension/networkPoolReferences" />
<vcloud:Link
rel="edit"
type="application/vnd.vmware.admin.networkPool+xml"
href="https://vcloud.example.com/api/admin/extension/networkPool/66" />
<vcloud:Link
rel="remove"
href="https://vcloud.example.com/api/admin/extension/networkPool/66" />
<vcloud:Description>Example portgroup-backed network pool</vcloud:Description>
<vcloud:Tasks>
<vcloud:Task
status="running"
...
operation="Creating Network Pool 66"
...
</vcloud:Task>
</vcloud:Tasks>
...
</vmext:VMWNetworkPool>
Import a Virtual Machine from vCenter
A system administrator can import virtual machines from the inventory of any vCenter server registered to
vCloud Director. You can import the virtual machines to any VDC in a cloud, and you can import them in
vApp or vApp template form.
When you import a virtual machine from vCenter, you must specify the following items:
n
A target VDC to receive the import.
n
A form for the imported virtual machine to take. Choose vApp or vApp template.
n
Whether to remove the source virtual machine from vCenter inventory after the import is complete.
Prerequisites
n
Verify that you are logged in to the vCloud API as a system administrator.
n
Identify the virtual machine to import. See “Retrieve a List of Virtual Machines from a vCenter Server,”
on page 247.
vCloud API Programming Guide
270 VMware, Inc.