Queries the worker tasks of a deployment task. Each worker task deploys a certificate to a specific cloud resource in a cloud service.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cert:ListWorkerResource |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JobId |
integer |
Yes |
The ID of the deployment task. You can call the CreateDeploymentJob operation to obtain the ID of a deployment task from the ID parameter. You can also call the ListDeploymentJob operation to obtain the ID of a deployment task. |
8888 |
| Status |
string |
No |
The status of the worker task. Valid values:
Valid values:
|
editing |
| CloudProduct |
string |
No |
The cloud service in the deployment task. |
NLB |
| CurrentPage |
integer |
No |
The page number. Default value: 1. |
1 |
| ShowSize |
integer |
No |
The number of entries per page. Default value: 50. |
20 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
OpenApiPaginationResponse |
||
| Total |
integer |
The total number of entries returned. |
8 |
| CurrentPage |
integer |
The page number. Default value: 1. |
1 |
| ShowSize |
integer |
The number of entries per page. Default value: 50. |
20 |
| Data |
array<object> |
The response parameters. |
|
|
object |
|||
| Id |
integer |
The ID of the worker task. |
22487 |
| GmtCreate |
string |
The time when the worker task was created. The time is a timestamp in seconds. |
1680228896000 |
| GmtModified |
string |
The time when the worker task was last modified. The time is a timestamp in seconds. |
1681956830000 |
| UserId |
integer |
The ID of the Alibaba Cloud account to which the worker task belongs. |
1666884372152785 |
| JobId |
integer |
The ID of the deployment task to which the worker task belongs. |
8888 |
| OrderId |
integer |
The order ID of the worker task, which is the same as the order ID of the certificate. Note
If the CertId parameter is returned, this parameter is not returned. |
9349278 |
| CertId |
integer |
The ID of the certificate in the worker task. |
12073663 |
| CertDomain |
string |
The domain name bound to the certificate in the worker task. |
www.example.com |
| CertInstanceId |
string |
The instance ID of the certificate in the worker task. |
lsn-jzk2h0xz5dmynuphb8@1883 |
| CertName |
string |
The name of the certificate in the worker task. |
testCertName |
| ResourceId |
integer |
The ID of the cloud resource in the worker task. |
1286999 |
| CloudProduct |
string |
The cloud service to which the cloud resource in the worker task belongs. Valid values:
|
SLB |
| ResourceCertId |
integer |
The ID of the certificate that was originally bound to the cloud resource in the worker task. |
123 |
| ResourceDomain |
string |
The domain name that was originally bound to the cloud resource in the worker task. |
www.example.com |
| RegionId |
string |
The region ID of the cloud resource in the worker task. |
cn-hangzhou |
| CloudRegion |
string |
The original region ID of the cloud resource in the worker task. The value is the region ID defined by the cloud service provider. This parameter is required only when you deploy certificates to services of multiple clouds. |
cn-hangzhou |
| InstanceId |
string |
The ID of the cloud resource in the worker task. Note
This parameter is returned only when the value of CloudProduct is SLB, NLB, ALB, or GA. |
cas-cn-0pp118nuu40b |
| ListenerId |
string |
The listener ID of the cloud resource in the worker task. Note
This parameter is returned only when the value of CloudProduct is SLB, NLB, ALB, or GA. |
lsn-lhl8y7s1e1ngc3m3zz@81 |
| Port |
integer |
The listening port of the cloud resource in the worker task. Note
This parameter is returned only when the value of CloudProduct is SLB, NLB, ALB, or GA. |
4431 |
| DefaultResource |
boolean |
Indicates whether the cloud resource in the worker task is the default resource. Valid values:
Note
This parameter is returned only when the value of CloudProduct is SLB, NLB, ALB, or GA. |
0 |
| CloudName |
string |
The cloud service provider to which the cloud resource in the worker task belongs. Note
This parameter is not returned if you deploy certificates to Alibaba Cloud services. |
aliyun |
| NamespaceId |
string |
The ID of the namespace in SAE. This parameter is returned only if you deploy certificates to SAE. |
32fed52a-4bf7-44f6-955f-e82ada68ef18 |
| Status |
string |
The status of the worker task. Valid values:
|
editing |
| RequestId |
string |
The request ID. |
3E50D480-9765-5CFD-9650-9BACCECA5135 |
Examples
Success response
JSON format
{
"Total": 8,
"CurrentPage": 1,
"ShowSize": 50,
"Data": [
{
"Id": 22487,
"GmtCreate": "1680228896000",
"GmtModified": "1681956830000",
"UserId": 0,
"JobId": 8888,
"OrderId": 9349278,
"CertId": 12073663,
"CertDomain": "www.example.com",
"CertInstanceId": "lsn-jzk2h0xz5dmynuphb8@1883",
"CertName": "testCertName",
"ResourceId": 1286999,
"CloudProduct": "SLB",
"ResourceCertId": 123,
"ResourceDomain": "www.example.com",
"RegionId": "cn-hangzhou",
"CloudRegion": "cn-hangzhou",
"InstanceId": "cas-cn-0pp118nuu40b",
"ListenerId": "lsn-lhl8y7s1e1ngc3m3zz@81",
"Port": 4431,
"DefaultResource": true,
"CloudName": "aliyun",
"NamespaceId": "32fed52a-4bf7-44f6-955f-e82ada68ef18",
"Status": "editing"
}
],
"RequestId": "3E50D480-9765-5CFD-9650-9BACCECA5135"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.