Share via


VirtualNetworkGatewaysOperationsExtensions.VpnDeviceConfigurationScriptAsync Method

Definition

Gets a xml format representation for vpn device configuration script.

public static System.Threading.Tasks.Task<string> VpnDeviceConfigurationScriptAsync (this Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGatewaysOperations operations, string resourceGroupName, string virtualNetworkGatewayConnectionName, Microsoft.Azure.Management.Network.Fluent.Models.VpnDeviceScriptParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member VpnDeviceConfigurationScriptAsync : Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGatewaysOperations * string * string * Microsoft.Azure.Management.Network.Fluent.Models.VpnDeviceScriptParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
<Extension()>
Public Function VpnDeviceConfigurationScriptAsync (operations As IVirtualNetworkGatewaysOperations, resourceGroupName As String, virtualNetworkGatewayConnectionName As String, parameters As VpnDeviceScriptParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)

Parameters

operations
IVirtualNetworkGatewaysOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

virtualNetworkGatewayConnectionName
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
CancellationToken

The cancellation token.

Returns

Applies to