Aracılığıyla paylaş


HubRouteTablesOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.HubRouteTable> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.Network.IHubRouteTablesOperations operations, string resourceGroupName, string virtualHubName, string routeTableName, Microsoft.Azure.Management.Network.Models.HubRouteTable routeTableParameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.Network.IHubRouteTablesOperations * string * string * string * Microsoft.Azure.Management.Network.Models.HubRouteTable * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.HubRouteTable>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IHubRouteTablesOperations, resourceGroupName As String, virtualHubName As String, routeTableName As String, routeTableParameters As HubRouteTable, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HubRouteTable)

Parameters

operations
IHubRouteTablesOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name of the VirtualHub.

virtualHubName
String

The name of the VirtualHub.

routeTableName
String

The name of the RouteTable.

routeTableParameters
HubRouteTable

Parameters supplied to create or update RouteTable.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to