DeleteRouteEntry
目前该API接口已标记为弃用,推荐使用替代API:Vpc(2016-04-28) - DeleteRouteEntry。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
vpc:DeleteRouteEntry |
delete |
*RouteTable
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
否 |
||
| RouteTableId |
string |
是 |
||
| DestinationCidrBlock |
string |
是 |
||
| NextHopId |
string |
否 |
||
| NextHopList |
array<object> |
否 |
||
|
object |
否 |
|||
| NextHopId |
string |
否 |
||
| NextHopType |
string |
否 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
示例
正常返回示例
JSON格式
{
"RequestId": ""
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | MissingParameter | Miss mandatory parameter. | 参数不得为空。 |
| 400 | IncorrcetRouteEntryStatus | Some route entry status blocked this operation. | 路由条目状态错误,无法操作。 |
| 400 | InvalidCidrBlock.Malformed | Specified CIDR block is not valid. | 指定的CIDR格式不正确。 |
| 400 | OperationDenied | Specified operation is denied as route entry type is system. | 系统路由项不支持制定操作。 |
| 400 | InvalidRouteEntry.NotFound | Route entry not exists. | |
| 400 | InvalidVRouter.NotFound | vRouter not exists. | |
| 400 | IncorrectRouteEntryStatus | Some route entry status blocked this operation. | 无法执行该操作,当前路由表中有路由条目的状态为 pending 或 modifying。 |
| 400 | Forbbiden | Specified RouteEntry cannot allowed delete by openApi. | |
| 400 | InvalidNextHop | Specified nexthop and nexthop list cannot both null. | 下一跳和下一跳列表不能为空。 |
| 400 | InvalidRouteEntry | Specified routeEntry not exist. | |
| 400 | Forbidden.VRouterNotFound | pecified virtual switch is not found during access authentication. | |
| 400 | TaskConflict | The operation is too frequent, TaskConflict. | 操作过于频繁,请稍等一会再重试 |
| 400 | IncorrectVpcStatus | Current VPC status does not support this operation. | 当前专有网络 VPC 的状态无法支持这个操作。 |
| 400 | InvalidVpnInstanceId.NotFound | %s | |
| 400 | InvalidNextHopList.Size | Nexthop list size should be between 2 and 16 | |
| 400 | ParamExclusive.NextHopIdAndList | NextHopId and NextHopList cannot both be not null. | |
| 400 | OperationFailed.DeleteMultiScopeEntry | Multi or ecmp scope must delete with force. | |
| 400 | OperationFailed.DistibuteLock | Distibute lock fail. | |
| 500 | Vpc.Error | error code 500,Internal server error. | |
| 404 | InvalidRouteTableId.NotFound | Specified route table does not exist. | 指定的虚拟路由表不存在。 |
| 404 | InvalidVpcId.NotFound | Specified value of VpcId is not found in our record. | 指定的 VpcId 不存在。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。