This API is used to query tags of a specified VPN.
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 ID of the target resource.
None
Table 1 describes the response parameter.
Parameter |
Type |
Description |
---|---|---|
tags |
List<resource_tag> |
Specifies the list of tags. |
Name |
Type |
Description |
---|---|---|
key |
String |
Specifies the tag key. The key
|
value |
String |
Specifies the tag value. The value
|
GET /v2.0/{project_id}/ipsec-site-connections/{resource_id}/tags
{ "tags": [ { "key": "key1", "value": "value1" }, { "key": "key2", "value": "value3" } ] }
For details, see Common Returned Values.