VirtualNetworkGatewayConnectionsOperationsExtensions.BeginStartPacketCaptureAsync 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.
Starts packet capture on virtual network gateway connection in the specified resource group.
public static System.Threading.Tasks.Task<string> BeginStartPacketCaptureAsync (this Microsoft.Azure.Management.Network.IVirtualNetworkGatewayConnectionsOperations operations, string resourceGroupName, string virtualNetworkGatewayConnectionName, Microsoft.Azure.Management.Network.Models.VpnPacketCaptureStartParameters parameters = default, System.Threading.CancellationToken cancellationToken = default);
static member BeginStartPacketCaptureAsync : Microsoft.Azure.Management.Network.IVirtualNetworkGatewayConnectionsOperations * string * string * Microsoft.Azure.Management.Network.Models.VpnPacketCaptureStartParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
<Extension()>
Public Function BeginStartPacketCaptureAsync (operations As IVirtualNetworkGatewayConnectionsOperations, resourceGroupName As String, virtualNetworkGatewayConnectionName As String, Optional parameters As VpnPacketCaptureStartParameters = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)
Parameters
- operations
- IVirtualNetworkGatewayConnectionsOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- virtualNetworkGatewayConnectionName
- String
The name of the virtual network gateway connection.
- parameters
- VpnPacketCaptureStartParameters
Virtual network gateway packet capture parameters supplied to start packet capture on gateway connection.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET