Share via


VirtualWansOperationsExtensions.CreateOrUpdateAsync 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.Fluent.Models.VirtualWANInner> CreateOrUpdateAsync (this Microsoft.Azure.Management.Network.Fluent.IVirtualWansOperations operations, string resourceGroupName, string virtualWANName, Microsoft.Azure.Management.Network.Fluent.Models.VirtualWANInner wANParameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Network.Fluent.IVirtualWansOperations * string * string * Microsoft.Azure.Management.Network.Fluent.Models.VirtualWANInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.VirtualWANInner>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IVirtualWansOperations, resourceGroupName As String, virtualWANName As String, wANParameters As VirtualWANInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VirtualWANInner)

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
VirtualWANInner

Parameters supplied to create or update VirtualWAN.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to