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