查询指定标签的值。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
NextToken | string | 否 | 是否拥有下一次查询的令牌(Token)。取值:
| FFmyTO70tTpLG6I3FmYAXGKPd**** |
MaxResults | integer | 否 | 分批次查询时每次显示的条目数。取值范围:1~100,默认值为 20。 | 20 |
ResourceType | string | 否 | 资源类型,取值:
| loadbalancer |
ResourceId | string | 否 | 资源实例 ID。 | alb-gws76zijb0****** |
TagKey | string | 是 | 标签键。最多支持 128 个字符,不能以 | test |
返回参数
示例
正常返回示例
JSON
格式
{
"MaxResults": 20,
"NextToken": "FFmyTO70tTpLG6I3FmYAXGKPd****",
"RequestId": "593B0448-D13E-4C56-AC0D-FDF0F******",
"TagValues": [
"owner"
],
"TotalCount": 10
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
404 | ResourceNotFound.Acl | The specified resource %s is not found. | 资源%s不存在。 |
404 | ResourceNotFound.LoadBalancer | The specified resource %s is not found. | 资源%s不存在。 |
404 | ResourceNotFound.SecurityPolicy | The specified resource %s is not found. | 资源%s不存在。 |
404 | ResourceNotFound.ServerGroup | The specified resource %s is not found. | 资源%s不存在。 |
访问错误中心查看更多错误码。
变更历史
变更时间 | 变更内容概要 | 操作 |
---|
暂无变更历史