AddCloudRouterEdgePoints
1. API Description
This API is used to add one or more new access point to a Layer 3 cloud router.
Prerequisites
Query available VPCs You can call
DescribeCloudRouterAvailableVpcs
to query VPCs that can be added in to the Layer 3 cloud router.Query available ports You can call
DescribeCloudRouterAvailablePorts
to query ports that can be added in to the Layer 3 cloud router.
Note
Only operations on ports in state of
ACTIVE
are supported.This API is an async API. A request ID is returned after the request is sent. However, it does not mean the operation has been completed. The status of the cloud router will be
UPDATING
during the operation. If the cloud router state changes fromUPDATING
toRUNNING
, it means that the access point has been added.Any operations on the cloud routers are not allowed while adding access points.
2. Input Parameters
The following request parameter list only provides API request parameters.
cloudRouterId
Yes
String
Cloud router ID.
3. Output Parameters
requestId
String
The unique request ID, which is returned for each request. RequestId is required for locating a problem.
edgePointIds
Array of String
Access point ID. Consistent with the adding order.
4. Code Example
Add a VPC access point to a Layer 3 cloud router with access bandwidth of 1 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.
404
INVALID_CLOUD_ROUTER_NOT_FOUND
Cloud router doesn't exist.
Last updated