Share via


VirtualNetworkGatewayConnectionResource.VpnDeviceConfigurationScriptAsync Method

Definition

Gets a xml format representation for vpn device configuration script.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/vpndeviceconfigurationscript
  • Operation Id: VirtualNetworkGateways_VpnDeviceConfigurationScript
  • Default Api Version: 2024-03-01
  • Resource: VirtualNetworkGatewayResource
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))

Parameters

content
VpnDeviceScriptContent

Parameters supplied to the generate vpn device script operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to