@stordata/vsphere-soapify
Version:
A NodeJS abstraction layer for the vSphere SOAP API
26 lines (23 loc) • 739 B
JavaScript
;
const DynamicData = require('./DynamicData');
module.exports = class ResourcePoolQuickStats extends DynamicData {
static mappings() {
return {
balloonedMemory: 'xsd:long',
compressedMemory: 'xsd:long',
consumedOverheadMemory: 'xsd:long',
distributedCpuEntitlement: 'xsd:long',
distributedMemoryEntitlement: 'xsd:long',
guestMemoryUsage: 'xsd:long',
hostMemoryUsage: 'xsd:long',
overallCpuDemand: 'xsd:long',
overallCpuUsage: 'xsd:long',
overheadMemory: 'xsd:long',
privateMemory: 'xsd:long',
sharedMemory: 'xsd:long',
staticCpuEntitlement: 'xsd:int',
staticMemoryEntitlement: 'xsd:int',
swappedMemory: 'xsd:long'
};
}
};