调用DeleteVirtualBorderRouter接口删除VBR实例。
接口说明
在调用 DeleteVirtualBorderRouter 接口删除 VBR 实例之前,请注意:
删除 VBR 实例之前,必须删除 VBR 实例上所有的路由器接口。
只能删除 unconfirmed、active 或 terminated 状态的 VBR 实例。
其他账号的 VBR 实例只有处于 unconfirmed 状态时,才可以被物理专线的所有者删除。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
是 |
VBR 实例所属的地域 ID。 您可以通过调用 DescribeRegions 接口获取地域 ID。 |
cn-shanghai |
| VbrId |
string |
是 |
VBR 实例 ID。 |
vbr-bp12mw1f8k3jgygk9**** |
| ClientToken |
string |
否 |
客户端 Token 用于保证请求的幂等性。 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过 64 个 ASCII 字符。 |
02fb3da4-130e-11e9-8e44-0016e04115b |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID。 |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
示例
正常返回示例
JSON格式
{
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | InvalidOperation.RouterInterfaceNotDeleted | The specified VirutalBorderRouter still has routerInterface. | |
| 400 | InvalidOperation.OperationNotAllowedInState | The specified VirutalBorderRouter is in invalid state. | |
| 400 | InvalidStatus.NotAllowed | The virtual border has been associated by physicalConnection. | |
| 400 | DependencyViolation.RouterInterfaceReferedByRouteEntry | The specified VirutalBorderRouter is refered by routeEntry. | VBR已经被引用 |
| 400 | DependencyViolation.BgpGroup | bgp group exists, cannot delete vbr. | vbr已经依赖BgpGroup,不能删除 |
| 400 | DependencyViolation.Nqa | nqa exists, cannot delete vbr. | nqa存在,无法删除vbr |
| 400 | DependencyViolation.BgpNetwork | bgp network exists, cannot delete vbr. | VBR存在BGP宣告网段配置,不能删除VBR。 |
| 400 | OperationUnsupported.VBRAttachedCen | Operation failed because the VBR is attached to CEN. | 操作失败,因为VBR已关联到CEN。 |
| 400 | InvalidStatus.vbrAttatchToEcr | Invalid virtual border router ecr status. | VBR与ECR存在绑定关系,请先解除绑定 |
| 403 | Forbidden.OperationDeleteNotAllowedByUser | The caller is not allowed to delete the specified VirtualBorderRouter. | 此用户不允许删除此边界路由器。 |
| 403 | Forbidden.MultiVlanRi | Multiple vlan router interfaces are found. | |
| 403 | Forbidden.NoRiFound | No vlan router interfaces are found. | |
| 404 | InvalidRegionId.NotFound | The RegionId provided does not exist in our records. | 指定的RegionId不存在 |
| 404 | InvalidVbrId.NotFound | The specified VirutalBorderRouter does not exist in our records. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。