Udostępnij za pośrednictwem


VNetOperationsExtensions.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 static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.VNetConfigScriptResult> GetVpnDeviceConfigScriptAsync (this Microsoft.WindowsAzure.Management.RemoteApp.IVNetOperations operations, string vNetName, string vendor, string vpnDevice, string osFamily);
static member GetVpnDeviceConfigScriptAsync : Microsoft.WindowsAzure.Management.RemoteApp.IVNetOperations * string * string * string * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.VNetConfigScriptResult>
<Extension()>
Public Function GetVpnDeviceConfigScriptAsync (operations As IVNetOperations, vNetName As String, vendor As String, vpnDevice As String, osFamily As String) As Task(Of VNetConfigScriptResult)

Parameters

operations
IVNetOperations

Reference to the Microsoft.WindowsAzure.Management.RemoteApp.IVNetOperations.

vNetName
String

Required. RemoteApp virtual network name.

vendor
String

Optional. Vendor

vpnDevice
String

Optional. Model of the VPN

osFamily
String

Optional. OS Family

Returns

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

Applies to