Share via


GatewayOperationsExtensions.GetDeviceConfigurationScript Method (IGatewayOperations, String, GatewayGetDeviceConfigurationScriptParameters)

 

The Get Device Configuration Script operation returns a script that you can use to configure local VPN devices to connect to the gateway. (see https://msdn.microsoft.com/en-us/library/windowsazure/jj154115.aspx for more information)

Namespace:   Microsoft.WindowsAzure.Management.Network
Assembly:  Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)

Syntax

public static GatewayGetDeviceConfigurationScriptResponse GetDeviceConfigurationScript(
    this IGatewayOperations operations,
    string networkName,
    GatewayGetDeviceConfigurationScriptParameters parameters
)
public:
[ExtensionAttribute]
static GatewayGetDeviceConfigurationScriptResponse^ GetDeviceConfigurationScript(
    IGatewayOperations^ operations,
    String^ networkName,
    GatewayGetDeviceConfigurationScriptParameters^ parameters
)
static member GetDeviceConfigurationScript : 
        operations:IGatewayOperations *
        networkName:string *
        parameters:GatewayGetDeviceConfigurationScriptParameters -> GatewayGetDeviceConfigurationScriptResponse
<ExtensionAttribute>
Public Shared Function GetDeviceConfigurationScript (
    operations As IGatewayOperations,
    networkName As String,
    parameters As GatewayGetDeviceConfigurationScriptParameters
) As GatewayGetDeviceConfigurationScriptResponse

Parameters

  • networkName
    Type: System.String

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

Return Value

Type: Microsoft.WindowsAzure.Management.Network.Models.GatewayGetDeviceConfigurationScriptResponse

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

See Also

GatewayOperationsExtensions Class
Microsoft.WindowsAzure.Management.Network Namespace

Return to top