Share via


RouteOperationsExtensions.GetRouteTableForSubnet 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 GetRouteTableForSubnetResponse GetRouteTableForSubnet(
    this IRouteOperations operations,
    string vnetName,
    string subnetName
)
public:
[ExtensionAttribute]
static GetRouteTableForSubnetResponse^ GetRouteTableForSubnet(
    IRouteOperations^ operations,
    String^ vnetName,
    String^ subnetName
)
static member GetRouteTableForSubnet : 
        operations:IRouteOperations *
        vnetName:string *
        subnetName:string -> GetRouteTableForSubnetResponse
<ExtensionAttribute>
Public Shared Function GetRouteTableForSubnet (
    operations As IRouteOperations,
    vnetName As String,
    subnetName As String
) As 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: Microsoft.WindowsAzure.Management.Network.Models.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