CreateRouteTable
创建一个路由表。
请求参数
| 参数 | 参数类型 | 描述 | 是否必选 | 
|---|---|---|---|
| action | String | 请求动作,可选值:CreateRouteTable | Yes | 
| routing_table_name | String | 路由表名称 | No | 
| routing_table_type | Integer | 路由表类型,可选值:0 | Yes | 
| rtable_rtype | Integer | 路由表对应的资源类型,可选值:1,2 1 - 负载均衡器 2 - 私有网络 | Yes | 
返回数据
| 参数 | 参数类型 | 描述 | 
|---|---|---|
| action | String | 响应动作 | 
| routing_table | String | 新创建的路由表的ID | 
| ret_code | Integer | 执行成功与否,0 表示成功,其他值则为错误代码 | 
示例
请求示例:
https://api.qingcloud.com/iaas/?action=CreateRouteTable
&routing_table_name=Test
&routing_table_type=0
&rtable_rtype=1
&COMMON_PARAMS
Example Response
{
	"action": "CreateRouteTableResponse",
	"routing_table": "rt-h5nqxml7",
	"ret_code": 0
}