Partager via


P2sVpnGatewaysOperationsExtensions.BeginGenerateVpnProfileAsync Méthode

Définition

Génère un profil VPN pour le client P2S du P2SVpnGateway dans le groupe de ressources spécifié.

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)

Paramètres

operations
IP2sVpnGatewaysOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources.

gatewayName
String

Nom du P2SVpnGateway.

authenticationMethod
AuthenticationMethod

Méthode d’authentification du client VPN. Les valeurs possibles sont les suivantes : « EAPTLS », « EAPMSCHAPv2 »

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à