Queries the tag keys that are added to resources in a template or stack in an Alibaba Cloud region.
Operation description
In this example, the tag keys that are added to a stack in the China (Hangzhou) region are queried.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID of the tag key. You can call the DescribeRegions operation to query the most recent region list. | cn-hangzhou |
ResourceType | string | Yes | The type of the resource. Valid values:
| stack |
NextToken | string | No | The pagination token that is used in the next request to retrieve a new page of results. | caeba0bbb2be03f84eb48b699f0***** |
For more information about common request parameters, see Common parameters.
Response parameters
Examples
Sample success responses
JSON
format
{
"NextToken": "caeba0bbb2be03f84eb48b699f0*****",
"RequestId": "C429473A-5C66-4661-B5F8-4F900CD4330A",
"Keys": [
"[\"TagKey1\",\"TagKey2\"]"
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history