Udostępnij za pośrednictwem


GatewayOperationsExtensions.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 static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayGetDeviceConfigurationScriptResponse> GetDeviceConfigurationScriptAsync (this Microsoft.WindowsAzure.Management.Network.IGatewayOperations operations, string networkName, Microsoft.WindowsAzure.Management.Network.Models.GatewayGetDeviceConfigurationScriptParameters parameters);
static member GetDeviceConfigurationScriptAsync : Microsoft.WindowsAzure.Management.Network.IGatewayOperations * string * Microsoft.WindowsAzure.Management.Network.Models.GatewayGetDeviceConfigurationScriptParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayGetDeviceConfigurationScriptResponse>
<Extension()>
Public Function GetDeviceConfigurationScriptAsync (operations As IGatewayOperations, networkName As String, parameters As GatewayGetDeviceConfigurationScriptParameters) As Task(Of GatewayGetDeviceConfigurationScriptResponse)

Parameters

operations
IGatewayOperations

Reference to the Microsoft.WindowsAzure.Management.Network.IGatewayOperations.

networkName
String

Required. The name of the virtual network for this gateway.

parameters
GatewayGetDeviceConfigurationScriptParameters

Required. The parameters for the Get Device Configuration Script operation.

Returns

The configuration script returned from the get device configuration script operation.

Applies to