共用方式為


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