Megosztás a következőn keresztül:


VirtualNetworkGatewaysOperationsExtensions.GenerateVpnProfileAsync Method

Definition

Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication.

public static System.Threading.Tasks.Task<string> GenerateVpnProfileAsync (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 GenerateVpnProfileAsync : 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 GenerateVpnProfileAsync (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