Queries the associations between resources (SSL Certificate instances) and their tags.
Operation description
Before you call this operation, you must purchase a private CA in the Certificate Management Service console. For more information, see Purchase a private CA.
You can call this operation up to 10 times per second per Alibaba Cloud account. If the number of calls per second exceeds this limit, throttling is triggered. This may affect your business. We recommend that you plan your calls accordingly.
QPS Limit
You can call this operation up to 10 times per second for each Alibaba Cloud account. If the number of calls per second exceeds this limit, throttling is triggered, which may affect your business. We recommend that you plan your calls accordingly.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| ResourceType |
string |
Yes |
The resource type. Set the value to instance. |
instance |
| NextToken |
string |
No |
The token that is used to start the next query. If this parameter is empty, 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 instances and tags that are queried. |
|
|
object |
No |
The information about the instances and tags that are queried. |
||
| 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. The value of n can be from 1 to 20. |
testValue1 |
| MaxResults |
integer |
No |
The maximum number of entries to return for this call. |
1000 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
2D69A58F-345C-4FDE-88E4-BF5189484043 |
| Data |
object |
The data returned. |
|
| NextToken |
string |
The token that is used to start the next query. If this parameter is empty, no more results exist. |
24262 |
| TagResources |
object |
||
| TagResources |
array<object> |
The data returned. |
|
|
object |
The returned data. |
||
| ResourceId |
string |
The ID of the resource. |
cas-upload-xgjcng |
| ResourceType |
string |
The type of the resource. |
ALIYUN::CAS::PCACERTIFICATE |
| TagKey |
string |
The key of the tag. |
正式环境 |
| TagValue |
string |
The value of the tag. |
PVDCDC |
| MaxResults |
integer |
The maximum number of entries returned for this call. |
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.