Host Vsan Health System Vsan Query Host EMM State
Query the host's maintenance mode and vSAN node decommission state.
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.
the summary including if host is in MM and node decommission state on this host.
"VsanHostEMMSummary Object"
The host name.
The host maintenance mode state.
If this host is in maintenance mode, return True If this host is entering or exiting maintenance mode, the value is Unset(None) If this host is not in maintenance mode, return False
The vSAN node decommission state.
If vSAN node is in decommission state, return True If vSAN node is entering or existing decommission state, the value is Unset(None) If vSAN node is not in decommission state, return False
curl -X POST -H 'Authorization: <value>' https://{api_host}/sdk/vim25/{release}/vsan/HostVsanHealthSystem/{moId}/VsanQueryHostEMMState