Querying the VPN Connection List

Function

This API is used to query the VPN connection list.

Calling Method

For details, see Calling APIs.

URI

GET /v5/{project_id}/vpn-connection

Table 1 Parameter description

Parameter

Type

Mandatory

Description

project_id

String

Yes

Specifies a project ID. You can obtain the project ID by referring to Obtaining the Project ID.

Table 2 Parameter in a query request

Parameter

Type

Mandatory

Description

vgw_ip

String

No

Specifies an EIP ID or private IP address of a VPN gateway.

vgw_id

String

No

Specifies a VPN gateway ID.

enterprise_project_id

Array

No

Specifies an enterprise project ID.

limit

Integer

No

  • Specifies the number of records returned on each page during pagination query.
  • The value ranges from 0 to 200.
  • The default value is 200.

marker

String

No

  • Specifies the start flag for querying the current page. If this parameter is left blank, the first page is queried. The marker for querying the next page is the next_marker in the page_info object returned on the current page.
  • This parameter must be used together with limit.

Request

Response

Status Codes

For details, see Status Codes.