Compartir a través de


P2sVpnGatewaysOperationsExtensions.BeginGenerateVpnProfileAsync Método

Definición

Genera el perfil de VPN para el cliente P2S del P2SVpnGateway en el grupo de recursos especificado.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.VpnProfileResponseInner> BeginGenerateVpnProfileAsync (this Microsoft.Azure.Management.Network.Fluent.IP2sVpnGatewaysOperations operations, string resourceGroupName, string gatewayName, Microsoft.Azure.Management.Network.Fluent.Models.AuthenticationMethod authenticationMethod = default, System.Threading.CancellationToken cancellationToken = default);
static member BeginGenerateVpnProfileAsync : Microsoft.Azure.Management.Network.Fluent.IP2sVpnGatewaysOperations * string * string * Microsoft.Azure.Management.Network.Fluent.Models.AuthenticationMethod * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.VpnProfileResponseInner>
<Extension()>
Public Function BeginGenerateVpnProfileAsync (operations As IP2sVpnGatewaysOperations, resourceGroupName As String, gatewayName As String, Optional authenticationMethod As AuthenticationMethod = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VpnProfileResponseInner)

Parámetros

operations
IP2sVpnGatewaysOperations

Grupo de operaciones para este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos.

gatewayName
String

Nombre del P2SVpnGateway.

authenticationMethod
AuthenticationMethod

Método de autenticación de cliente VPN. Entre los valores posibles se incluyen: "EAPTLS", "EAPMSCHAPv2"

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a