For the complete documentation index, see llms.txt. This page is also available as Markdown.

DescribePrivateConnectAvailablePorts

1. API Description

This API (DescribePrivateConnectAvailablePorts) is used to query Available Physical Ports

Notes

  • Currently only ports with connectivity status ACTIVE can be added to a Private Connect.

2. Input Parameters

The following request parameter list only provides API request parameters.

Parameter Name
Required
Type
Description

portIds

No

Array of String

List of physical port IDs, used to filter by port.

dcId

No

String

Data center ID, used to filter by data center.

pageSize

No

Integer

Page size to return. Default: 20, maximum: 100.

pageNum

No

Integer

Page number to return. Default: 1.

Default value: 1

3. Output Parameters

Parameter Name
Type
Description

requestId

String

The unique request ID, which is returned for each request.

RequestId is required for locating a problem.

totalCount

Integer

Total number of physical ports matching the criteria.

dataSet

Array of PortInfo

List of physical ports that can be added to the network.

4. Code Example

1. Get the list of ports that can join a Private Connect.

5. Developer Resources

Zenlayer Cloud API 2.0 integrates SDKs,to make it easier for you to call APIs. More programming languages will be supported.

6. Error Codes

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

HTTP Status Code

Error Code

Description

Last updated