Dela 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.Models.VpnProfileResponse> GeneratevirtualwanvpnserverconfigurationvpnprofileAsync (this Microsoft.Azure.Management.Network.INetworkManagementClient operations, string resourceGroupName, string virtualWANName, Microsoft.Azure.Management.Network.Models.VirtualWanVpnProfileParameters vpnClientParams, System.Threading.CancellationToken cancellationToken = default);
static member GeneratevirtualwanvpnserverconfigurationvpnprofileAsync : Microsoft.Azure.Management.Network.INetworkManagementClient * string * string * Microsoft.Azure.Management.Network.Models.VirtualWanVpnProfileParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.VpnProfileResponse>
<Extension()>
Public Function GeneratevirtualwanvpnserverconfigurationvpnprofileAsync (operations As INetworkManagementClient, resourceGroupName As String, virtualWANName As String, vpnClientParams As VirtualWanVpnProfileParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VpnProfileResponse)

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