IGatewayOperations.GetIPsecParametersAsync 方法 (String, String, CancellationToken)
获取 IPsec 参数操作获取已设置为提供的虚拟网络网关和提供的本地网络站点之间的连接的 IPsec 参数。
命名空间: Microsoft.WindowsAzure.Management.Network
程序集: Microsoft.WindowsAzure.Management.Network(Microsoft.WindowsAzure.Management.Network.dll 中)
语法
Task<GatewayGetIPsecParametersResponse> GetIPsecParametersAsync(
string networkName,
string localNetworkName,
CancellationToken cancellationToken
)
Task<GatewayGetIPsecParametersResponse^>^ GetIPsecParametersAsync(
String^ networkName,
String^ localNetworkName,
CancellationToken cancellationToken
)
abstract GetIPsecParametersAsync :
networkName:string *
localNetworkName:string *
cancellationToken:CancellationToken -> Task<GatewayGetIPsecParametersResponse>
Function GetIPsecParametersAsync (
networkName As String,
localNetworkName As String,
cancellationToken As CancellationToken
) As Task(Of GatewayGetIPsecParametersResponse)
参数
networkName
Type: System.String此网关的虚拟网络的的名称。
localNetworkName
Type: System.String本地网络的名称。
cancellationToken
Type: System.Threading.CancellationToken取消标记。
返回值
Type: System.Threading.Tasks.Task<GatewayGetIPsecParametersResponse>
将从 GetIPsecParameters 请求返回的响应。 其中包含指定的连接的 IPsec 参数。
请参阅
IGatewayOperations 接口
Microsoft.WindowsAzure.Management.Network 命名空间
返回页首