Udostępnij za pośrednictwem


IRouteOperations.BeginSetRouteAsync Method

Definition

Set the specified route for the provided table in this subscription.

public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> BeginSetRouteAsync (string routeTableName, string routeName, Microsoft.WindowsAzure.Management.Network.Models.SetRouteParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member BeginSetRouteAsync : string * string * Microsoft.WindowsAzure.Management.Network.Models.SetRouteParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function BeginSetRouteAsync (routeTableName As String, routeName As String, parameters As SetRouteParameters, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parameters

routeTableName
String

The name of the route table where the provided route will be set.

routeName
String

The name of the route that will be set on the provided route table.

parameters
SetRouteParameters

The parameters necessary to create a new route table.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to