Dela via


VirtualHubRouteTableV2sOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

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

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

Parameters

operations
IVirtualHubRouteTableV2sOperations

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 VirtualHubRouteTableV2.

virtualHubRouteTableV2Parameters
VirtualHubRouteTableV2Inner

Parameters supplied to create or update VirtualHubRouteTableV2.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to