Querying Tags of a Resource

Function

This interface is used to query tags of a specified resource by project ID and resource ID.

URI

GET /autoscaling-api/v1/{project_id}/{resource_type}/{resource_id}/tags

Table 1 Parameter description

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID.

resource_type

Yes

String

Specifies the resource type. The option is as follows:

scaling_group_tag: indicates that the resource type is an AS group.

resource_id

Yes

String

Specifies the resource ID.

Request Message

Response Message

Returned Values

Error Codes

See Error Codes.