REST API - get

esx health perspectives checks disabled: get

Get the set of checks that are disabled for the given perspective.

Request:

HTTP request

GET https://{server}/api/esx/health/perspectives/{perspective}/checks/disabled

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.

Response:

HTTP Status Code: 200

Response Body Structure:

[
    "obj-103",
    "obj-103"
]

Headers:

None

Type:

Name Type Description
bold = required
- string[] The set of disabled checks for the given perspective.

Errors:

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.