调用DeleteDirectConnectVirtualInterface删除指定的虚拟接口实例。
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DeleteDirectConnectVirtualInterface | 要执行的操作,取值为DeleteDirectConnectVirtualInterface。 |
Version | String | 是 | 2020-04-01 | API版本信息。 |
VirtualInterfaceId | String | 是 | dcv-7qthudw0ll6jmc**** | 待删除虚拟接口实例的ID。您可调用DescribeDirectConnectVirtualInterfaces查询虚拟接口实例的ID。 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | 202111161611080102121461940900**** | 请求ID。 |
GET /?Action=DeleteDirectConnectVirtualInterface&Version=2020-04-01&VirtualInterfaceId=dcv-7qthudw0ll6jmc**** HTTP/1.1 Host: open.volcengineapi.com ServiceName: directconnect Region: cn-beijing
{ "ResponseMetadata": { "RequestId": "202111161611080102121461940900****", "Action": "DeleteDirectConnectVirtualInterface", "Version": "2020-04-01", "Service": "directconnect", "Region": "cn-beijing" }, "Result": { "RequestId": "202111161611080102121461940900****" } }
此处仅展示当前API的错误码,更多错误码请参见公共错误码。
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
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. | 指定的虚拟接口不存在。 |