VirtualHardware

VirtualHardware
VirtualHardware

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

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "numCPU": 0,
    "numCoresPerSocket": 0,
    "autoCoresPerSocket": false,
    "memoryMB": 0,
    "virtualICH7MPresent": false,
    "virtualSMCPresent": false,
    "device": [
        {
            "_typeName": "string",
            "key": 0,
            "deviceInfo": {
                "label": "string",
                "summary": "string"
            },
            "backing": {
                "_typeName": "string"
            },
            "connectable": {
                "migrateConnect": "string",
                "startConnected": false,
                "allowGuestControl": false,
                "connected": false,
                "status": "string"
            },
            "slotInfo": {
                "_typeName": "string"
            },
            "controllerKey": 0,
            "unitNumber": 0,
            "numaNode": 0,
            "deviceGroupInfo": {
                "groupInstanceKey": 0,
                "sequenceId": 0
            }
        }
    ],
    "motherboardLayout": "string",
    "simultaneousThreads": 0
}
integer As int32 As int32
numCPU
Required

Number of virtual CPUs present in this virtual machine.

integer As int32 As int32
numCoresPerSocket
Optional

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.

boolean
autoCoresPerSocket
Optional

Cores per socket is automatically determined.

Since: vSphere API Release 8.0.0.1

integer As int32 As int32
memoryMB
Required

Memory size, in MB.

boolean
virtualICH7MPresent
Optional

Does this virtual machine have Virtual Intel I/O Controller Hub 7

boolean
virtualSMCPresent
Optional

Does this virtual machine have System Management Controller

device
Optional

The set of virtual devices belonging to the virtual machine.

This list is unordered.

string
motherboardLayout
Optional

One of motherboardLayout choices.

Default is i440bxHostBridge. See motherboardLayout

Since: vSphere API Release 8.0.0.1

integer As int32 As int32
simultaneousThreads
Optional

Number of SMT (Simultaneous multithreading) threads.

If unset, then system defaults are in use.

Since: vSphere API Release 8.0.0.1