IVNetOperations.GetVpnDeviceConfigScriptAsync Method

Definition

Gets a configuration script to configure the VPN deviceto connect to the given virtual network. Run this script on the VPN device.

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.VNetConfigScriptResult> GetVpnDeviceConfigScriptAsync (string vNetName, string vendor, string vpnDevice, string osFamily, System.Threading.CancellationToken cancellationToken);
abstract member GetVpnDeviceConfigScriptAsync : string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.VNetConfigScriptResult>
Public Function GetVpnDeviceConfigScriptAsync (vNetName As String, vendor As String, vpnDevice As String, osFamily As String, cancellationToken As CancellationToken) As Task(Of VNetConfigScriptResult)

Parameters

vNetName
String

RemoteApp virtual network name.

vendor
String

Vendor

vpnDevice
String

Model of the VPN

osFamily
String

OS Family

cancellationToken
CancellationToken

Cancellation token.

Returns

Script that can be used to set up a VPN device.

Applies to