IGatewayOperations.GetDeviceConfigurationScriptAsync 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.
The Get Device Configuration Script operation returns a script that you can use to configure local VPN devices to connect to the gateway. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj154115.aspx for more information)
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayGetDeviceConfigurationScriptResponse> GetDeviceConfigurationScriptAsync (string networkName, Microsoft.WindowsAzure.Management.Network.Models.GatewayGetDeviceConfigurationScriptParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member GetDeviceConfigurationScriptAsync : string * Microsoft.WindowsAzure.Management.Network.Models.GatewayGetDeviceConfigurationScriptParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayGetDeviceConfigurationScriptResponse>
Public Function GetDeviceConfigurationScriptAsync (networkName As String, parameters As GatewayGetDeviceConfigurationScriptParameters, cancellationToken As CancellationToken) As Task(Of GatewayGetDeviceConfigurationScriptResponse)
Parameters
- networkName
- String
The name of the virtual network for this gateway.
The parameters for the Get Device Configuration Script operation.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The configuration script returned from the get device configuration script operation.