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

中转路由器

复制全文
下载 pdf
专线网关类型网络实例连接
DeleteTransitRouterDirectConnectGatewayAttachment-删除专线网关类型网络实例连接
复制全文
下载 pdf
DeleteTransitRouterDirectConnectGatewayAttachment-删除专线网关类型网络实例连接
调用DeleteTransitRouterDirectConnectGatewayAttachment接口,删除指定的专线网关类型网络实例连接。​
注意事项​
删除网络实例连接会删除网络实例与TR实例之间的关联关系,将导致网络实例之间无法互通,请谨慎操作。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action String 必选 示例值:DeleteTransitRouterDirectConnectGatewayAttachment​
接口名称。当前 API 的名称为DeleteTransitRouterDirectConnectGatewayAttachment。​
​
Version String 必选 示例值:2020-04-01​
接口版本。当前 API 的版本为2020-04-01。​
​
Force Boolean 可选 示例值:false​
是否强制删除专线网关类型的网络实例连接。​
  • true:强制删除。​
  • false:不会强制删除。​
​
TransitRouterAttachmentId String 必选 示例值:tr-attach-13n2l4c****​
网络实例连接的ID。您可以调用DescribeTransitRouterDirectConnectGatewayAttachments接口获取专线网关类型网络实例连接的ID。​
​
​
返回参数​
本接口无特有的返回参数。更多信息请见返回结构。​
请求示例​
​
GET /?Action=DeleteTransitRouterDirectConnectGatewayAttachment&Version=2020-04-01&TransitRouterAttachmentId=tr-attach-13n2l4c**** HTTP/1.1​
Host: transitrouter.cn-beijing.volcengineapi.com​
X-Date: 20250804T034452Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20250804/cn-beijing/transitrouter/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "20250804114456052025032201B117B5",​
"Action": "DeleteTransitRouterDirectConnectGatewayAttachment",​
"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.WithAssociation​
The specified Transit Router has route table associations depending on the attachment.​
指定的网络实例连接已配置关联转发路由表,无法删除。​
400​
InvalidTransitRouterAttachment.WithIPv4StaticRouteEntry​
The specified TR attachment can not be modified as IPv6 only, since there are IPv4 static routes in TR route tables depending on the attachment.​
TR路由表中存在指向该网络实例的IPv4静态路由,不允许关闭该连接的IPv4功能。​
400​
InvalidTransitRouterAttachment.WithRouteTablePropagation​
The specified Transit Router has route table propagations depending on the attachment.​
指定的网络实例连接已配置路由学习,无法删除。​
400​
InvalidTransitRouterAttachment.WithStaticRouteEntry​
The specified Transit Router has static route entries depending on the attachment.​
指定的网络实例连接存在静态路由,无法删除。​
403​
Forbidden.NoPermissionToOperate​
You are not authorized to operate the specified resource.​
无权限操作指定的资源。​
404​
InvalidTransitRouterAttachment.NotFound​
The specified Transit Router attachment does not exist.​
指定的网络实例连接不存在。​
​
最近更新时间:2025.12.31 12:18:45
这个页面对您有帮助吗?
有用
有用
无用
无用