ListTagResources
Queries the mappings between resources (SSL certificate instances) and tags.
Operation description
Queries the status information of a private certificate authority (CA) instance that you purchased through the SSL Certificate Service console by using the ID of the private CA instance. The status information includes the status of the CA instance, the number of certificates included, and the number of issued certificates.
Before you invoke this operation, you must purchase a private CA in the Digital Certificate Management Service console. For more information, see Purchase a private CA.
QPS limit
The queries per second (QPS) limit for a single user is 10 invocations per second. If the limit is exceeded, API invocations are throttled, which may affect your business. Invoke the API at a reasonable rate.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cert:ListTagResources |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| ResourceType |
string |
Yes |
The resource type. Default value: instance. |
instance |
| NextToken |
string |
No |
The token for the next query. An empty value indicates that no more results are available. |
1d2db86sca4384811e0b5e8707e68181f |
| ResourceId |
array |
No |
The resource ID. |
|
|
string |
No |
The resource ID. |
cas-cn-4591d3xa**** |
|
| Tag |
array<object> |
No |
The information about the queried instances and tags. |
|
|
object |
No |
The information about the queried instances and tags. |
||
| Key |
string |
No |
The key of the tag to query. You can specify multiple tag keys. N is a positive integer. |
testKey1 |
| Value |
string |
No |
The tag value. Valid values of N: 1 to 20. |
testValue1 |
| MaxResults |
integer |
No |
The maximum number of entries to return for the current request. |
1000 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
2D69A58F-345C-4FDE-88E4-BF5189484043 |
| Data |
object |
The data returned by the API operation. |
|
| NextToken |
string |
The token for the next query. An empty value indicates that no more results are available. |
24262 |
| TagResources |
object |
||
| TagResources |
array<object> |
The returned data. |
|
|
object |
The returned data. |
||
| ResourceId |
string |
The instance ID of the certificate to manage. |
cas-upload-xgjcng |
| ResourceType |
string |
The resource type. Valid value: instance. |
ALIYUN::CAS::PCACERTIFICATE |
| TagKey |
string |
The key of the tag to bind. |
Production environment |
| TagValue |
string |
The tag value. |
PVDCDC |
| MaxResults |
integer |
The maximum number of entries to return for the current request. |
20 |
Examples
Success response
JSON format
{
"RequestId": "2D69A58F-345C-4FDE-88E4-BF5189484043",
"Data": {
"NextToken": "24262",
"TagResources": {
"TagResources": [
{
"ResourceId": "cas-upload-xgjcng",
"ResourceType": "ALIYUN::CAS::PCACERTIFICATE",
"TagKey": "Production",
"TagValue": "PVDCDC"
}
]
},
"MaxResults": 20
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.