Virtual Machine
InformationLast Updated December 16, 2024
vCloud Director also stores virtual machine
configuration information uploaded from an OVF file into a vApp template. If
you have not modified a virtual machine configuration since uploading, you can
use this information to verify the configuration of the virtual machine before
restoring it.
The following methods, applied to an object of
type
VM
, retrieve configuration data
structures from vCloud Director.
Configuration Data for
a Virtual Machine
- GetVirtualHardwareSection()Get hardware requirements of the virtual machine. ReturnsVirtualhardwareSection_Type.
- GetOperatingSystemSection()Get information about the guest operating system installed on this virtual machine. ReturnsOperatingSystemSectionType.
- GetNetworkConnectionSection()Get information about virtual network devices used by this virtual machine. ReturnsNetworkConnectionSectionType.
- GetRuntimeInfoSection()Get version of VMware Tools installed on the virtual machine. ReturnsRuntimeInfoSectionType.
The following example shows the REST API calls
corresponding to the virtual machine configuration sections available from the
SDK for .NET. REST API calls to get virtual machine configuration data: