Retrieves the list of cloud resources associated with a deployment task that is in progress. An empty list indicates that the associated resources are invalid and must be re-associated. If the task is complete, the operation returns an empty list if the associated resources have been changed.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cert:ListDeploymentJobResource |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JobId |
integer |
Yes |
The ID of the deployment task. |
8888 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
OpenApiDefaultResponse<List<CloudResource>> |
||
| Data |
array<object> |
The data returned. |
|
|
object |
The resource object of the deployment task. |
||
| Id |
integer |
The ID of the cloud product resource. |
20979 |
| GmtCreate |
string |
The time when the synchronized resource was created. The value is a UNIX timestamp. Unit: milliseconds. |
1673423339000 |
| GmtModified |
string |
The time when the synchronized resource was last modified. The value is a UNIX timestamp. Unit: milliseconds. |
1681956830000 |
| CloudProduct |
string |
The cloud service.
|
SLB |
| UserId |
integer |
The ID of the Alibaba Cloud account. |
1666884372****** |
| CertId |
integer |
The ID of the certificate that is attached to the cloud product resource. |
11599949 |
| CertName |
string |
The name of the certificate that is attached to the cloud product resource. |
sc-SSL |
| CertEndTime |
string |
The expiration date of the certificate that is attached to the cloud product resource. The value is a UNIX timestamp. Unit: milliseconds. |
1681956830000 |
| CertStartTime |
string |
The start date of the certificate that is attached to the cloud product resource. The value is a UNIX timestamp. Unit: milliseconds. |
1681956830000 |
| Domain |
string |
The domain name that is attached to the cloud product resource. |
aliyundoc.com |
| InstanceId |
string |
The instance ID of the cloud product resource. Note
This parameter is returned only for deployments of SLB, NLB, ALB, and GA. |
cas-cn-m7r1qocw91at |
| ListenerId |
string |
The listener ID of the cloud product resource. Note
This parameter is returned only for deployments of SLB, NLB, ALB, and GA. |
lsn-vwdff0q20poq5xazb9@443 |
| ListenerPort |
string |
The listener port of the cloud product resource. Note
This parameter is returned only for deployments of SLB, NLB, ALB, and GA. |
8047 |
| EnableHttps |
integer |
Indicates whether HTTPS is enabled for the cloud product resource.
|
1 |
| DefaultResource |
integer |
Indicates whether the cloud product resource is a default resource.
Note
This parameter is returned only for deployments of SLB, NLB, ALB, and GA. |
0 |
| Remark |
string |
Other metadata about the cloud product resource. |
{\"camera_model\":\"GIFSHOW [1267087617][OnePlus |
| Status |
string |
The status of the synchronized cloud product resource. |
online |
| UseSsl |
integer |
Indicates whether an Alibaba Cloud SSL certificate is used.
Note
This parameter is returned only for multicloud deployments. |
1 |
| RegionId |
string |
The region ID of the synchronized cloud product resource. |
cn-hangzhou |
| CloudName |
string |
The provider of the cloud product resource.
|
aliyun |
| CloudRegion |
string |
The region ID of the cloud product resource from the cloud provider. |
cn-hangzhou |
| CloudAccessId |
string |
The key ID used to access the cloud resource set. Note
This parameter is returned only for multicloud deployments. |
1234 |
| RequestId |
string |
The unique ID of the request. You can use this ID to troubleshoot issues. |
15C66C7B-671A-4297-9187-2C4477247A74 |
Examples
Success response
JSON format
{
"Data": [
{
"Id": 20979,
"GmtCreate": "1673423339000",
"GmtModified": "1681956830000",
"CloudProduct": "SLB",
"UserId": 0,
"CertId": 11599949,
"CertName": "sc-SSL",
"CertEndTime": "1681956830000",
"CertStartTime": "1681956830000",
"Domain": "aliyundoc.com",
"InstanceId": "cas-cn-m7r1qocw91at",
"ListenerId": "lsn-vwdff0q20poq5xazb9@443",
"ListenerPort": "8047",
"EnableHttps": 1,
"DefaultResource": 0,
"Remark": "{\\\"camera_model\\\":\\\"GIFSHOW [1267087617][OnePlus",
"Status": "online",
"UseSsl": 1,
"RegionId": "cn-hangzhou",
"CloudName": "aliyun",
"CloudRegion": "cn-hangzhou",
"CloudAccessId": "1234"
}
],
"RequestId": "15C66C7B-671A-4297-9187-2C4477247A74"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.