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