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>
10 KiB
10 KiB
Querying VPN Endpoint Groups
Function
This interface is used to query VPN endpoint groups.
URI
GET /v2.0/vpn/endpoint-groups
Request Message
Table 1 describes the request parameters.
Response Message
Table 2 describes the response parameters.
Parameter |
Type |
Description |
---|---|---|
description |
String |
Provides supplementary information about the VPN endpoint group. |
tenant_id |
String |
Specifies the project ID. |
endpoints |
List |
Specifies the endpoint list. The endpoints in a list must be of the same type. |
type |
String |
Specifies the endpoint type. The value can be subnet or cidr. |
id |
String |
Specifies the VPN endpoint group ID. |
name |
String |
Specifies the VPN endpoint group name. |
Example
- Example Request
GET /v2.0/vpn/endpoint-groups
- Example Response
{ "endpoint_groups": [ { "description": "", "tenant_id": "4ad57e7ce0b24fca8f12b9834d91079d", "endpoints": [ "a3da778c-adfb-46db-88b3-d2ce53290a89" ], "type": "subnet", "id": "6bf34c7c-864c-4948-a6d4-db791669f9d4", "name": "locals" }, { "description": "", "tenant_id": "4ad57e7ce0b24fca8f12b9834d91079d", "endpoints": [ "10.2.0.0/24", "10.3.0.0/24" ], "type": "cidr", "id": "6ecd9cf3-ca64-46c7-863f-f2eb1b9e838a", "name": "peers" } ] }
Returned Values
For details, see section Common Returned Values.
Parent topic: VPN Endpoint Group Management