You need to enable JavaScript to run this app.
导航
GetTagValues - 查询标签值
最近更新时间:2023.11.03 11:33:34首次发布时间:2023.08.24 21:41:31

查询标签值

请求参数

名称
类型
是否必填
示例值
描述
Action
String

GetTagValues

要执行的操作,取值:GetTagValues

Version
String

2022-06-01

API的版本,取值:2022-06-01

MaxResults
Integer

10

获取的资源数量

TagKeys.N
Array of String

tagkey

标签键

NextToken
String

eyJOZXh0SW5mbyI6IntcIklEXCI6NzgzODg2MzV9IiwiU2lnblRpbWUiOjE2OTIyNjQwNjMsIlNpZ25hdHVyZSI6ImY0Y2ZiNjhiZDc4YzM0ZDE0YWRjMzQ0YWU4MjMxNjM2Nzk3YzE2NDkyMjcwMDNhYjZmMzg2MWYyZGY5NDljODQifQ==

分页参数

响应数据

名称
类型
示例值
描述
Tags
Array of TagRes

{
"Key": "222",
"Value": "333",
"Type": "Custom"
}

标签信息

NextToken
String

eyJOZXh0SW5mbyI6IntcIklEXCI6NzgzODg2MzV9IiwiU2lnblRpbWUiOjE2OTIyNjQwNjMsIlNpZ25hdHVyZSI6ImY0Y2ZiNjhiZDc4YzM0ZDE0YWRjMzQ0YWU4MjMxNjM2Nzk3YzE2NDkyMjcwMDNhYjZmMzg2MWYyZGY5NDljODQifQ==

分页参数

示例

请求

http://open.volcengineapi.com/?Action=GetTagValues&Version=2022-06-01&TagKeys.1=key

响应

{
    "ResponseMetadata": {
        "RequestId": "20230801154006150C4D467E6FBC0000E4",
        "Action": "GetTagValues",
        "Version": "2022-06-01",
        "Service": "tag",
        "Region": "cn-north-1"
    },
    "Result": {
        "Tags": [
            {
                "Key": "key",
                "Value": "a",
                "Type": "Custom"
            }
        ],
        "NextToken": ""
    }
}

错误码

您可访问公共错误码,获取详细信息。