获取标签键
名称 | 类型 | 是否必填 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | GetTagKeys | 要执行的操作,取值:GetTagKeys |
Version | String | 是 | 2022-06-01 | API的版本,取值:2022-06-01 |
NextToken | String | 否 | eyJOZXh0SW5mbyI6IntcIklEXCI6NzgzODg2MzV9IiwiU2lnblRpbWUiOjE2OTIyNjM3NDUsIlNpZ25hdHVyZSI6ImEyYzY5YTFiNDhjZDdjZmFiZGZjZTBjNTNmNThjNDE0ZThkNjQwNjJkMDkxMGY4MjBmYTAxODg1OWZjYTk0NzUifQ== | 分页参数 |
MaxResults | Integer | 否 | 10 | 获取的资源数量 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
TagKeys | Array of TagKey | { | 标签键信息 |
NextToken | String | eyJOZXh0SW5mbyI6IntcIklEXCI6NzgzODg2MzV9IiwiU2lnblRpbWUiOjE2OTIyNjM3ODUsIlNpZ25hdHVyZSI6IjJiNmYwMmFlNTg3NmU0YzJhMGY2YTBmZGI2ZWY3NzBmZjdhMGJhMGQxOTUzYTZjYWEyODAxZWU4ZjFiN2YwYmUifQ== | 分页参数 |
http://open.volcengineapi.com/?Action=GetTagKeys&Version=2022-06-01
{ "ResponseMetadata": { "RequestId": "202308011517312CB67EEB5AE7E901BE9F", "Action": "GetTagKeys", "Version": "2022-06-01", "Service": "tag", "Region": "cn-north-1" }, "Result": { "TagKeys": [ { "TagKey": "volc:vke:cluster-id-ccj3ps8d5ue15", "Category": "System" }, { "TagKey": "volc:vpn:createresource", "Category": "System" } ], "NextToken": "eyJOZXh0SW5mbyI6IntcIklEXCI6MTI4MDc4NDE3fSIsIlNpZ25UaW1lIjoxNjkwODc0MjUxLCJTaWduYXR1cmUiOiI0NWM3NzU2OTRhNmM5MTY0NzAwNWE0M2YxN2ZhNGViZjdhMTdmMDMxNjFmMTQwM2ZjMGU3MTE5YTllZDg5NjNlIn0=" } }
您可访问公共错误码,获取详细信息。