Queries the certificate resources of a cloud service provider and cloud services.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
yundun-cert:ListCloudResources | list | *All Resources * |
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
CloudName | string | No | The cloud service provider. Valid values:
| Tencent |
CloudProduct | string | No | The cloud service. Valid values when CloudName is set to aliyun:
Valid values when CloudName is set to Tencent:
Valid value when CloudName is set to Huawei:
Valid values when CloudName is set to Aws:
| SLB |
SecretId | string | No | The AccessKey ID that is used to access cloud resources. | 21 |
Keyword | string | No | The keyword of the domain name or instance ID bound to the cloud resource. | cert-instanceId |
CurrentPage | integer | No | The page number. Default value: 1. | 1 |
ShowSize | integer | No | The number of entries per page. Default value: 20. | 20 |
CertIds | array | No | The certificate IDs. | |
long | No | The certificate ID. | 14440149 |
Response parameters
Examples
Sample success responses
JSON
format
{
"Total": 440,
"CurrentPage": 1,
"ShowSize": 20,
"Data": [
{
"Id": 2356,
"GmtCreate": "1673423339000",
"GmtModified": "1696911946000",
"CloudProduct": "ALB",
"UserId": 1666884372152785,
"CertId": 12433121,
"CertName": "shop.amsaudio.cn",
"CertEndTime": "1737795520000",
"CertStartTime": "1706259520000",
"Domain": "www.tkgeo.ru",
"InstanceId": "nlb-rv05agjc97ovm14il5",
"ListenerId": "lsn-jiugof6t23et66lsnc@443",
"ListenerPort": "8047",
"EnableHttps": 1,
"DefaultResource": 0,
"Status": "BUY",
"UseSsl": 1,
"RegionId": "cn-hangzhou",
"CloudName": "aliyun",
"CloudRegion": "cn-hangzhou\n",
"CloudAccessId": "1234"
}
],
"RequestId": "12345678-1234-1234-1234-123456789ABC"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-08-13 | The request parameters of the API has changed | View Change Details |