Retrieves a list of deployment tasks after you create a deployment task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cert:ListDeploymentJob |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JobType |
string |
No |
The task type. Valid values:
|
user |
| Status |
string |
No |
The deployment task status. Valid values:
|
pending |
| CurrentPage |
integer |
No |
The page number. Default value: 1. |
1 |
| ShowSize |
integer |
No |
The number of certificates to display per page in a paged query. Default value: 50. |
50 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. Alibaba Cloud generates a unique identifier for each request. You can use this ID to troubleshoot issues. |
12345678-1234-1234-1234-123456789ABC |
| Total |
integer |
The total number of deployment tasks returned. |
7 |
| CurrentPage |
integer |
The current page number. Default value: 1. |
1 |
| ShowSize |
integer |
The number of deployment tasks per page. Default value: 50. |
50 |
| Data |
array<object> |
The data returned by the API. |
|
|
object |
The objects in the data. |
||
| Id |
integer |
The deployment task ID. You can use this ID to query the deployment task details and status. |
19975 |
| GmtCreate |
string |
The time when the deployment task was created, in UNIX timestamp format (seconds). |
1624343180000 |
| GmtModified |
string |
The time when the deployment task was last modified, in UNIX timestamp format (seconds). |
1606482979000 |
| UserId |
integer |
The user account ID (UID). |
166688437***** |
| InstanceId |
string |
The instance ID of the deployment task. |
cas-job-user-*** |
| Name |
string |
The name of the deployment task. |
job-test |
| CertType |
string |
The certificate type. Valid values:
|
upload |
| ScheduleTime |
string |
The scheduled time of the task, in UNIX timestamp format (seconds). |
1606482979000 |
| StartTime |
string |
The start time of the deployment task execution, in UNIX timestamp format (seconds). |
1606482979000 |
| EndTime |
string |
The end time of the deployment task execution, in UNIX timestamp format (seconds). |
1606482979000 |
| Status |
string |
The deployment task status. Valid values:
|
scheduling |
| Del |
integer |
The deletion flag. This parameter has no practical significance. Valid values:
|
1 |
| Rollback |
integer |
Indicates whether the task contains a rollback worker. For example, if a cloud service in the task has been rolled back, the value 1 is returned. Valid values:
|
1 |
| JobType |
string |
The task type. Valid values:
|
user |
| CertDomain |
string |
The domain names included in the certificate of the deployment task. |
aliyundoc1.com,aliyundoc2.com,aliyundoc3.com |
| ProductName |
string |
The cloud services included in the deployment task resources. |
NLB |
Examples
Success response
JSON format
{
"RequestId": "12345678-1234-1234-1234-123456789ABC",
"Total": 7,
"CurrentPage": 1,
"ShowSize": 50,
"Data": [
{
"Id": 19975,
"GmtCreate": "1624343180000",
"GmtModified": "1606482979000",
"UserId": 0,
"InstanceId": "cas-job-user-***",
"Name": "job-test",
"CertType": "upload",
"ScheduleTime": "1606482979000",
"StartTime": "1606482979000",
"EndTime": "1606482979000",
"Status": "scheduling",
"Del": 1,
"Rollback": 1,
"JobType": "user",
"CertDomain": "aliyundoc1.com,aliyundoc2.com,aliyundoc3.com",
"ProductName": "NLB"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.