Host Vsan Health System Vsan Host Query Object Health Summary
Query the object health status
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 HostVsanHealthSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"VsanHostQueryObjectHealthSummaryRequestType Object"
The DOM object UUID list to be queried. None to query all of objects
True to include the object UUID list in the returned list and default is False
True to only query the objects owned by the host and default is False
True to include all of non-compliant objects detail information. The default is False
The additional query spec for object health. If the object health version is v2 VsanObjectHealthVersionEnum, it will try to convert v1 to v2 if not all of host can support the new object health version. If the object health version is unknown, it will always try to return the v2 object health version if all hosts support or return v1 if it doesn't
The object health status query result
"VsanObjectOverallHealth Object"
The object health list each of which includes the health status, the number of objects on this health status and the object UUID list.
The vSAN objects profile compliance check result
True to indicate all of the objects have compliant object version with the latest supported vSAN disk format.
The latest vSAN disk format version should be version 4 and the vSAN disk upgrade is needed when this flag is false
The vSAN objects which need object layout format change to get capacity improvement
The total bytes for objects need relayout
The global dedup store health that is value of the enum type vim.host.VsanObjectHealthState.
Global dedup store contains some hash objects and chunk objects, and the global dedup store health is an aggregation of each hash and chunk object health. Health will always pick the most serious hash or chunk object health as the global dedup store health.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vsan/HostVsanHealthSystem/{moId}/VsanHostQueryObjectHealthSummary