QueryDataCenterPortPrices
1. API Description
This API is used to batch query the price of data center ports.
2. Input Parameters
The following request parameter list only provides API request parameters.
dcIds
Yes
Array of String
Data center ID.
You can call DescribeDataCenters
to get the latest data center list.
You can query up to 100 IDs in each request.
portType
Yes
String
Port specifications.
You can call DescribeDataCenterPortPrice
to get the latest port specification list.
buildCrossConnectWithAssisted
No
Boolean
Whether need Assisted Build to build your cross connect.
If the value is true
, the data center port price contains the cross connect fee and the one-time construction fee.
The default value is false
, that is you need to build cross connect by yourself.
3. Output Parameters
requestId
String
The unique request ID, which is returned for each request. RequestId is required for locating a problem.
4. Code Example
Batch query the price of data center ports, and the cross connect is built with our assistance.
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.
404
INVALID_DATACENTER_NOT_FOUND
Data center does not exist.
Last updated