forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: gtema <artem.goncharov@gmail.com> Co-committed-by: gtema <artem.goncharov@gmail.com>
9.4 KiB
9.4 KiB
Querying VPN Tags in a Specified Project
Function
This interface is used to query all tags of a VPN in a specified region.
URI
GET /v2.0/{project_id}/ipsec-site-connections/tags
Request Message
None
Response Message
Table 1 describes the response parameters.
- Description of field tag
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:
|
Example
- Example Request
GET /v2.0/{project_id}/ipsec-site-connections/tags
- Example Response
{ "tags": [ { "key": "key1", "values": [ "value1", "value2" ] }, { "key": "key2", "values": [ "value1", "value2" ] } ] }
Returned Values
For details, see section Common Returned Values.
Parent topic: Tag Management