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>
13 KiB
13 KiB
Updating a VPN Endpoint Group
Function
This interface is used to update a VPN endpoint group.
URI
PUT /v2.0/vpn/endpoint-groups/{endpoint_group_id}
Parameter |
Type |
Mandatory |
Description |
---|---|---|---|
endpoint_group_id |
String |
No |
Specifies the VPN endpoint group ID. |
Request Message
Table 2 describes the request parameters.
Response Message
Table 3 describes the response parameters.
Parameter |
Type |
Description |
---|---|---|
description |
Yes |
Provides supplementary information about the VPN endpoint group. |
tenant_id |
Yes |
Specifies the project ID. |
endpoints |
Yes |
Specifies the endpoint list. The endpoints in a list must be of the same type. |
type |
Yes |
Specifies the endpoint type. The value can be subnet or cidr. |
id |
Yes |
Specifies the VPN endpoint group ID. |
name |
Yes |
Provides supplementary information about the VPN endpoint group. |
Example
- Example Request
PUT /v2.0/vpn/endpoint-groups/{endpoint_group_id} { "endpoint_group" : { "description" : "New description" } }
- Example Response
{ "endpoint_group" : { "description" : "New 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