Queries keys of all tags attached to cloud resources in a specified region.

Note If a tag is attached to multiple cloud resources in the region, the key of the tag is returned only once.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeProductResourceTagKeyList

The operation that you want to perform. Set the value to DescribeProductResourceTagKeyList.

NextToken String No dbc2826f237e****

The pagination cursor.

Response parameters

Parameter Type Example Description
Code String 200

The HTTP status code.

Note The status code 200 indicates that the call was successful.
Message String The request processing has failed due to some unknown error.

The error message.

NextToken String dbc2826f237e****

The pagination cursor. If more entries are to be returned on the next page, a pagination cursor is returned.

Note If the value of this parameter is not null, more entries are to be returned on the next page. You can use the returned pagination cursor as a request parameter to obtain entries on the next page. If the value of this parameter is null, all the entries have been returned.
RequestId String 945ACAA9-89F2-4A62-8913-076FDEDAA8DB

The ID of the request.

Success Boolean true

Indicates whether the call was successful. The value true indicates a success. The value false indicates a failure.

TagKeys List tagKey1

The keys of tags.

Examples

Sample requests

http(s)://[Endpoint]/? Action=DescribeProductResourceTagKeyList
&<Common request parameters>

Sample success responses

XML format

<DescribeProductResourceTagKeyList>
          <NextToken>dbc2826f237e****</NextToken>
          <TagKeys>
                <TagKey>tagKey1</TagKey>
          </TagKeys>
          <RequestId>945ACAA9-89F2-4A62-8913-076FDEDAA8DB</RequestId>
          <Success>true</Success>
          <Code>200</Code>
</DescribeProductResourceTagKeyList>

JSON format

{
    "NextToken": "dbc2826f237e****",
    "TagKeys": {
        "TagKey": [
            "tagKey1"
        ]
    },
    "RequestId": "945ACAA9-89F2-4A62-8913-076FDEDAA8DB",
    "Success": true,
    "Code": 200
}

Error codes

For a list of error codes, visit the API Error Center.