esx health perspectives checks disabled: set
Disable the checks with the given IDs for all health status queries. No validation is done on whether the given IDs are valid.
Request:
HTTP request
POST https://{server}/api/esx/health/perspectives/{perspective}/checks/disabled
[
"obj-103",
"obj-103"
]
"obj-103",
"obj-103"
]
Path Parameters
Name | Type | Description |
---|---|---|
Required | ||
perspective | string | A Perspective defines a desired state, against which system health status is reported. Value is one of: INITIALIZATION: A health perspective relating to the host being ready to be added to a cluster. PLANNED_MAINTENANCE: A health perspective relating to the host being ready to be removed from a vCenter cluster for planned maintenance. BEFORE_EXIT_MAINTENANCE_MODE: A health perspective relating to the host being ready to exit maintenance. CLUSTER_PLANNED_MAINTENANCE: A health perspective relating to the cluster being ready for putting some host from it into maintenance mode. CLUSTER_READY_FOR_APPLY: A health perspective relating to the cluster being ready to be realized its desired configuration.The perspective for which to disable the checks. |
Body Parameters:
Name | Type | Description |
---|---|---|
bold = required | ||
- | string[] | The set of health check IDs to disable. |
Response:
HTTP Status Code: 204
Headers:
NoneType:
NoneErrors:
HTTP Status Code | Type | Description |
---|---|---|
404 | not_found | if the given perspective is unknown. |
401 | unauthenticated | if the caller is not authenticated. |
403 | unauthorized | Unauthorized If the caller does not have the necessary privileges to perform the request. |