共用方式為


RouteOperationsExtensions.GetRouteTableForSubnetAsync Method

Definition

Get the specified route table for the provided subnet in the provided virtual network in this subscription.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GetRouteTableForSubnetResponse> GetRouteTableForSubnetAsync (this Microsoft.WindowsAzure.Management.Network.IRouteOperations operations, string vnetName, string subnetName);
static member GetRouteTableForSubnetAsync : Microsoft.WindowsAzure.Management.Network.IRouteOperations * string * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GetRouteTableForSubnetResponse>
<Extension()>
Public Function GetRouteTableForSubnetAsync (operations As IRouteOperations, vnetName As String, subnetName As String) As Task(Of GetRouteTableForSubnetResponse)

Parameters

operations
IRouteOperations

Reference to the Microsoft.WindowsAzure.Management.Network.IRouteOperations.

vnetName
String

Required. The name of the virtual network that contains the provided subnet.

subnetName
String

Required. The name of the subnet.

Returns

A standard service response including an HTTP status code and request ID.

Applies to