1. Interface Description
Interface request domain name: vpc.api3.convergecloud.com.
This API (CreateRouteTable) is used to create a routing table.
- After a VPC is created, the system will create a default routing table, and all newly created subnets will be associated with this default routing table. You can directly use the default routing table to manage your routing policies under normal circumstances. When you have numerous routing policies, you can call this API to create additional routing tables to manage your policies.* When creating a routing table, you can also bind tags. The list of tags in the response represents the successfully added tags.
Default interface request rate limit: 100 times per second.
Interface update time: 2020-02-13 23:59:28.
The interface only verifies the signature but does not authenticate.
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: CreateRouteTable |
| 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 |
| VpcId | Yes | No | String | ID of VPC instance to be operated. It can be accessed through VpcId in the returned value of the DescribeVpcs API. Example: vpc-2at5y1pn |
| RouteTableName | Yes | No | String | Routing table name, up to 60 bytes in length. Example: demoRouteTable |
| Tags | No | No | Array of Tag | Specifies the list of tags for binding. For example, [{"Key": "city", "Value": "region"}]. Example:View |
3. Output Parameters
| Parameter name | Type | Description |
|---|---|---|
| RouteTable | 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 |
|---|---|
| InvalidParameter | Invalid input parameters. |
| InvalidParameterValue.Malformed | Invalid input format. |
| ResourceNotFound | The resource does not exist |
| InvalidParameterValue.LimitExceeded | The parameter value exceeds the limit. |
| MissingParameter | Missing parameters. The request did not carry the required parameter. |