Partilhar via


VirtualNetworkGatewayConnectionResource.VpnDeviceConfigurationScriptAsync Método

Definição

Obtém uma representação de formato xml para script de configuração de dispositivo vpn.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/vpndeviceconfigurationscript
  • Operação IdVirtualNetworkGateways_VpnDeviceConfigurationScript
public virtual System.Threading.Tasks.Task<Azure.Response<string>> VpnDeviceConfigurationScriptAsync (Azure.ResourceManager.Network.Models.VpnDeviceScriptContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member VpnDeviceConfigurationScriptAsync : Azure.ResourceManager.Network.Models.VpnDeviceScriptContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<string>>
override this.VpnDeviceConfigurationScriptAsync : Azure.ResourceManager.Network.Models.VpnDeviceScriptContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<string>>
Public Overridable Function VpnDeviceConfigurationScriptAsync (content As VpnDeviceScriptContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of String))

Parâmetros

content
VpnDeviceScriptContent

Parâmetros fornecidos para a operação de gerar script de dispositivo vpn.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a