You need to enable JavaScript to run this app.
Transit Router

Transit Router

Copy page
Download PDF
Association forwarding
AssociateTransitRouterAttachmentToRouteTable - Associating a TR route table with a network instance attachment
Copy page
Download PDF
AssociateTransitRouterAttachmentToRouteTable - Associating a TR route table with a network instance attachment
Call the AssociateTransitRouterAttachmentToRouteTable API to associate the specified route table with a network instance attachment.​
Debug​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
The following only details request parameters specific to this API and key common parameters. For more information, see Common parameters.​
Action String required Example value: AssociateTransitRouterAttachmentToRouteTable​
The interface name. The current API name is AssociateTransitRouterAttachmentToRouteTable.​
​
Version String requiredExample: 2020-04-01​
The interface version. The current API version is 2020-04-01.​
​
TransitRouterAttachmentId String requiredExample: tr-attach-13n2l4c****​
The ID of the network instance attachment.​
​
TransitRouterRouteTableId String required Example: tr-rtb-hy13n2l4c6c0v****​
The ID of the route table associated with the Transit Router (TR) instance. You can call the DescribeTransitRouterRouteTables API to obtain the TR route table ID.​
​
​
​
Response parameters​
This API does not have specific response parameters. For more information, see Response structure.​
Request examples​
​
GET /?Action=AssociateTransitRouterAttachmentToRouteTable&Version=2020-04-01&TransitRouterAttachmentId=tr-attach-a*******&TransitRouterRouteTableId=tr-rtb-hy13n2l4c6c0v**** HTTP/1.1​
Host: transitrouter.cn-beijing.volcengineapi.com​
X-Date: 20250721T114234Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20250721/cn-beijing/transitrouter/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
Response examples​
​
{​
"ResponseMetadata": {​
"RequestId": "202507211940210690630421693CF526",​
"Action": "AssociateTransitRouterAttachmentToRouteTable",​
"Version": "2020-04-01",​
"Service": "transitrouter",​
"Region": "cn-beijing"​
},​
"Result": {}​
}​
​
Error codes​
The table below describes the error codes for this API that are associated with business logic. For more information, see Common error codes.​
​
Status code​
Error codes​
Error message​
Explanation​
400​
InvalidTransitRouter.InvalidBusinessStatus​
The request is denied because the specified Transit Router is shut down due to arrears.​
The specified Transit Router (TR) is suspended due to overdue payments. Action unsupported.​
400​
InvalidTransitRouter.InvalidStatus​
The specified Transit Router is not in the correct status for the request.​
The specified Transit Router (TR) is in a status that cannot respond to the request.​
400​
InvalidTransitRouterAttachment.InvalidStatus​
The specified Transit Router Attachment is not in the correct status for the request.​
The specified network instance attachment is in a status that cannot respond to the request.​
400​
InvalidTransitRouterRouteTableAssociation.TransitRouterMismatch​
The specified route table and attachment do not belong to one same Transit Router.​
The TR of the specified route table does not match the TR attached to the network instance attachment.​
404​
InvalidTransitRouterAttachment.NotFound​
The specified Transit Router attachment does not exist.​
The specified network instance attachment does not exist.​
404​
InvalidTransitRouterRouteTable.NotFound​
The specified route table does not exist.​
The specified Transit Router (TR) route table does not exist.​
409​
InvalidTransitRouterRouteTableAssociation.Conflict​
The specified Transit Router attachment has already associated to a route table.​
The specified network instance attachment is configured with an association forwarding route table. Duplicate configuration is not permitted.​
​
Last updated: 2025.12.29 19:24:04