Apache CloudStack 4.21.0.0 Root Admin API Reference
cancelMaintenance
Cancels maintenance of the management server
Request parameters
| Parameter Name | Description | Required |
| managementserverid | the id of the management server | true |
| rebalance | Rebalance agents (applicable for indirect agents, ensure the settings 'host' and 'indirect.agent.lb.algorithm' are properly configured) after cancelling maintenance, default is true | false |
Response Tags
| Response Name | Description |
| agents | The host agents this management server is responsible for |
| agentscount | The number of host agents this management server is responsible for |
| maintenanceinitiated | Indicates whether maintenance has been initiated |
| managementserverid | The id of the management server |
| pendingjobscount | The number of jobs in progress |
| readyforshutdown | Indicates whether CloudStack is ready to shutdown |
| shutdowntriggered | Indicates whether a shutdown has been triggered |
| state | the state of the management server |