删除高速通道实例,包含发起端和接收端。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
vpc:DeleteRouterInterface |
delete |
*RouterInterface
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
是 |
高速通道所在的地域 ID。您可以通过调用 DescribeRegions 接口获取地域 ID。 |
cn-shanghai |
| RouterInterfaceId |
string |
是 |
高速通道的实例 ID。 |
ri-119mfjz**** |
| Force |
boolean |
否 |
是否强制删除关联的路由条目。
|
false |
| ClientToken |
string |
否 |
用于保证请求的幂等性。 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过 64 个 ASCII 字符。 |
02fb3da4-130e-11e9-8e44-00**** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID。 |
980960B0-2969-40BF-8542-EBB34FD358AB |
示例
正常返回示例
JSON格式
{
"RequestId": "980960B0-2969-40BF-8542-EBB34FD358AB"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | IncorrectStatus.RouterInterface | This openeration would not be allowed because the status of this RouterInterface is not correct. | 当前实例的状态无法进行删除,请等待状态变更后再次进行操作。 |
| 400 | DependencyViolation.RouterInterfaceReferedByRouteEntry | RouterInterface cannot be deleted when it is refered by a route table entry as next hop. | 路由器接口被某个路由条目引用(将当做下一跳目标)时,不能删除,请先删除指向该路由器接口的路由条目后再进行删除。 |
| 400 | InvalidRouterInterfaceChargeType.Malformed | The prepaid routerinterface can not delete. | |
| 400 | InvalidRouterInterfaceOppositeChargeType.Malformed | Opposite routerinterface is prepaid and can not delete. | |
| 400 | IncorrectStatus.Vpc | Vpc incorrect status. | VPC未处于稳态. |
| 400 | OperationFailed.OperationLocked | Operation failed because OperationLocked. | 操作失败因为实例已经被运维锁定。 |
| 500 | InternalError | Internal system error. | 内部系统错误。 |
| 404 | InvalidRegionId.NotFound | The RegionId provided does not exist in our records. | 指定的RegionId不存在 |
| 404 | InvalidInstanceId.NotFound | The InstanceId provided does not exist in our records. | |
| 404 | InvalidRouterInterfaceId.NotFound | The routerInterface is not exist. | |
| 404 | IncorrectStatus.VSwitchOrRouteEntry | vpc has no stable subnet or route entry. | |
| 404 | DependencyViolation.ClassicLinkEcsRouteEntry | RouterInterface cannot be deleted when it is used by cross account classicLink. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。