DescribeProductResourceTagKeyList - 获取对应地域下云资源的所有标签键列表

调用DescribeProductResourceTagKeyList接口获取对应地域下云资源的所有标签键列表。

接口说明

说明 标签键列表中不包含重复值。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
NextTokenstring

分页游标标识。

dbc2826f237e****

返回参数

名称类型描述示例值
object
Codestring

状态码。

说明 200 表示成功。
200
Messagestring

错误信息。

The request processing has failed due to some unknown error.
NextTokenstring

分页游标,如果有下一页,则该字段有返回值。

说明 该参数只要返回数据,则说明还有下一页。您可以将返回的 NextToken 作为请求参数再次获得下一页的数据,直到返回为 Null,表示获取到了所有的数据。
dbc2826f237e****
RequestIdstring

请求 ID。

945ACAA9-89F2-4A62-8913-076FDEDAA8DB
Successboolean

操作是否成功。true 表示成功,false 表示失败。

true
TagKeysarray
TagKeystring

标签键列表。

tagKey1

示例

正常返回示例

JSON格式

{
  "Code": "200",
  "Message": "The request processing has failed due to some unknown error.",
  "NextToken": "dbc2826f237e****",
  "RequestId": "945ACAA9-89F2-4A62-8913-076FDEDAA8DB",
  "Success": true,
  "TagKeys": {
    "TagKey": [
      "tagKey1"
    ]
  }
}

错误码

HTTP status code错误码错误信息描述
400ParameterInvalidIllegal parameters.-
403AccessForbiddenUser not authorized to operate on the specified resource.-
404ResourceNotFoundThe specified resource is not found.未找到指定资源。
500InternalErrorThe request processing has failed due to some unknown error.-

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
暂无变更历史