IVNetOperations.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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET