Host Memory System Get Virtual Machine Reservation Info

Host Memory System Get Virtual Machine Reservation Info

Virtual machine reservation information for the memory manager.

The existence of this data object indicates if the virtual machine memory reservation must be configured for this host.

Request
URI
GET
https://{vcenter-host}/sdk/vim25/{release}/HostMemorySystem/{moId}/virtualMachineReservationInfo
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the property attaches; the serialized managed object reference for a request has the form moType/moId, in this case HostMemorySystem/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns VirtualMachineMemoryReservationInfo of type(s) application/json
This response body class contains all of the following: DataObject
{
    "_typeName": "string",
    "virtualMachineMin": 0,
    "virtualMachineMax": 0,
    "virtualMachineReserved": 0,
    "allocationPolicy": "string"
}
integer As int64 As int64
virtualMachineMin
Required

The minimum amount of memory reserved for all running virtual machines, in bytes.

integer As int64 As int64
virtualMachineMax
Required

The maximum amount of memory reserved for all running virtual machines, in bytes.

integer As int64 As int64
virtualMachineReserved
Required

The amount of memory reserved for all running virtual machines, in bytes.

string
allocationPolicy
Required

Policy for allocating additional memory for virtual machines.

See also VirtualMachineMemoryAllocationPolicyEnum.