RouteTablesOperationsExtensions.CreateOrUpdateAsync(IRouteTablesOperations, String, String, RouteTableInner, CancellationToken) Method

Definition

Create or updates a route table in a specified resource group.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.RouteTableInner> CreateOrUpdateAsync (this Microsoft.Azure.Management.Network.Fluent.IRouteTablesOperations operations, string resourceGroupName, string routeTableName, Microsoft.Azure.Management.Network.Fluent.Models.RouteTableInner parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Network.Fluent.IRouteTablesOperations * string * string * Microsoft.Azure.Management.Network.Fluent.Models.RouteTableInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.RouteTableInner>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IRouteTablesOperations, resourceGroupName As String, routeTableName As String, parameters As RouteTableInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RouteTableInner)

Parameters

operations
IRouteTablesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

routeTableName
String

The name of the route table.

parameters
RouteTableInner

Parameters supplied to the create or update route table operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<RouteTableInner>

Applies to