Vsan Vc Cluster Health System Vsan Health Set Vsan Cluster Silent Checks
Set silent health check list of the cluster.
Specify [testId/groupId] for 'addSilentChecks' to add add health checks to silent list. Specify [testId/groupId] for 'removeSilentChecks' to remove health checks from silent list. To restore the whole silent list, set 'removeSilentChecks' = ['all']. After the silent health check list is updated, it is recommended to refresh the vSAN cluster health summary to get the updated result. The health check items in the silent list should be skipped, and labeled with 'skipped' status. Note:
- If groupId is added to silent list, all the checks under this group would be silent.
- If groupId is removed from silent list, all the checks under this group would back to normal.
- If given invalid testId/groupId, it will throw exception.
- This method will do add first and then remove. So if the given health check is in both add and remove list, it would NOT be silent in the end.
- This API only supported on vCenter.
Required privileges: Global.Settings
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 VsanVcClusterHealthSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"VsanHealthSetVsanClusterSilentChecksRequestType Object"
The target vCenter cluster
The health checks/groups to silent.
The health checks/groups to restore.
True to indicate the value being set successfully. No return otherwise.
"MethodFault Object"
Fault which is the cause of this fault.
Message which has details about the error Message can also contain a key to message catalog which can be used to generate better localized messages.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vsan/VsanVcClusterHealthSystem/{moId}/VsanHealthSetVsanClusterSilentChecks