You need to enable JavaScript to run this app.
文档中心
专线连接

专线连接

复制全文
下载 pdf
虚拟接口
DeleteDirectConnectVirtualInterface - 删除虚拟接口
复制全文
下载 pdf
DeleteDirectConnectVirtualInterface - 删除虚拟接口
调用DeleteDirectConnectVirtualInterface删除指定的虚拟接口实例。​
使用说明​
  • 待删除虚拟接口为专线网关的唯一虚拟接口时,需先调用DetachInstanceFromCen把该专线网关从云企业网卸载,然后再删除虚拟接口。​
  • 若待删除的虚拟接口为共享虚拟接口,共享虚拟接口提供方(账号A)删除前须确保共享虚拟接口使用方(账号B)已拒绝共享虚拟接口、已删除共享虚拟接口、已接受共享虚拟接口但未关联BGP邻居和静态路由条目,否则将共享虚拟接口提供方(账号A)无法删除。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action String 必选 示例值:DeleteDirectConnectVirtualInterface​
接口名称。当前 API 的名称为 DeleteDirectConnectVirtualInterface。​
​
Version String 必选 示例值:2020-04-01​
接口版本。当前 API 的版本为 2020-04-01。​
​
VirtualInterfaceId String 必选 示例值:dcv-7qthudw0ll6jmc****​
待删除虚拟接口实例的ID。​
您可调用DescribeDirectConnectVirtualInterfaces接口,查询虚拟接口实例的ID。​
​
​
​
返回参数​
本接口无特有的返回参数。更多信息请见返回结构。​
请求示例​
​
GET /?Action=DeleteDirectConnectVirtualInterface&Version=2020-04-01&VirtualInterfaceId=dcv-7qthudw0ll6jmc**** HTTP/1.1​
Host: directconnect.cn-beijing.volcengineapi.com​
X-Date: 20251121T094038Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251121/cn-beijing/directconnect/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "202111161611080102121461940900****",​
"Action": "DeleteDirectConnectVirtualInterface",​
"Version": "2020-04-01",​
"Service": "directconnect",​
"Region": "cn-beijing"​
},​
"Result": {​
"RequestId": "202111161611080102121461940900****"​
}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
InvalidDirectConnectVirtualInterface.InUse​
The specified virtual interface is in use. If you are trying to delete the virtual interface, ensure that its routes have been deleted.​
指定的虚拟接口在占用中。如果尝试删除该虚拟接口,请确保其关联的所有路由已删除。​
400​
InvalidDirectConnectVirtualInterface.InUse​
The specified virtual interface is in use. If you are trying to delete the virtual interface, ensure that its BGP peers have been deleted.​
指定的虚拟接口在占用中。如果尝试删除该虚拟接口,请确保其关联的所有BGP邻居已删除。​
400​
InvalidDirectConnectVirtualInterface.InUse​
The specified virtual interface is in use. If you are trying to delete the virtual interface, ensure that its associated direct connect gateway has been detached from CEN.​
指定的虚拟接口在占用中。如果尝试删除该虚拟接口,请确保其关联的专线网关已从云企业网卸载。​
400​
InvalidDirectConnectGateway.InvalidStatus​
The specified direct connect gateway is not in the correct status for the request.​
指定的专线网关所处的状态无法响应该请求。​
400​
InvalidDirectConnectVirtualInterface.InUse​
The specified virtual interface is in use. If you are trying to delete the virtual interface, ensure that its associated direct connect gateway has been detached from Transit Router.​
指定的虚拟接口在使用中。如果尝试删除该虚拟接口,请确保其关联的专线网关不存在中转路由器网络实例连接。​
400​
InvalidDirectConnectVirtualInterface.InvalidStatus​
The specified direct connect virtual interface is not in the correct status for the request.​
指定的虚拟接口所处的状态无法响应该请求。​
404​
InvalidDirectConnectVirtualInterface.NotFound​
The specified direct connect virtual interface does not exist.​
指定的虚拟接口不存在。​
​
​
最近更新时间:2026.01.23 17:00:39
这个页面对您有帮助吗?
有用
有用
无用
无用