Queries the mapping between resources (SSL certificate instances) and tags.
Operation description
This operation queries the status information of a private CA instance that you purchased in 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 contained, 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 QPS limit for a single user is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your services. Call this operation at a reasonable frequency.
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 used to start the next query. An empty value indicates that no more results exist. |
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 query. |
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 operation. |
|
| NextToken |
string |
The token used to start the next query. An empty value indicates that no more results exist. |
24262 |
| TagResources |
object |
||
| TagResources |
array<object> |
The returned data. |
|
|
object |
The returned data. |
||
| ResourceId |
string |
The ID of the certificate instance on which you want to perform operations. |
cas-upload-xgjcng |
| ResourceType |
string |
The resource type. Valid value: instance. |
ALIYUN::CAS::PCACERTIFICATE |
| TagKey |
string |
The key of the tag to bind. |
Production |
| TagValue |
string |
The tag value. |
PVDCDC |
| MaxResults |
integer |
The maximum number of entries to return for the current query. |
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": "正式环境",
"TagValue": "PVDCDC"
}
]
},
"MaxResults": 20
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.