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
operations
Type: Microsoft.WindowsAzure.Management.Network.IGatewayOperationsReference to the Microsoft.WindowsAzure.Management.Network.IGatewayOperations.
networkName
Type: System.StringRequired. The name of the virtual network for this gateway.
parameters
Type: Microsoft.WindowsAzure.Management.Network.Models.GatewayGetDeviceConfigurationScriptParametersRequired. The parameters for the Get Device Configuration Script operation.
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