VirtualNetworkGatewaysOperations.VpnDeviceConfigurationScriptAsync(String, String, VpnDeviceScriptParameters, CancellationToken) Method

Definition

Gets a xml format representation for vpn device configuration script.

public virtual System.Threading.Tasks.Task<Azure.Response<string>> VpnDeviceConfigurationScriptAsync (string resourceGroupName, string virtualNetworkGatewayConnectionName, Azure.ResourceManager.Network.Models.VpnDeviceScriptParameters parameters, System.Threading.CancellationToken cancellationToken = default);
abstract member VpnDeviceConfigurationScriptAsync : string * string * Azure.ResourceManager.Network.Models.VpnDeviceScriptParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<string>>
override this.VpnDeviceConfigurationScriptAsync : string * string * Azure.ResourceManager.Network.Models.VpnDeviceScriptParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<string>>
Public Overridable Function VpnDeviceConfigurationScriptAsync (resourceGroupName As String, virtualNetworkGatewayConnectionName As String, parameters As VpnDeviceScriptParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of String))

Parameters

resourceGroupName
System.String

The name of the resource group.

virtualNetworkGatewayConnectionName
System.String

The name of the virtual network gateway connection for which the configuration script is generated.

parameters
VpnDeviceScriptParameters

Parameters supplied to the generate vpn device script operation.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

System.Threading.Tasks.Task<Response<System.String>>

Applies to