Share via


PacketCaptureResource.Get(CancellationToken) Method

Definition

Gets a packet capture session by name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}
  • Operation Id: PacketCaptures_Get
  • Default Api Version: 2024-03-01
  • Resource: PacketCaptureResource
public virtual Azure.Response<Azure.ResourceManager.Network.PacketCaptureResource> Get (System.Threading.CancellationToken cancellationToken = default);
abstract member Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.PacketCaptureResource>
override this.Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.PacketCaptureResource>
Public Overridable Function Get (Optional cancellationToken As CancellationToken = Nothing) As Response(Of PacketCaptureResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to