List Private Network Connections
List private-network connections with pagination. This API requires data source module permissions.
Endpoint: /openapi/v1/tunnel/list
Method: GET
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | String | No | Private-network connection name keyword. Uses fuzzy matching. |
| type | String | No | Connection type: access or manual. |
| vendor | String | No | Cloud vendor: aliyun, tencent, huawei, aws, ecloud, gcp, or baidu. |
| current | Integer | No | Current page number, starting at 1. Default: 1. |
| pageSize | Integer | No | Records per page. Default: 10; maximum: 1000. |
Response parameters
The response contains success, requestId, current, pageSize, total, and data. Each item in data contains the following fields.
| Parameter | Type | Description |
|---|---|---|
| data[].tunnelId | String | Private-network connection ID. |
| data[].name | String | Private-network connection name. |
| data[].type | String | Connection type. |
| data[].vendor | String | Cloud vendor. |
| data[].vendorRegionId | String | Cloud-vendor region ID. |
| data[].uid | String | Cloud account UID. |
| data[].accessId | String | Cloud access credential ID. |
| data[].vpcId | String | VPC ID. |
| data[].vpcName | String | VPC name. |
| data[].gatewayId | String | Associated gateway ID. |
| data[].endpointId | String | Endpoint ID. |
| data[].endpointIp | String | Endpoint IP address. |
| data[].status | String | normal, invalid, or deleted. |
| data[].errorMessage | String | Error message. |
| data[].creatorId | String | Creator account ID. |
| data[].createTime | DateTime | Creation time. |
Success response
{"success": true, "requestId": "<requestId>", "current": 1, "pageSize": 10, "total": 0, "data": []}