# Data Object - VirtualHardware(vim.vm.VirtualHardware)

Property of
  VirtualMachineConfigInfo
Extends
  DynamicData
See also
  VirtualDevice
Since
  2.0

## Data Object Description

The VirtualHardware data object type contains the complete configuration of the hardware in a virtual machine.

Properties

Name | Type | Description
--- | --- | ---
device* | VirtualDevice[] | The set of virtual devices belonging to the virtual machine. This list is unordered.
memoryMB | xsd:int | Memory size, in MB.
numCoresPerSocket* | xsd:int | Number of cores used to distribute virtual CPUs among sockets in this virtual machine. This field should be ignored for powered off VM with autoCoresPerSocket equals TRUE, because the virtual socket size will be assigned during power-on. This field could be unset for releases prior to 7.0 U3, and it implies numCoresPerSocket is 1. In other cases, this field represents the actual virtual socket size seen by the virtual machine. Since vSphere API 5.0
numCPU | xsd:int | Number of virtual CPUs present in this virtual machine.
virtualICH7MPresent* | xsd:boolean | Does this virtual machine have Virtual Intel I/O Controller Hub 7 Since vSphere API 5.0
virtualSMCPresent* | xsd:boolean | Does this virtual machine have System Management Controller Since vSphere API 5.0
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VirtualHardware"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="numCPU" type="xsd:int"/> <element name="numCoresPerSocket" type="xsd:int" minOccurs="0"/> <element name="memoryMB" type="xsd:int"/> <element name="virtualICH7MPresent" type="xsd:boolean" minOccurs="0"/> <element name="virtualSMCPresent" type="xsd:boolean" minOccurs="0"/> <element name="device" type="vsan:VirtualDevice" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>