pub struct VsanSmartParameter {
pub parameter: Option<String>,
pub value: Option<i32>,
pub threshold: Option<i32>,
pub worst: Option<i32>,
}Expand description
S.M.A.R.T.
stat of certain parameter.
This structure may be used only with operations rendered under /vsan.
§How to access
HostVsanHealthSystem::vsan_host_query_smart_stats().smart_stats?[*].stats?[*]VsanVcClusterHealthSystem::vsan_query_vc_cluster_smart_stats_summary().smart_stats?[*].stats?[*]
Fields§
§parameter: Option<String>S.M.A.R.T.
parameter ID. Unset if the parameter is not supported. See all supported parameter ID in VsanSmartParameterType_enum
See also VsanSmartParameterType_enum.
value: Option<i32>The raw value reported by the disk.
Unset if the value is not available. Specially, for “smarthealthstatus” parameter, the value is represented as: 0 represents for “OK”. 1 represents for “Warning”. 2 represents for “Impending Failure”. 3 represents for “Unknown”. Other values for “smarthealthstatus” parameter are invalid.
threshold: Option<i32>The (failure) limit for the parameter.
Unset if the value is not available.
worst: Option<i32>The highest value ever recorded for the parameter.
Unset if the value is not available.