Queries the configuration details of a specified aggregate route.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:DescribeTransitRouteTableAggregationDetail |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TransitRouteTableId |
string |
Yes |
The ID of the route table of the Enterprise Edition transit router. |
vtb-6ehgc262hr170qgyc**** |
| TransitRouteTableAggregationCidr |
string |
Yes |
The destination CIDR block of the aggregate route. |
192.168.10.0/24 |
| ClientToken |
string |
No |
A client token to ensure the idempotence of the request. Generate a unique value from your client for each request. The token can contain only ASCII characters. Note
If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request. |
02fb3da4-130e-11e9-8e44-001**** |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
The response. |
||
| Data |
array<object> |
The configuration details of the aggregate route. |
|
|
object |
The configuration details of the aggregate route. |
||
| InstanceId |
string |
The ID of the VPC instance for which the aggregate route is configured. |
vpc-6eh7fp9hdqa2wv85t**** |
| Description |
string |
The message returned if the configuration of the aggregate route fails. |
desctest |
| Status |
string |
The configuration status of the aggregate route.
|
Configured |
| Count |
integer |
The number of entries returned on each page. |
20 |
| Total |
integer |
The total number of entries. |
1 |
| RequestId |
string |
The request ID. |
0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50 |
Examples
Success response
JSON format
{
"Data": [
{
"InstanceId": "vpc-6eh7fp9hdqa2wv85t****",
"Description": "desctest",
"Status": "Configured"
}
],
"Count": 20,
"Total": 1,
"RequestId": "0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalParam.TransitRouterRouteTableId | The transitRouter route table id is illegal. | The error message returned because the route table ID of the transit router (TransitRouterRouteTableId) is invalid. |
| 400 | IllegalParam.AggregationRouteCidr | The aggregation route cidr is illegal. | The error message returned because the specified CIDR block is invalid. |
| 400 | InstanceNotExist.TransitRouterRouteTable | The transitRouter route table is not exist. | The error message returned because the specified transit router route table does not exist. |
| 400 | InvalidCidrBlock | The transitRouteTableAggregationCidr is invalid. | |
| 400 | InvalidParameter | Invalid parameter. | The error message returned because the parameter is set to an invalid value. |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | The error message returned because you do not have the permissions to perform this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.