Cluster Compute Resource Get Resource Usage
This API can be invoked to get the current CPU, memory and storage usage in the cluster.
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 ClusterComputeResource/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.
An instance of ResourceUsageSummary with following information:
- cpuCapacityMHz: Sum of CPU capacity of all the available hosts in the cluster in MHz.
- cpuUsedMHz: Sum of CPU consumed in all the available hosts in the cluster in MHz.
- memCapacityMB: Sum of memory capacity of all the available hosts in the cluster in MB.
- memUsedMB: Sum of memory consumed in all the available hosts in this cluster in MB.
- storageCapacityMB: Total storage capacity of all the accessible datastores in this cluster.
- storageUsedMB: Total storage consumed in all the accessible datastores in this cluster.
{
"_typeName": "string",
"cpuUsedMHz": 0,
"cpuCapacityMHz": 0,
"memUsedMB": 0,
"memCapacityMB": 0,
"pMemAvailableMB": 0,
"pMemCapacityMB": 0,
"storageUsedMB": 0,
"storageCapacityMB": 0
}
cpuUsedMHz
cpuCapacityMHz
memUsedMB
memCapacityMB
pMemAvailableMB
pMemCapacityMB
storageUsedMB
storageCapacityMB