QueryPrivateConnectPrice
1. API Description
This API is used to query the price of a Layer 2 private connect.
2. Input Parameters
The following request parameter list only provides API request parameters.
bandwidthMbps
No
Integer
Bandwidth cap.
Default value: 10
.
Unit: Mbps.
3. Output Parameters
requestId
String
The unique request ID, which is returned for each request. RequestId is required for locating a problem.
stock
Integer
Stock of backbone bandwidth of the private connect.
Unit: Mbps
.
4. Code Example
Query the price of a Layer 2 private connect. The bandwidth is 10 Mbps
. One access point is a data center; the other access point is a public cloud.
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.
400
INVALID_PRIVATE_CONNECT_NOT_SUPPORT
Private connect is not supported for the current data center.
Last updated