Share via


RouteOperationsExtensions.GetRouteTableForSubnetAsync Method (IRouteOperations, String, String)

 

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

public static Task<GetRouteTableForSubnetResponse> GetRouteTableForSubnetAsync(
    this IRouteOperations operations,
    string vnetName,
    string subnetName
)
public:
[ExtensionAttribute]
static Task<GetRouteTableForSubnetResponse^>^ GetRouteTableForSubnetAsync(
    IRouteOperations^ operations,
    String^ vnetName,
    String^ subnetName
)
static member GetRouteTableForSubnetAsync : 
        operations:IRouteOperations *
        vnetName:string *
        subnetName:string -> Task<GetRouteTableForSubnetResponse>
<ExtensionAttribute>
Public Shared Function GetRouteTableForSubnetAsync (
    operations As IRouteOperations,
    vnetName As String,
    subnetName As String
) As Task(Of GetRouteTableForSubnetResponse)

Parameters

  • vnetName
    Type: System.String

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

  • subnetName
    Type: System.String

    Required. The name of the subnet.

Return Value

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

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

See Also

RouteOperationsExtensions Class
Microsoft.WindowsAzure.Management.Network Namespace

Return to top