IRouteOperations.BeginAddRouteTableToSubnetAsync Method (String, String, AddRouteTableToSubnetParameters, CancellationToken)
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
Task<AzureOperationResponse> BeginAddRouteTableToSubnetAsync(
string vnetName,
string subnetName,
AddRouteTableToSubnetParameters parameters,
CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ BeginAddRouteTableToSubnetAsync(
String^ vnetName,
String^ subnetName,
AddRouteTableToSubnetParameters^ parameters,
CancellationToken cancellationToken
)
abstract BeginAddRouteTableToSubnetAsync :
vnetName:string *
subnetName:string *
parameters:AddRouteTableToSubnetParameters *
cancellationToken:CancellationToken -> Task<AzureOperationResponse>
Function BeginAddRouteTableToSubnetAsync (
vnetName As String,
subnetName As String,
parameters As AddRouteTableToSubnetParameters,
cancellationToken As CancellationToken
) As Task(Of AzureOperationResponse)
Parameters
vnetName
Type: System.StringThe name of the virtual network that contains the provided subnet.
subnetName
Type: System.StringThe name of the subnet that the route table will be added to.
parameters
Type: Microsoft.WindowsAzure.Management.Network.Models.AddRouteTableToSubnetParametersThe parameters necessary to add a route table to the provided subnet.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<AzureOperationResponse>
A standard service response including an HTTP status code and request ID.
See Also
IRouteOperations Interface
Microsoft.WindowsAzure.Management.Network Namespace
Return to top