Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The reconfigVM_Task() method changes the configuration of a virtual machine. The method signature is simple in that it takes in only parameters typed as VirtualMachineConfigSpec, which encapsulates all the configuration settings. However, the complexity is hidden inside the VirtualMachineConfigSpec data object.
Figure 8-8 shows the structure of the data object. The same type is also used during creation of a new virtual machine by invoking the createVM_Task() method on the Folder managed object. As you can see from the diagram, it’s a pretty sophisticated data structure that covers all different aspects of the configuration from virtual hardware to the guest OS.