Apache CloudStack 4.20.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 jobbs have been completed. Triggers an immediate shutdown if forced

Request parameters

Parameter NameDescriptionRequired
managementserveridthe uuid of the management servertrue

Response Tags

Response NameDescription
managementserveridThe id of the management server
pendingjobscountThe number of jobs in progress
readyforshutdownIndicates whether CloudStack is ready to shutdown
shutdowntriggeredIndicates whether a shutdown has been triggered