1. Interface Description
Interface request domain name: vpc.api3.convergecloud.com.
This API (CreateRoutes) is used to create routing policies.
- Add routing policies in batch to a specified routing table.
Default interface request rate limit: 100 times per second.
Interface update time: 2025-04-28 20:08:44.
The interface is both signature verification and authentication.
2. Input Parameters
The following list of request parameters only lists interface request parameters and some public parameters, For a complete list of public parameters see public request parameters.
| Parameter name | Required | Allow NULL | Type | Description |
|---|---|---|---|---|
| Action | Yes | No | String | Public parameter, The value of this interface: CreateRoutes |
| Version | Yes | No | String | Public parameter, The value of this interface: 2017-03-12 |
| Region | No | No | String | Public parameter,Regional information A list of supported geographies is available through the DescribeRegions interface |
| RouteTableId | Yes | No | String | Routing table instance ID. Example: rtb-n0yejvje |
| Routes | Yes | No | Array of Route | Routing policy object. Example:View |
3. Output Parameters
| Parameter name | Type | Description |
|---|---|---|
| TotalCount | Uint64 | Number of new instances. Example: |
| RouteTableSet | Array of RouteTable | Routing table object. Example:View |
| RequestId | String | Unique request id, Each request will return. The RequestId of the request needs to be provided when locating the problem. |
4. Error Code
The following lists only the error codes related to the interface business logic, For other error codes, see public ErrorCode.
| Error Code | Description |
|---|---|
| InvalidParameterValue | The parameter value is invalid. |
| UnsupportedOperation | Operation unsupported. |
| LimitExceeded | Exceeded the limit |
| InvalidParameterValue.Duplicate | Input Parameters are repetitive. |
| InvalidParameterValue.VpcCidrConflict | The destination IP range conflicts with the current VPC's CIDR. |
| InvalidParameterValue.CidrNotInPeerVpc | The destination IP range is not within the CIDR range of the peer VPC. |
| UnsupportedOperation.SystemRoute | System route. The operation is prohibited. |
| UnsupportedOperation.Ecmp | ECMP is not supported. |
| UnsupportedOperation.EcmpWithCcnRoute | An ECMP is formed with the route to CCN. |
| UnsupportedOperation.EcmpWithUserRoute | An ECMP is formed with the user-defined route. |
| UnsupportedOperation.ConflictWithDockerRoute | Overlaps with the IP range of a TKE container under this VPC. |
| UnknownParameter.WithGuess | This parameter cannot be recognized. Similar parameters can be used for replacement. |