Queries VRouters.
This API has been deprecated. We recommend migrating to Vpc(2016-04-28) - DescribeVRouters for enhanced functionality and continued support. While the deprecated API remains temporarily accessible, no further updates or bug fixes will be provided.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:DescribeVRouters |
get |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| VRouterId |
string |
No |
The ID of the VRouter. |
|
| RegionId |
string |
Yes |
The ID of the region where the VRouter is deployed. You can call the |
|
| PageNumber |
integer |
No |
The page number. Default value: 1. |
|
| PageSize |
integer |
No |
The number of entries per page. Valid values: 1 to 50. Default value: 10. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| PageSize |
integer |
The number of entries per page. |
|
| RequestId |
string |
The request ID. |
|
| PageNumber |
integer |
The page number. |
|
| TotalCount |
integer |
The total number of entries returned. |
|
| VRouters |
object |
A wrapper object for the VRouter list. |
|
| VRouter |
array<object> |
An array of VRouter details. |
|
|
array<object> |
Details of a VRouter. |
||
| VpcId |
string |
The ID of the VPC to which the VRouter belongs. |
|
| CreationTime |
string |
The time (in UTC) when the VRouter was created, in ISO 8601 format: |
|
| VRouterId |
string |
The ID of the VRouter. |
|
| Description |
string |
The description of the VRouter. |
|
| VRouterName |
string |
The name of the VRouter. |
|
| RegionId |
string |
The region ID of the VRouter. |
|
| RouteTableIds |
object |
The IDs of the route tables that are associated with the VRouter. |
|
| RouteTableId |
array |
An array of route table IDs. |
|
|
string |
The ID of a route table. |
Examples
Success response
JSON format
{
"PageSize": 0,
"RequestId": "",
"PageNumber": 0,
"TotalCount": 0,
"VRouters": {
"VRouter": [
{
"VpcId": "",
"CreationTime": "",
"VRouterId": "",
"Description": "",
"VRouterName": "",
"RegionId": "",
"RouteTableIds": {
"RouteTableId": [
""
]
}
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.