5.5

Table Of Contents
Table 54. vCloud API Custom Attributes for OVF and RASD Elements (Continued)
Element Name
RASD
Resource
Type Attribute Name Attribute Type Description
rasd:HostResource 17 (Hard
disks)
busSubType xs:string Hard disk controller type. One of:
n
buslogic
n
lsilogic
n
lsilogicsas
n
VirtualSCSI
n
vmware.sata.ahci
See “Retrieve or Modify the Hard
Disk Configuration of a Virtual
Machine,” on page 143 for valid
combinations of busType and
busSubType.
ovf:OperatingSystemSec
tion
N/A osType xs:string Internal VMware identifier for the
guest operating system. See
https://www.vmware.com/suppor
t/developer/vc-
sdk/visdk41pubs/ApiReference/vim
.vm.GuestOsDescriptor.GuestOsIde
ntifier.html
For more information about OVF and RASD (CIM_ResourceAllocationSettingData) elements, see the OVF
specification, available at http://www.dmtf.org/standards/published_documents/DSP0243_1.0.0.pdf.
Update Multiple Sections of a Virtual Machine
You can make a single request that updates the name, Description, and any or all of the
VirtualHardwareSection, OperatingSystemSection, NetworkConnectionSection, GuestCustomizationSection
elements of a virtual machine.
Every Vm element contains a link to a reconfigureVm operation that you can use to update the name,
Description, and multiple sections in a single operation. Sections that you omit from the request body are
not updated.
Prerequisites
Verify that you are logged in to the vCloud API as an administrator or vApp Author.
Procedure
1 Retrieve the Vm element that you want to update.
2 Modify the retrieved Vm element.
Modifications can include the name, Description, and any or all of the VirtualHardwareSection,
OperatingSystemSection, NetworkConnectionSection, GuestCustomizationSection elements of the Vm.
Modified sections must contain all required elements, even if you are not changing their values.
Because optional elements revert to default values if they are omitted or empty, it is a best practice to
include optional elements in updates. Link elements and href attributes from responses do not need to
be included in modified sections. Some elements and attributes might be read-only. See the schema
reference for details.
3 Use the modified Vm as the body of a reconfigureVm request.
The modified Vm replaces the contents of the retrieved Vm. For some section types, modifications take effect
immediately. For others, modifications take effect only after a power or deployment state change.
Chapter 5 Deploying and Operating vApps
VMware, Inc. 125