IGatewayOperations.GetDeviceConfigurationScriptAsync Method (String, GatewayGetDeviceConfigurationScriptParameters, CancellationToken)
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
Task<GatewayGetDeviceConfigurationScriptResponse> GetDeviceConfigurationScriptAsync(
string networkName,
GatewayGetDeviceConfigurationScriptParameters parameters,
CancellationToken cancellationToken
)
Task<GatewayGetDeviceConfigurationScriptResponse^>^ GetDeviceConfigurationScriptAsync(
String^ networkName,
GatewayGetDeviceConfigurationScriptParameters^ parameters,
CancellationToken cancellationToken
)
abstract GetDeviceConfigurationScriptAsync :
networkName:string *
parameters:GatewayGetDeviceConfigurationScriptParameters *
cancellationToken:CancellationToken -> Task<GatewayGetDeviceConfigurationScriptResponse>
Function GetDeviceConfigurationScriptAsync (
networkName As String,
parameters As GatewayGetDeviceConfigurationScriptParameters,
cancellationToken As CancellationToken
) As Task(Of GatewayGetDeviceConfigurationScriptResponse)
Parameters
networkName
Type: System.StringThe name of the virtual network for this gateway.
parameters
Type: Microsoft.WindowsAzure.Management.Network.Models.GatewayGetDeviceConfigurationScriptParametersThe parameters for the Get Device Configuration Script operation.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<GatewayGetDeviceConfigurationScriptResponse>
The configuration script returned from the get device configuration script operation.
See Also
IGatewayOperations Interface
Microsoft.WindowsAzure.Management.Network Namespace
Return to top