VpnConnectionsOperationsExtensions.StartPacketCaptureAsync 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 Vpn connection in the specified resource group.
public static System.Threading.Tasks.Task<string> StartPacketCaptureAsync (this Microsoft.Azure.Management.Network.IVpnConnectionsOperations operations, string resourceGroupName, string gatewayName, string vpnConnectionName, Microsoft.Azure.Management.Network.Models.VpnConnectionPacketCaptureStartParameters parameters = default, System.Threading.CancellationToken cancellationToken = default);
static member StartPacketCaptureAsync : Microsoft.Azure.Management.Network.IVpnConnectionsOperations * string * string * string * Microsoft.Azure.Management.Network.Models.VpnConnectionPacketCaptureStartParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
<Extension()>
Public Function StartPacketCaptureAsync (operations As IVpnConnectionsOperations, resourceGroupName As String, gatewayName As String, vpnConnectionName As String, Optional parameters As VpnConnectionPacketCaptureStartParameters = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)
Parameters
- operations
- IVpnConnectionsOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- gatewayName
- String
The name of the gateway.
- vpnConnectionName
- String
The name of the vpn connection.
- parameters
- VpnConnectionPacketCaptureStartParameters
Vpn Connection packet capture parameters supplied to start packet capture on gateway connection.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Azure SDK for .NET