Share via


VirtualNetworkGatewaysOperationsExtensions.BeginGeneratevpnclientpackageAsync Method

Definition

Generates VPN client package for P2S client of the virtual network gateway in the specified resource group.

public static System.Threading.Tasks.Task<string> BeginGeneratevpnclientpackageAsync (this Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGatewaysOperations operations, string resourceGroupName, string virtualNetworkGatewayName, Microsoft.Azure.Management.Network.Fluent.Models.VpnClientParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginGeneratevpnclientpackageAsync : Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGatewaysOperations * string * string * Microsoft.Azure.Management.Network.Fluent.Models.VpnClientParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
<Extension()>
Public Function BeginGeneratevpnclientpackageAsync (operations As IVirtualNetworkGatewaysOperations, resourceGroupName As String, virtualNetworkGatewayName As String, parameters As VpnClientParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)

Parameters

operations
IVirtualNetworkGatewaysOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

virtualNetworkGatewayName
String

The name of the virtual network gateway.

parameters
VpnClientParameters

Parameters supplied to the generate virtual network gateway VPN client package operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to