VpnGatewaysOperationsExtensions.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 gateway in the specified resource group.
public static System.Threading.Tasks.Task<string> StartPacketCaptureAsync (this Microsoft.Azure.Management.Network.IVpnGatewaysOperations operations, string resourceGroupName, string gatewayName, Microsoft.Azure.Management.Network.Models.VpnGatewayPacketCaptureStartParameters parameters = default, System.Threading.CancellationToken cancellationToken = default);
static member StartPacketCaptureAsync : Microsoft.Azure.Management.Network.IVpnGatewaysOperations * string * string * Microsoft.Azure.Management.Network.Models.VpnGatewayPacketCaptureStartParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
<Extension()>
Public Function StartPacketCaptureAsync (operations As IVpnGatewaysOperations, resourceGroupName As String, gatewayName As String, Optional parameters As VpnGatewayPacketCaptureStartParameters = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)
Parameters
- operations
- IVpnGatewaysOperations
The operations group for this extension method.
- resourceGroupName
- String
The resource group name of the VpnGateway.
- gatewayName
- String
The name of the gateway.
- parameters
- VpnGatewayPacketCaptureStartParameters
Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET