Queries a list of Transit Router resources.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
zh |
| CenId |
string |
No |
The ID of the Cloud Enterprise Network (CEN) instance. |
cen-djz1i6p8shzioz**** |
| TransitRouterId |
string |
No |
The ID of the TransitRouter. |
tr-2zefgvkcl2qcexbb7**** |
| RegionNo |
string |
No |
The region ID. |
cn-shenzhen |
| FirewallId |
string |
No |
The instance ID of the border firewall. |
vfw-tr-741de4c8956341**** |
| ResourceType |
string |
No |
The asset type. Valid values:
|
TR |
| VpcId |
string |
No |
The ID of the VPC instance. |
vpc-wz9lllsbftdm0svpj**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
A61A2516-0A22-5B3F-986B-3D4BF2A**** |
| TransitRouterAttachedResources |
array<object> |
The list of Transit Router resources. |
|
|
object |
The list of Transit Router resources. |
||
| ResourceId |
string |
The instance ID. |
eas-r-8k1a6jjofkp0cq**** |
| ResourceType |
string |
The asset type. |
VPC |
| ResourceName |
string |
The instance name. |
test |
Examples
Success response
JSON format
{
"RequestId": "A61A2516-0A22-5B3F-986B-3D4BF2A****",
"TransitRouterAttachedResources": [
{
"ResourceId": "eas-r-8k1a6jjofkp0cq****",
"ResourceType": "VPC",
"ResourceName": "test"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorAliUid | Aliuid invalid. | The aliuid is invalid. |
| 400 | ErrorDBNoRow | No rows in database. | No data found. |
| 400 | ErrorDBSelectError | A database select error occurred. | The error message returned because an internal error has occurred in querying the database. |
| 400 | ErrorAuthentication | authentication error | The authentication failed. |
| 400 | ErrorUserCredentials | User credentials failed. | Unauthorized, not accessible, please first authorize firewall permissions. |
| 400 | ErrorVswitchNotFound | vswitch not found | The vSwitch does not exist. Select another vSwitch. |
| 400 | ErrorTrResourceNotReady | Transit Router has not been detected by cloud firewall | |
| 400 | ErrorInvalidMemberUidStatus | invalid member uid status. | The status of the member account is invalid. This operation is not supported. |
| 400 | ErrorAssetSynchronizationNotCompleted | VPC firewall asset synchronization is not completed. | VPC perimeter firewall asset synchronization incomplete |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.