VNetOperationsExtensions.GetVpnDeviceConfigScriptAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET