Sdílet prostřednictvím


VirtualWansOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

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

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

Parameters

operations
IVirtualWansOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name of the VirtualWan.

virtualWANName
String

The name of the VirtualWAN being created or updated.

wANParameters
VirtualWAN

Parameters supplied to create or update VirtualWAN.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to