Host System Query Memory Overhead
Deprecated as of VI API 2.5, use QueryMemoryOverheadEx.
Determines the amount of memory overhead necessary to power on a virtual machine with the specified characteristics.
Required privileges: System.Read
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case HostSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
{
"memorySize": 0,
"videoRamSize": 0,
"numVcpus": 0
}
The amount of virtual system RAM, in bytes. For an existing virtual machine, this value can be found (in megabytes) as the memoryMB property of the VirtualHardware.
The amount of virtual video RAM, in bytes. For an existing virtual machine on a host that supports advertising this property, this value can be found (in kilobytes) as the videoRamSizeInKB property of the VirtualMachineVideoCard. If this parameter is left unset, the default video RAM size for virtual machines on this host is assumed.
The number of virtual CPUs. For an existing virtual machine, this value can be found as the numCPU property of the VirtualHardware.
The amount of overhead memory required to power on such a virtual machine, in bytes.