你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

NetworkManagementClient.GeneratevirtualwanvpnserverconfigurationvpnprofileWithHttpMessagesAsync 方法

定义

为 VirtualWan 的 P2S 客户端和指定资源组中关联的 VpnServerConfiguration 组合生成唯一的 VPN 配置文件。

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Network.Models.VpnProfileResponse>> GeneratevirtualwanvpnserverconfigurationvpnprofileWithHttpMessagesAsync (string resourceGroupName, string virtualWANName, Microsoft.Azure.Management.Network.Models.VirtualWanVpnProfileParameters vpnClientParams, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GeneratevirtualwanvpnserverconfigurationvpnprofileWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.Network.Models.VirtualWanVpnProfileParameters * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Network.Models.VpnProfileResponse>>
override this.GeneratevirtualwanvpnserverconfigurationvpnprofileWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.Network.Models.VirtualWanVpnProfileParameters * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Network.Models.VpnProfileResponse>>
Public Function GeneratevirtualwanvpnserverconfigurationvpnprofileWithHttpMessagesAsync (resourceGroupName As String, virtualWANName As String, vpnClientParams As VirtualWanVpnProfileParameters, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of VpnProfileResponse))

参数

resourceGroupName
String

资源组名称。

virtualWANName
String

需要其关联的 VpnServerConfiguration 的 VirtualWAN 的名称。

vpnClientParams
VirtualWanVpnProfileParameters

提供给生成 VirtualWan VPN 配置文件生成操作的参数。

customHeaders
Dictionary<String,List<String>>

将添加到请求的标头。

cancellationToken
CancellationToken

取消标记。

返回

实现

适用于