This interface is used to query tags of a specified VPN resource.
GET /v2.0/{project_id}/ipsec-site-connections/{resource_id}/tags
In the URI, project_id indicates the project ID, and resource_id indicates the target resource ID.
None
Table 1 describes the response parameters.
Parameter |
Type |
Description |
---|---|---|
tags |
List<resource_tag> |
Specifies the tag list. |
Description of field resource_tag
Name |
Type |
Description |
---|---|---|
key |
String |
Specifies the tag key. The parameter constraints are as follows:
|
value |
String |
Specifies the tag value. The parameter constraints are as follows:
|
GET /v2.0/{project_id}/ipsec-site-connections/{resource_id}/tags
{ "tags": [ { "key": "key1", "value": "value1" }, { "key": "key2", "value": "value3" } ] }
For details, see section Common Returned Values.