List Route Tables
The List Route Tables operation lists the route tables that are in the specified subscription.
Request
The List Route Tables request may be specified as follows. Replace <subscription-id> with the subscription ID.
Method |
Request URI |
---|---|
GET |
https://management.core.windows.net/<subscription-id>/services/networking/routetables |
URI Parameters
None.
Request Headers
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. |
Request Body
None.
Response
The response includes an HTTP status code, a set of response headers, and a response body.
Status Code
A successful operation returns status code 202 (Accepted).
Response Headers
The response for this operation includes the following headers. The response may also include additional standard HTTP headers.
Response Header |
Description |
---|---|
x-ms-version |
A value that uniquely identifies a request made against the management service. |
Response Body
<RouteTable xmlns="https://schemas.microsoft.com/windowsazure">
<Name>route-table-name</Name>
<Label>route-table-label</Label>
<Location>route-table-location</Location>
</RouteTable>
Element name |
Description |
---|---|
Name |
Required. The name of the route table. |
Label |
Optional. Specifies an identifier for the route table. The label can be up to 1024 characters long. The label can be used for tracking purposes. |
location |
Required. Specifies the location where the Route Table is created. |