VirtualNetworkGatewaysOperationsExtensions.BeginGeneratevpnclientpackageAsync(IVirtualNetworkGatewaysOperations, String, String, VpnClientParameters, CancellationToken) VirtualNetworkGatewaysOperationsExtensions.BeginGeneratevpnclientpackageAsync(IVirtualNetworkGatewaysOperations, String, String, VpnClientParameters, CancellationToken) 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.IVirtualNetworkGatewaysOperations operations, string resourceGroupName, string virtualNetworkGatewayName, Microsoft.Azure.Management.Network.Models.VpnClientParameters parameters, System.Threading.CancellationToken cancellationToken = null);
static member BeginGeneratevpnclientpackageAsync : Microsoft.Azure.Management.Network.IVirtualNetworkGatewaysOperations * string * string * Microsoft.Azure.Management.Network.Models.VpnClientParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>

Parameters

operations
IVirtualNetworkGatewaysOperations IVirtualNetworkGatewaysOperations

The operations group for this extension method.

resourceGroupName
String String

The name of the resource group.

virtualNetworkGatewayName
String String

The name of the virtual network gateway.

parameters
VpnClientParameters VpnClientParameters

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

cancellationToken
CancellationToken CancellationToken

The cancellation token.

Returns

Applies to