Partilhar via


P2SVpnGatewayResource.GenerateVpnProfile Método

Definição

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

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/generatevpnprofile
  • IdP2sVpnGateways_GenerateVpnProfile de operação
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.VpnProfileResponse> GenerateVpnProfile (Azure.WaitUntil waitUntil, Azure.ResourceManager.Network.Models.P2SVpnProfileContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GenerateVpnProfile : Azure.WaitUntil * Azure.ResourceManager.Network.Models.P2SVpnProfileContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.VpnProfileResponse>
override this.GenerateVpnProfile : Azure.WaitUntil * Azure.ResourceManager.Network.Models.P2SVpnProfileContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.VpnProfileResponse>
Public Overridable Function GenerateVpnProfile (waitUntil As WaitUntil, content As P2SVpnProfileContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of VpnProfileResponse)

Parâmetros

waitUntil
WaitUntil

Completed se o método deve aguardar para retornar até que a operação de execução prolongada seja concluída no serviço; Started se ele deve retornar depois de iniciar a operação. Para obter mais informações sobre operações de longa execução, consulte Exemplos de operação de Long-Running do Azure.Core.

content
P2SVpnProfileContent

Parâmetros fornecidos para a operação gerar pacote de cliente VPN P2SVpnGateway.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a