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 Enterprise Edition transit router route table. |
vtb-6ehgc262hr170qgyc**** |
| TransitRouteTableAggregationCidr |
string |
Yes |
The destination CIDR block of the aggregate route. |
192.168.10.0/24 |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. You can generate the value from your client. Make sure that the value is unique across different requests. The client token can contain only ASCII characters. Note
If you do not specify this parameter, the system automatically uses the RequestId of the API request as the client token. The RequestId may be different for each API request. |
02fb3da4-130e-11e9-8e44-001**** |
Response elements
|
Element |
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 instance ID of the VPC-connected instance to which the aggregation routing is configured. |
vpc-6eh7fp9hdqa2wv85t**** |
| Description |
string |
The message returned when the aggregate route configuration fails. |
desctest |
| Status |
string |
The configuration status of the aggregate route.
|
Configured |
| Count |
integer |
The number of entries returned per 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. | The cidrBlock specified in the parameter 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.