CreateCloudRouter
1. API Description
This API is used to create 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 border gateways You can call
DescribeBorderGateways
to query border gateways 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.Query available locations for public clouds
You can call
DescribeGoogleRegions
to query locations supporting for Google Cloud access point.You can call
DescribeAWSRegions
to query locations supporting for AWS access point.You can call
DescribeTencentRegions
to query locations supporting for Tencent Cloud access point.
Query available date centers for virtual edges
You can call
DescribeVirtualEdgeDatacenters
to query date centers supporting virtual edges.
2. Input Parameters
The following request parameter list only provides API request parameters.
cloudRouterName
No
String
Cloud router name.
Up to 255 characters in length are allowed. The default is cloud-router-{current time}
.
cloudRouterDescription
No
String
Cloud router description. Up to 255 characters in length are allowed.
resourceGroupId
No
String
Resource group ID.
If the value is null, the cloud router will be added into the default resource group.
3. Output Parameters
requestId
String
The unique request ID, which is returned for each request. RequestId is required for locating a problem.
cloudRouterId
String
Cloud router ID.
4. Code Example
Create a Layer 3 cloud router with a port and a VPC as access points. The access bandwidth is 10 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
No error codes related to the API business logic. For other error codes, see Common Error Codes.
Last updated