共用方式為


IVirtualNetworkGateway.GenerateVpnProfileAsync(CancellationToken) Method

Definition

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

public System.Threading.Tasks.Task<string> GenerateVpnProfileAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GenerateVpnProfileAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function GenerateVpnProfileAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)

Parameters

cancellationToken
CancellationToken

Returns

Applies to