Overhead Memory Manager Lookup Vm Overhead Memory
Return static VM overhead memory value in bytes for a (vm, host) pair from the overhead memory module (OMM) in Virtual Center.
Required privileges: Global.VCServer
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 OverheadMemoryManager/{moId}.
The vSphere release schema. The current specification covers vSphere 9.1.0.0 APIs.
Show optional properties
{
"vm": {},
"host": {}
}
{
"vm": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"host": {
"_typeName": "string",
"type": "string",
"value": "string"
}
}
The Virtual Machine managed object reference.
The Host managed object reference.
Overhead memory value, if found in the OMM.
NotFound: If the overhead memory value is not found in the OMM.
InvalidType: If the MoRefs do not point to appropriate type of inventory objects - VM and Host respectively.
InvalidArgument: If any of the MoRefs are NULL.
ManagedObjectNotFound: If the inventory objects cannot be found.
{
"_typeName": "string",
"faultCause": {
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
},
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}
Fault which is the cause of this fault.
Message which has details about the error Message can also contain a key to message catalog which can be used to generate better localized messages.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"vm":"{}","host":"{}"}' https://{api_host}/sdk/vim25/{release}/OverheadMemoryManager/{moId}/LookupVmOverheadMemory