Querying Tags of a Tenant's Resource
Function
This API is used to obtain tags of resources of a tenant based on the tenant ID and resource type.
Request
Response
- Parameter description
Table 2 Response parameters Parameter
Mandatory
Type
Description
tags
Yes
List<resource_tag>
Lists the tags.
Table 3 Data structure of the resource_tag field Parameter
Mandatory
Type
Description
key
Yes
String
Specifies the tag key.
values
Yes
List<String>
Lists the tag values.
- Example response
{ "tags": [ { "key": "key1", "values": [ "*value1", "value2" ] } ] }
Status Code
For details about status codes, see Status Code.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.