GatewayOperationsExtensions.GetDeviceConfigurationScriptAsync 方法 (IGatewayOperations, String, GatewayGetDeviceConfigurationScriptParameters)
获取设备配置脚本操作将返回可用于配置要连接到网关的本地 VPN 设备的脚本。 (请参阅 https://msdn.microsoft.com/en-us/library/windowsazure/jj154115.aspx 有关详细信息)
命名空间: Microsoft.WindowsAzure.Management.Network
程序集: Microsoft.WindowsAzure.Management.Network(Microsoft.WindowsAzure.Management.Network.dll 中)
语法
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)
参数
operations
Type: Microsoft.WindowsAzure.Management.Network.IGatewayOperations对 Microsoft.WindowsAzure.Management.Network.IGatewayOperations 引用。
networkName
Type: System.String必需。 此网关的虚拟网络的的名称。
parameters
Type: Microsoft.WindowsAzure.Management.Network.Models.GatewayGetDeviceConfigurationScriptParameters必需。 用于获取设备配置脚本操作的参数。
返回值
Type: System.Threading.Tasks.Task<GatewayGetDeviceConfigurationScriptResponse>
从获取设备配置脚本操作返回配置脚本。
请参阅
GatewayOperationsExtensions 类
Microsoft.WindowsAzure.Management.Network 命名空间
返回页首