ModifyCloudRouterEdgePointBandwidth
1. API Description
This API is used to modify access bandwidth of access point in a Layer 3 cloud router.
Note
Only operations on cloud routers in state of
RUNNINGare supported.This API is an async API. A request ID is returned after the request is sent. However, it does not mean the modifying has been completed. The status of the cloud router will be
UPDATINGduring the modifying. You can callDescribeCloudRoutersto query the state of the cloud router. If the state changes fromUPDATINGtoRUNNING, it means that the access bandwidth has been modified successfully.Any operations on the cloud routers are not allowed while modifying.
If a Layer 3 Cloud Router contains a public cloud access point and the Cloud Connect access bandwidth has not been configured separately, this operation automatically adjusts it to the nearest cap higher than the new backbone bandwidth. You can configure Cloud Connect access bandwidth separately by calling the
ModifyCloudBandwidthAPI.
2. Input Parameters
The following request parameter list only provides API request parameters.
edgePointId
Yes
String
Access point ID.
cloudRouterId
Yes
String
Cloud router ID.
bandwidthMbps
Yes
Integer
Access bandwidth of the access point, ranging from 1 to 500.
Unit: Mbps.
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
Modify the access bandwidth of access points in a cloud router to 100 Mbps.
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.
400
INVALID_BANDWIDTH_EXCEED_LIMIT
Access bandwidth exceeds the limit.
409
INVALID_CLOUD_ROUTER_STATUS
Only operations on cloud routers in state of RUNNING are supported.
Last updated