VmHardwareMemoryInfo

The Memory.Info structure contains memory-related information about a virtual machine.


Properties

boolean
hot_add_enabled Required

Flag indicating whether adding memory while the virtual machine is running is enabled. Some guest operating systems may consume more resources or perform less efficiently when they run on hardware that supports adding memory while the machine is running.


integer as int64
size_MiB Required

Memory size in mebibytes.


integer as int64
hot_add_increment_size_MiB Optional

The granularity, in mebibytes, at which memory can be added to a running virtual machine. When adding memory to a running virtual machine, the amount of memory added must be at least Memory.Info.hot-add-increment-size-mib and the total memory size of the virtual machine must be a multiple of {@link>hotAddIncrementSize}.

Only set when Memory.Info.hot-add-enabled is true and the virtual machine is running.


integer as int64
hot_add_limit_MiB Optional

The maximum amount of memory, in mebibytes, that can be added to a running virtual machine. Only set when Memory.Info.hot-add-enabled is true and the virtual machine is running.

JSON Example

{
	"hot_add_enabled": false,
	"size_MiB": 0
}
Property Of

VMInfo
Returned By

Get Hardware Memory

Feedback

Was this page helpful?