IGatewayOperations.GetDeviceConfigurationScriptAsync Method (String, GatewayGetDeviceConfigurationScriptParameters, CancellationToken)
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)
Assembly: Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)
Task<GatewayGetDeviceConfigurationScriptResponse> GetDeviceConfigurationScriptAsync(
string networkName,
GatewayGetDeviceConfigurationScriptParameters parameters,
CancellationToken cancellationToken
)
Parameters
- networkName
-
Type:
System.String
The name of the virtual network for this gateway.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.Network.Models.GatewayGetDeviceConfigurationScriptParameters
The parameters for the Get Device Configuration Script operation.
- cancellationToken
-
Type:
System.Threading.CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks.Task<GatewayGetDeviceConfigurationScriptResponse>The configuration script returned from the get device configuration script operation.
Show: