vcenter cluster edrs maintenance mode: exit
Request the cluster to exit the maintenance mode, EDRS would generate the scaling recommendation based on cluster resources utilization. Warning: This operation is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
Request:
HTTP request
POST https://{server}/rest/vcenter/cluster/{cluster}/edrs/maintenance-mode?action=exit
Path Parameters
Name | Type | Description |
---|---|---|
Required | ||
cluster | string | Identifier of cluster that exiting maintenance mode. |
Request Body Structure:
{
"spec" : {
"timeout" : 1
}
}
"spec" : {
"timeout" : 1
}
}
Request Body Parameters:
Name | Type | Description |
---|---|---|
bold = required | ||
spec | exit_spec | Exiting cluster maintenance mode specification. |
spec.timeout | long | Action Timeout value in seconds. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. Optional. If unset cluster does not have a timeout limit when exiting maintenance mode. |
Response:
HTTP Status Code: 200
NoneErrors:
HTTP Status Code | Type | Description |
---|---|---|
400 | not_allowed_in_current_state | if the cluster is not in the maintenance mode. |
404 | not_found | if the cluster is not known. |
500 | timed_out | if exiting maintenance mode behavior is timed out. |
403 | unauthorized | if the user doesn't have the required privileges. |
500 | error | if there is some unknown internal error. The accompanying error message will give more details about the error. |