Queries the summary of route entries by type in a specified VPC.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:GetVpcRouteEntrySummary |
list |
RouteTable
*VPC
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| VpcId |
string |
Yes |
The ID of the virtual private cloud (VPC) to which the route table belongs. |
vpc-bp15zckdt37pq72**** |
| RouteTableId |
string |
No |
The ID of the route table that you want to query. |
vtb-bp145q7glnuzdvzu2**** |
| RouteEntryType |
string |
Yes |
The type of the route. Valid values:
|
Custom |
| RegionId |
string |
Yes |
The region ID of the route table. You can call the DescribeRegions operation to query the most recent region list. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
DC668356-BCB4-42FD-9BC3-FA2B2E04B634 |
| RouteEntrySummarys |
array<object> |
The route entry summaries for the route tables. |
|
|
array<object> |
|||
| RouteTableId |
string |
The ID of the route table. |
vtb-bp145q7glnuzdvzu2**** |
| EntrySummarys |
array<object> |
The route entry summaries by type within a single route table. |
|
|
object |
|||
| RouteEntryType |
string |
The type of the route. Valid values:
|
Custom |
| Count |
integer |
The number of route entries. |
10 |
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidVpcId.NotFound | %s [%s] is not found. | The specified VpcId instance does not exist |
| 400 | IllegalParam.RouteEntryType | The parameter of RouteEntryType is illegal. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.