Apache CloudStack 4.20.0.0 Root Admin API Reference

listAsyncJobs

Lists all pending asynchronous jobs for the account.

Request parameters

Parameter NameDescriptionRequired
accountlist resources by account. Must be used with the domainId parameter.false
domainidlist only resources belonging to the domain specifiedfalse
isrecursivedefaults to false, but if true, lists all resources from the parent specified by the domainId till leaves.false
keywordList by keywordfalse
listallIf set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is false. Resources dedicated to a project are listed only if using the projectid parameter.false
managementserveridThe id of the management serverfalse
pagefalse
pagesizefalse
startdateThe start date of the async job (use format "yyyy-MM-dd'T'HH:mm:ss'+'SSSS")false

Response Tags

Response NameDescription
accountthe account that executed the async command
accountidthe account id that executed the async command
cmdthe async command executed
completed the completed date of the job
created the created date of the job
domainidthe domain id that executed the async command
domainpaththe domain that executed the async command
jobinstanceidthe unique ID of the instance/entity object related to the job
jobinstancetypethe instance/entity object related to the job
jobprocstatusthe progress information of the PENDING job
jobresultthe result reason
jobresultcodethe result code for the job
jobresulttypethe result type
jobstatusthe current job status-should be 0 for PENDING
managementserveridthe msid of the management server on which the job is running
useridthe user that executed the async command
jobidthe ID of the async job