NetworkManagementClientExtensions.BeginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(INetworkManagementClient, String, String, VirtualWanVpnProfileParameters, CancellationToken) Method

Definition

Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination in the specified resource group.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.VpnProfileResponseInner> BeginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync (this Microsoft.Azure.Management.Network.Fluent.INetworkManagementClient operations, string resourceGroupName, string virtualWANName, Microsoft.Azure.Management.Network.Fluent.Models.VirtualWanVpnProfileParameters vpnClientParams, System.Threading.CancellationToken cancellationToken = default);
static member BeginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync : Microsoft.Azure.Management.Network.Fluent.INetworkManagementClient * string * string * Microsoft.Azure.Management.Network.Fluent.Models.VirtualWanVpnProfileParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.VpnProfileResponseInner>
<Extension()>
Public Function BeginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync (operations As INetworkManagementClient, resourceGroupName As String, virtualWANName As String, vpnClientParams As VirtualWanVpnProfileParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VpnProfileResponseInner)

Parameters

operations
INetworkManagementClient

The operations group for this extension method.

resourceGroupName
System.String

The resource group name.

virtualWANName
System.String

The name of the VirtualWAN whose associated VpnServerConfigurations is needed.

vpnClientParams
VirtualWanVpnProfileParameters

Parameters supplied to the generate VirtualWan VPN profile generation operation.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<VpnProfileResponseInner>

Applies to