Delen via


NetworkManagementClientExtensions.GeneratevirtualwanvpnserverconfigurationvpnprofileAsync 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> GeneratevirtualwanvpnserverconfigurationvpnprofileAsync (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 GeneratevirtualwanvpnserverconfigurationvpnprofileAsync : 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 GeneratevirtualwanvpnserverconfigurationvpnprofileAsync (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
String

The resource group name.

virtualWANName
String

The name of the VirtualWAN whose associated VpnServerConfigurations is needed.

vpnClientParams
VirtualWanVpnProfileParameters

Parameters supplied to the generate VirtualWan VPN profile generation operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to