Data Object - VsanHostDrsStats(vim.vsan.host.DrsStats)

Returned by
VsanQueryClusterDrsStats, VsanQueryHostDrsStats
Extends
DynamicData
See also
HostSystem
Since
vSAN API VMC M5

Data Object Description

vSAN storage stats per host to support DRS integration

Properties

Name Type Description
hostManagedObjectReference
to a HostSystem

vSAN host entity associated to the DRS stats.
readLocalityPresented*xsd:boolean

Whether object site read locality is presented in VmStats

Since vSAN API vSAN 7.0U2
statsxsd:base64Binary

Binary value to present vSAN DRS stats in below C struct: typedef VmHostStat uint8; // vSAN VM read locality per host. // 1 means the host can serve read request // without cross site IO, and 0 means // either the data is inaccessible to this // host or the host needs cross site read // to serve the read request. struct VmStats { Uuid vmUuid; // VM instance UUID; uint32 totalSizeInKb; // Total capacity used by this VM in KB on // vSAN datastore; VmHostStat perHostValue[0]; // Weight of VM active vSAN data contributed // per vSAN host. The order is determined by // host member list specified to API // VsanQueryHostDrsStats, and length is // determined by number of vSAN member hosts; }; struct Stats { uint64 hostCapInKb; // host capacity contributed to vSAN in KB; uint64 hostUsageInKb; // host usage on vSAN datastore in KB; uint32 numVms; // number of vSAN VMs registered on this host; uint32 numHosts; // number of vSAN member hosts; It is determined // by host member list specified to API // VsanQueryHostDrsStats. Any host member change // can be detected by vSAN VC service, and trigger // next stats query to capture the new change. VmStats perVmStats[0];// vSAN VM DRS stats, length is determined by // numVms; And note that size of VmStats struct // itself is dynamic. };
Properties inherited from DynamicData
None
*Need not be set
Show WSDL type definition