查询标签值
名称 | 类型 | 是否必填 | 示例值 | 描述 |
---|---|---|---|---|
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 | { | 标签信息 |
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": "" } }
您可访问公共错误码,获取详细信息。