GatewayOperationsExtensions.GetDeviceConfigurationScript Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Required. The parameters for the Get Device Configuration Script operation.
Returns
The configuration script returned from the get device configuration script operation.