5.5

Table Of Contents
Table 53. Summary of Vm Reconfiguration Requests (Continued)
Operation Request Request Body Response
Retrieve network card items
from the
VirtualHardwareSection
of a virtual machine
GET API-URL/vApp/vm-
id/
virtualHardwareSection/
networkCards
None
RasdItemsList
Update network card items
in the
VirtualHardwareSection
of a virtual machine
PUT API-URL/vApp/vm-
id/
virtualHardwareSection/
networkCards
RasdItemsList Task
Update the name,
Description, and any or all
of
VirtualHardwareSection,
OperatingSystemSection,
NetworkConnectionSectio
n,
GuestCustomizationSecti
on of a virtual machine.
POST API-URL/vApp/vm-
id/ action/reconfigureVm
Vm Task
vCloud API Custom Attributes
vCloud API custom attributes extend several elements in the ovf and rasd XML namespaces. You can use
these attributes to provide additional detail about virtual NIC and hard disk controller devices, or to specify
the guest operating system type.
With the exception of osType, custom attributes are scoped to ovf:Item elements based on the elements'
RASD resource type. The osType attribute applies to the ovf:OperatingSystemSection element. All of the
elements to which these custom attributes apply are contained in the VirtualHardwareSection of a Vm.
Table 54. vCloud API Custom Attributes for OVF and RASD Elements
Element Name
RASD
Resource
Type Attribute Name Attribute Type Description
rasd:Connection 10
(Network
adapters)
ipAddressingMode xs:string IP addressing mode to use for this
connection. One of NONE, MANUAL,
DHCP, POOL.
rasd:Connection 10
(Network
adapters)
ipAddress xs:string
If ipAddressingMode="MANUAL",
set the IP address here
rasd:Connection 10
(Network
adapters)
primaryNetworkCon
nection
xs:boolean True if this is the primary network
connection of the virtual machine
rasd:HostResource 17 (Hard
disks)
capacity xs:string Hard disk capacity in megabytes.
See “Retrieve or Modify the Hard
Disk Configuration of a Virtual
Machine,” on page 143
rasd:HostResource 17 (Hard
disks)
busType xs:string Bus type. One of:
n
5 (IDE)
n
6 (SCSI)
n
20 (SATA)
vCloud API Programming Guide
124 VMware, Inc.