Udostępnij za pośrednictwem


IRouteOperations.GetRouteTableForSubnetAsync Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GetRouteTableForSubnetResponse> GetRouteTableForSubnetAsync (string vnetName, string subnetName, System.Threading.CancellationToken cancellationToken);
abstract member GetRouteTableForSubnetAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GetRouteTableForSubnetResponse>
Public Function GetRouteTableForSubnetAsync (vnetName As String, subnetName As String, cancellationToken As CancellationToken) As Task(Of GetRouteTableForSubnetResponse)

Parameters

vnetName
String

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

subnetName
String

The name of the subnet.

cancellationToken
CancellationToken

Cancellation token.

Returns

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

Applies to