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

VirtualNetworkGatewaysOperationsExtensions.StopPacketCaptureAsync 方法

定义

停止对指定资源组中的虚拟网络网关的数据包捕获。

public static System.Threading.Tasks.Task<string> StopPacketCaptureAsync (this Microsoft.Azure.Management.Network.IVirtualNetworkGatewaysOperations operations, string resourceGroupName, string virtualNetworkGatewayName, Microsoft.Azure.Management.Network.Models.VpnPacketCaptureStopParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member StopPacketCaptureAsync : Microsoft.Azure.Management.Network.IVirtualNetworkGatewaysOperations * string * string * Microsoft.Azure.Management.Network.Models.VpnPacketCaptureStopParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
<Extension()>
Public Function StopPacketCaptureAsync (operations As IVirtualNetworkGatewaysOperations, resourceGroupName As String, virtualNetworkGatewayName As String, parameters As VpnPacketCaptureStopParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)

参数

operations
IVirtualNetworkGatewaysOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

virtualNetworkGatewayName
String

虚拟网络网关的名称。

parameters
VpnPacketCaptureStopParameters

提供的虚拟网络网关数据包捕获参数用于停止网关上的数据包捕获。

cancellationToken
CancellationToken

取消标记。

返回

适用于