You need to enable JavaScript to run this app.
文档中心
中转路由器

中转路由器

复制全文
下载 pdf
跨地域连接
DeleteTransitRouterPeerAttachment-删除跨地域连接
复制全文
下载 pdf
DeleteTransitRouterPeerAttachment-删除跨地域连接
调用 DeleteTransitRouterPeerAttachment 接口,删除指定的跨地域连接。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action String 必选 示例值:DeleteTransitRouterPeerAttachment​
接口名称。当前 API 的名称为DeleteTransitRouterPeerAttachment。​
​
Version String 必选 示例值:2020-04-01​
接口版本。当前 API 的版本为2020-04-01。​
​
TransitRouterAttachmentId String 必选 示例值:tr-attach-12w7hruhlhlrd****​
跨地域连接的ID。​
​
Force Boolean 可选 示例值:true​
是否强制删除跨地域连接。​
  • true:强制删除。​
  • false(默认值):不会强制删除。​
​
​
返回参数​
本接口无特有的返回参数。更多信息请见返回结构。​
请求示例​
​
GET /?Action=DeleteTransitRouterPeerAttachment&Version=2020-04-01&TransitRouterAttachmentId=tr-attach-12w7hruhlhlrd**** HTTP/1.1​
Host: transitrouter.cn-beijing.volcengineapi.com​
X-Date: 20250804T034657Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20250804/cn-beijing/transitrouter/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "20250804114700008115149009C61B4B",​
"Action": "DeleteTransitRouterPeerAttachment",​
"Version": "2020-04-01",​
"Service": "transitrouter",​
"Region": "cn-beijing"​
},​
"Result": {}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
InvalidTransitRouter.InvalidStatus​
The specified Transit Router is not in the correct status for the request.​
指定的中转路由器所处状态无法响应该请求。​
400​
InvalidTransitRouterAttachment.InvalidStatus​
The specified Transit Router Attachment is not in the correct status for the request.​
指定的网络实例连接所处状态无法响应该请求。​
400​
InvalidTransitRouterAttachment.PeerRegionWithAssociation​
The specified Transit Router has route table associations depending on the attachment in the peer region.​
指定的网络实例连接在对端地域已配置关联转发路由表,无法删除。​
400​
InvalidTransitRouterAttachment.PeerRegionWithFlowLog​
The specified Transit Router has flow logs depending on the attachment in the peer region.​
指定的网络实例连接在对端地域已绑定流日志,无法删除。​
400​
InvalidTransitRouterAttachment.PeerRegionWithRouteTablePropagation​
The specified Transit Router has route table propagations depending on the attachment in the peer region.​
指定的网络实例连接在对端地域已配置路由学习,无法删除。​
400​
InvalidTransitRouterAttachment.WithAssociation​
The specified Transit Router has route table associations depending on the attachment.​
指定的网络实例连接已配置关联转发路由表,无法删除。​
400​
InvalidTransitRouterAttachment.WithFlowLog​
The specified Transit Router has flow logs depending on the attachment.​
指定的网络实例连接已绑定流日志,无法删除。​
400​
InvalidTransitRouterAttachment.WithRouteTablePropagation​
The specified Transit Router has route table propagations depending on the attachment.​
指定的网络实例连接已配置路由学习,无法删除。​
400​
InvalidTransitRouterBandwidthPackage.InvalidStatus​
The specified TransitRouter bandwidth package is being operated now.​
指定的带宽包所处状态无法响应该请求,请稍后重试。​
400​
InvalidTransitRouterPeerAttachment.PeerTransitRouterWithRouteEntryToPeerAttachment​
The transit router of the specified attachment has customized route entries to the peer attachment in the peer region.​
指定网络实例连接对应对端中转路由器的路由表存在指向该跨地域连接的路由条目。​
400​
InvalidTransitRouterPeerAttachment.TransitRouterWithRouteEntryToPeerAttachment​
The transit router of the specified attachment has customized route entries to the peer attachment.​
指定网络实例连接对应中转路由器的路由表存在指向该跨地域连接的路由条目。​
403​
Forbidden.NoPermissionToOperate​
You are not authorized to operate the specified resource.​
无权限操作指定的资源。​
404​
InvalidTransitRouterAttachment.NotFound​
The specified Transit Router attachment does not exist.​
指定的网络实例连接不存在。​
​
最近更新时间:2026.03.23 19:11:34
这个页面对您有帮助吗?
有用
有用
无用
无用