Compartilhar via


P2sVpnGatewaysOperationsExtensions.GenerateVpnProfileAsync Método

Definição

Gera o perfil VPN para o cliente P2S do P2SVpnGateway no grupo de recursos especificado.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.VpnProfileResponseInner> GenerateVpnProfileAsync (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 GenerateVpnProfileAsync : 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 GenerateVpnProfileAsync (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

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos.

gatewayName
String

O nome do P2SVpnGateway.

authenticationMethod
AuthenticationMethod

Método de autenticação de cliente VPN. Os valores possíveis incluem: 'EAPTLS', 'EAPMSCHAPv2'

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a