Get Route Table for Subnet
Updated: September 16, 2015
The Get Route Table for Subnet operation returns information about the route table associated with a subnet.
The Get Route Table for Subnet request is specified as follows. Replace <subscription-id> with your subscription ID, <virtual-network-name> with the name of the virtual network, and <subnet-name> with the name of the subnet.
Method | Request URI |
|---|---|
GET | https://management.core.windows.net/<subscription-id>/services/virtualnetwork/<virtual-network-name>/subnets/<subnet-name>/routetable |
Optional: detail level – 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-version | A value that uniquely identifies a request made against the management service. |
<RouteTableAssociation xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Name>route-table-name</Name>
</RouteTableAssociation>
Element name | Description |
|---|---|
Name | Specifies the name of the route table. |