共用方式為


IGatewayOperations.GetDeviceConfigurationScriptAsync Method

Definition

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.

parameters
GatewayGetDeviceConfigurationScriptParameters

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.

Applies to