Share via


IRouteOperations.GetRouteTableForSubnetAsync Method (String, String, CancellationToken)

 

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

Namespace:   Microsoft.WindowsAzure.Management.Network
Assembly:  Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)

Syntax

Task<GetRouteTableForSubnetResponse> GetRouteTableForSubnetAsync(
    string vnetName,
    string subnetName,
    CancellationToken cancellationToken
)
Task<GetRouteTableForSubnetResponse^>^ GetRouteTableForSubnetAsync(
    String^ vnetName,
    String^ subnetName,
    CancellationToken cancellationToken
)
abstract GetRouteTableForSubnetAsync : 
        vnetName:string *
        subnetName:string *
        cancellationToken:CancellationToken -> Task<GetRouteTableForSubnetResponse>
Function GetRouteTableForSubnetAsync (
    vnetName As String,
    subnetName As String,
    cancellationToken As CancellationToken
) As Task(Of GetRouteTableForSubnetResponse)

Parameters

  • vnetName
    Type: System.String

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

Return Value

Type: System.Threading.Tasks.Task<GetRouteTableForSubnetResponse>

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

See Also

IRouteOperations Interface
Microsoft.WindowsAzure.Management.Network Namespace

Return to top