Querying Project Tags

Function

This API is used to query all tags of a specified resource type in a specified project of a tenant.

Calling Method

For details, see Calling APIs.

URI

GET /v5/{project_id}/{resource_type}/tags

Table 1 Parameter description

Parameter

Type

Mandatory

Description

project_id

String

Yes

Specifies a project ID. You can obtain the project ID by referring to Obtaining the Project ID.

resource_type

String

Yes

  • Specifies the resource type.
  • The value can be vpn-gateway, customer-gateway, or vpn-connection.

Request

Response

Status Codes

For details, see Status Codes.