文档

DeleteVirtualBorderRouter - 删除边界路由器(VBR)

更新时间:

调用DeleteVirtualBorderRouter接口删除VBR实例。

接口说明

在调用 DeleteVirtualBorderRouter 接口删除 VBR 实例之前,请注意:

  • 删除 VBR 实例之前,必须删除 VBR 实例上所有的路由器接口。
  • 只能删除 unconfirmedactiveterminated 状态的 VBR 实例。
  • 其他账号的 VBR 实例只有处于 unconfirmed 状态时,才可以被物理专线的所有者删除。

调试

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

授权信息

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

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

请求参数

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

VBR 实例所属的地域 ID。 您可以通过调用 DescribeRegions 接口获取地域 ID。

cn-shanghai
VbrIdstring

VBR 实例 ID。

vbr-bp12mw1f8k3jgygk9****
ClientTokenstring

客户端 Token 用于保证请求的幂等性。

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

02fb3da4-130e-11e9-8e44-0016e04115b

返回参数

名称类型描述示例值
object
RequestIdstring

请求 ID。

0ED8D006-F706-4D23-88ED-E11ED28DCAC0

示例

正常返回示例

JSON格式

{
  "RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
}

错误码

HTTP status code错误码错误信息描述
400InvalidOperation.RouterInterfaceNotDeletedThe specified VirutalBorderRouter still has routerInterface.该边界路由器还有关联的路由器接口。
400InvalidOperation.OperationNotAllowedInStateThe specified VirutalBorderRouter is in invalid state.该VirutalBorderRouter状态不合法,请检查VirutalBorderRouter状态。
400InvalidStatus.NotAllowedThe virtual border has been associated by physicalConnection.边界路由器已经关联了物理专线。
400DependencyViolation.RouterInterfaceReferedByRouteEntryThe specified VirutalBorderRouter is refered by routeEntry.VBR已经被引用
400DependencyViolation.BgpGroupbgp group exists, cannot delete vbr.vbr已经依赖BgpGroup,不能删除
400DependencyViolation.Nqanqa exists, cannot delete vbr.nqa存在,无法删除vbr
400DependencyViolation.BgpNetworkbgp network exists, cannot delete vbr.VBR存在BGP宣告网段配置,不能删除VBR。
400OperationUnsupported.VBRAttachedCenOperation failed because the VBR is attached to CEN.操作失败,因为VBR已关联到CEN。
403Forbidden.OperationDeleteNotAllowedByUserThe caller is not allowed to delete the specified VirtualBorderRouter.此用户不允许删除此边界路由器。
403Forbidden.MultiVlanRiMultiple vlan router interfaces are found.存在多个VLAN路由器接口。
403Forbidden.NoRiFoundNo vlan router interfaces are found.没有可用的VLAN路由器接口。
404InvalidRegionId.NotFoundThe RegionId provided does not exist in our records.指定的RegionId不存在。请检查该参数是否正确。
404InvalidVbrId.NotFoundThe specified VirutalBorderRouter does not exist in our records.该边界路由器不存在,请您检查输入的边界路由器是否正确。

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

  • 本页导读 (1)
文档反馈