Share via


GatewayOperationsExtensions.GetDeviceConfigurationScriptAsync 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 Task<GatewayGetDeviceConfigurationScriptResponse> GetDeviceConfigurationScriptAsync(
    this IGatewayOperations operations,
    string networkName,
    GatewayGetDeviceConfigurationScriptParameters parameters
)
public:
[ExtensionAttribute]
static Task<GatewayGetDeviceConfigurationScriptResponse^>^ GetDeviceConfigurationScriptAsync(
    IGatewayOperations^ operations,
    String^ networkName,
    GatewayGetDeviceConfigurationScriptParameters^ parameters
)
static member GetDeviceConfigurationScriptAsync : 
        operations:IGatewayOperations *
        networkName:string *
        parameters:GatewayGetDeviceConfigurationScriptParameters -> Task<GatewayGetDeviceConfigurationScriptResponse>
<ExtensionAttribute>
Public Shared Function GetDeviceConfigurationScriptAsync (
    operations As IGatewayOperations,
    networkName As String,
    parameters As GatewayGetDeviceConfigurationScriptParameters
) As Task(Of GatewayGetDeviceConfigurationScriptResponse)

Parameters

  • networkName
    Type: System.String

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

Return Value

Type: System.Threading.Tasks.Task<GatewayGetDeviceConfigurationScriptResponse>

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

See Also

GatewayOperationsExtensions Class
Microsoft.WindowsAzure.Management.Network Namespace

Return to top