Queries the tags that are added to resources in PrivateZone.
Operation description
Limits
You can query tags for zone resources only.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pvtz:DescribeTags |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the response. Valid values:
Default value: en |
en |
| ResourceType |
string |
Yes |
The resource type. Set the value to ZONE. |
ZONE |
| PageNumber |
integer |
No |
The page number. The start value is 1. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Maximum value: 100. Default value: 20. |
20 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
integer |
The total number of entries returned. |
200 |
| PageSize |
integer |
The number of entries returned per page. |
20 |
| RequestId |
string |
The unique request ID. |
9EA7F720-B7C0-45C1-9CF4-B6A5A1179B68 |
| PageNumber |
integer |
The returned page number. |
1 |
| Tags |
array<object> |
The list of resource tags. |
|
|
object |
The information about the resource tag. |
||
| Key |
string |
The tag key of the resource. |
env |
| Values |
array |
The list of tag values. |
|
|
string |
The tag value. |
daily |
Examples
Success response
JSON format
{
"TotalCount": 200,
"PageSize": 20,
"RequestId": "9EA7F720-B7C0-45C1-9CF4-B6A5A1179B68",
"PageNumber": 1,
"Tags": [
{
"Key": "env",
"Values": [
"daily"
]
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.