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
DescribeCloudRouterAvailableVpcsto query VPCs that can be added in to the Layer 3 cloud router.Query available border gateways You can call
DescribeBorderGatewaysto query border gateways that can be added in to the Layer 3 cloud router.Query available ports You can call
DescribeCloudRouterAvailablePortsto query ports that can be added in to the Layer 3 cloud router.Query available locations for public clouds
You can call
DescribeGoogleRegionsto query locations supporting for Google Cloud access point.You can call
DescribeAWSRegionsto query locations supporting for AWS access point.You can call
DescribeTencentRegionsto query locations supporting for Tencent Cloud access point.
Query available date centers for virtual edges
You can call
DescribeVirtualEdgeDatacentersto query date centers supporting virtual edges.
Note
Only operations on ports in state of
ACTIVEare 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
UPDATINGduring the operation. If the cloud router state changes fromUPDATINGtoRUNNING, 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