Apache CloudStack 4.21.0.0 Root Admin API Reference
triggerShutdown
Triggers an automatic safe shutdown of CloudStack by not accepting new jobs and shutting down when all pending jobs have been completed.
Request parameters
Parameter Name | Description | Required |
managementserverid | the id of the management server | true |
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 |