DescribeCloudRouterAvailablePorts
1. API Description
This API (DescribeCloudRouterAvailablePorts) is used to query Available Ports
2. Input Parameters
The following request parameter list only provides API request parameters.
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
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.
4. Code Example
1. Get the list of data center ports that can join a Cloud Router.
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