QueryCloudOnrampPrice
1. API Description
This API is used to query the price of cloud connect.
2. Input Parameters
The following request parameter list only provides API request parameters.
dcId
Yes
String
Data center ID of the cloud connect.
cloudType
Yes
String
Cloud connect type. Available values:
AWS
TENCENT
GOOGLE
ALI_CLOUD
AZURE
HUAWEI_CLOUD
vlanId
No
Integer
VLAN ID.
cloudRegionId
No
String
Region ID of public cloud. Google Cloud requires no parameter passing.
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
Available stock of cloud connect. Unit: Mbps.
Both vlanId
and cloudRegionId
are required to query available cloud connect stock; otherwise, the value will be empty.
4. Code Example
Query the price of AWS cloud connect, including the stock.
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_CLOUD_NOT_SELLABLE
Cloud connect is not supported for the current data center.
Last updated