你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

NetworkClient.GenerateP2SVpnGatewayVpnProfileAsync Method

Definition

public System.Threading.Tasks.Task<string> GenerateP2SVpnGatewayVpnProfileAsync (string resourceGroupName, string p2sVpnGatewayName, Microsoft.Azure.Management.Network.Models.P2SVpnProfileParameters parameters, System.Threading.CancellationToken cancellationToken = default);
member this.GenerateP2SVpnGatewayVpnProfileAsync : string * string * Microsoft.Azure.Management.Network.Models.P2SVpnProfileParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function GenerateP2SVpnGatewayVpnProfileAsync (resourceGroupName As String, p2sVpnGatewayName As String, parameters As P2SVpnProfileParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)

Parameters

resourceGroupName
String
p2sVpnGatewayName
String
cancellationToken
CancellationToken

Returns

Applies to