Apache CloudStack 4.20.0.0 Root Admin API Reference
listAsyncJobs
Lists all pending asynchronous jobs for the account.
Request parameters
Parameter Name | Description | Required |
account | list resources by account. Must be used with the domainId parameter. | false |
domainid | list only resources belonging to the domain specified | false |
isrecursive | defaults to false, but if true, lists all resources from the parent specified by the domainId till leaves. | false |
keyword | List by keyword | false |
listall | If 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 |
managementserverid | The id of the management server | false |
page | false | |
pagesize | false | |
startdate | The start date of the async job (use format "yyyy-MM-dd'T'HH:mm:ss'+'SSSS") | false |
Response Tags
Response Name | Description |
account | the account that executed the async command |
accountid | the account id that executed the async command |
cmd | the async command executed |
completed | the completed date of the job |
created | the created date of the job |
domainid | the domain id that executed the async command |
domainpath | the domain that executed the async command |
jobinstanceid | the unique ID of the instance/entity object related to the job |
jobinstancetype | the instance/entity object related to the job |
jobprocstatus | the progress information of the PENDING job |
jobresult | the result reason |
jobresultcode | the result code for the job |
jobresulttype | the result type |
jobstatus | the current job status-should be 0 for PENDING |
managementserverid | the msid of the management server on which the job is running |
userid | the user that executed the async command |
jobid | the ID of the async job |