Get Route Table
Updated: September 15, 2015
The Get Route Table operation returns information about the specified route table.
Method | Request URI |
|---|---|
GET | https://management.core.windows.net/<subscription-id>/services/networking/routetables/<route-table-name> |
Optional: detaillevel – Setting this parameter to “Full” will return also list of Routes in the route table.
The following table describes the request headers.
Request Header | Description |
|---|---|
x-ms-version | Required. Specifies the version of the operation to use for this request. The value of this header must be set to 2015-04-01 or higher. |
None.
The response includes an HTTP status code, a set of response headers, and a response body.
A successful operation returns status code 202 (Accepted).
The response for this operation includes the following headers. The response may also include additional standard HTTP headers.
Response Header | Description |
|---|---|
x-ms-request-id | A value that uniquely identifies a request made against the management service. |
<RouteTable xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Name>route-table-name</Name>
<Label>route-table-label</Label>
<Location>route-table-location</Location>
<RouteList>
<Route>
<Name>routename</Name>
<AddressPrefix>route-address-prefix</AddressPrefix>
<NextHopType>
<Type>route-next-hop-type</Type>
<IpAddress>route-next-hop-ipaddress</IpAddress>
</NextHopType>
</Route>
</RouteList>
</RouteTable>
Element name | Description |
|---|---|
Name | Specifies the name of the effective route. |
Label | Specifies an identifier for the route table. |
Location | Specifies the location of the route table. |
Routes | Specifies a collection of routes. This element is included only if the detaillevel URI parameter is set to Full. |
Name | Specifies the name of the route. |
AddressPrefix | Specifies the address prefix of the route in CIDR notation. |
Type | Specifies the type of the next hop of the route.
|
IpAddress | Specifies the IP address of the next hop of the route. |