Description
Obtains the TagKey list of the instance.
Request parameters
| Name | Type | Required or not | Description |
|---|---|---|---|
| RegionId | String | Yes | ID of the region in which the instance is located |
| InstanceId | String | Yes | Instance ID |
| ReverseIp | String | Yes | Reverse VPC IP address of the instance |
| ReversePort | Integer | Yes | Reverse VPC Port of the instance |
| Metric | String | Yes | Metric name |
| Prefix | String | Yes | Prefix |
| Max | Long | Yes | Maximum number of returned results |
NOTE: All the above request parameters have no default value.
Response parameters
| Name | Type | Description |
|---|---|---|
| TagKeyList | List | List of TagKeys |
| TagKey | String | TagKey of the data |
Return example
JSON format:
{
"code": "200",
"data": {
"RequestId": "5EE70BFD-A272-417C-A6C2-37F081A49FE3",
"TagKeyList": [
{"TagKey":"hostname"},
{"TagKey":"color"},
{"TagKey":"category"},
{"TagKey":"location"}
]
},
"requestId": "5EE70BFD-A272-417C-A6C2-37F081A49FE3",
"successResponse": true
}