DeleteExpressConnect - 删除高速通道实例

删除高速通道实例,包含发起端和接收端。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。
  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:
    • 对于必选的资源类型,用前面加 * 表示。
    • 对于不支持资源级授权的操作,用全部资源表示。
  • 条件关键字:是指云产品自身定义的条件关键字。
  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作访问级别资源类型条件关键字关联操作
vpc:DeleteRouterInterfacedelete
*RouterInterface
acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}

请求参数

名称类型必填描述示例值
RegionIdstring

高速通道所在的地域 ID。您可以通过调用 DescribeRegions 接口获取地域 ID。

cn-shanghai
RouterInterfaceIdstring

高速通道的实例 ID。

ri-119mfjz****
Forceboolean

是否强制删除关联的路由条目。

  • true:强制删除。

  • false:不删除。

false
ClientTokenstring

用于保证请求的幂等性。

由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过 64 个 ASCII 字符。

02fb3da4-130e-11e9-8e44-00****

返回参数

名称类型描述示例值
object
RequestIdstring

请求 ID。

980960B0-2969-40BF-8542-EBB34FD358AB

示例

正常返回示例

JSON格式

{
  "RequestId": "980960B0-2969-40BF-8542-EBB34FD358AB"
}

错误码

HTTP status code错误码错误信息描述
400IncorrectStatus.RouterInterfaceThis openeration would not be allowed because the status of this RouterInterface is not correct.当前实例的状态无法进行删除,请等待状态变更后再次进行操作。
400DependencyViolation.RouterInterfaceReferedByRouteEntryRouterInterface cannot be deleted when it is refered by a route table entry as next hop.路由器接口被某个路由条目引用(将当做下一跳目标)时,不能删除,请先删除指向该路由器接口的路由条目后再进行删除。
400InvalidRouterInterfaceChargeType.MalformedThe prepaid routerinterface can not delete.无法删除预付费路由器接口。
400InvalidRouterInterfaceOppositeChargeType.MalformedOpposite routerinterface is prepaid and can not delete.-
400IncorrectStatus.VpcVpc incorrect status.VPC未处于稳态.
400OperationFailed.OperationLockedOperation failed because OperationLocked.操作失败因为实例已经被运维锁定。
404InvalidRegionId.NotFoundThe RegionId provided does not exist in our records.指定的RegionId不存在
404InvalidInstanceId.NotFoundThe InstanceId provided does not exist in our records.该 ECS 实例不存在(实例不在该 VPC 下)。
404InvalidRouterInterfaceId.NotFoundThe routerInterface is not exist.-
404IncorrectStatus.VSwitchOrRouteEntryvpc has no stable subnet or route entry.-
404DependencyViolation.ClassicLinkEcsRouteEntryRouterInterface cannot be deleted when it is used by cross account classicLink.-
500InternalErrorInternal system error.内部系统错误。

访问错误中心查看更多错误码。