Share via


RouteOperationsExtensions.BeginAddRouteTableToSubnetAsync Method (IRouteOperations, String, String, AddRouteTableToSubnetParameters)

 

Set 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<AzureOperationResponse> BeginAddRouteTableToSubnetAsync(
    this IRouteOperations operations,
    string vnetName,
    string subnetName,
    AddRouteTableToSubnetParameters parameters
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ BeginAddRouteTableToSubnetAsync(
    IRouteOperations^ operations,
    String^ vnetName,
    String^ subnetName,
    AddRouteTableToSubnetParameters^ parameters
)
static member BeginAddRouteTableToSubnetAsync : 
        operations:IRouteOperations *
        vnetName:string *
        subnetName:string *
        parameters:AddRouteTableToSubnetParameters -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function BeginAddRouteTableToSubnetAsync (
    operations As IRouteOperations,
    vnetName As String,
    subnetName As String,
    parameters As AddRouteTableToSubnetParameters
) As Task(Of AzureOperationResponse)

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 that the route table will be added to.

Return Value

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

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

See Also

RouteOperationsExtensions Class
Microsoft.WindowsAzure.Management.Network Namespace

Return to top