Share via


PacketCaptureCollection.GetAll(CancellationToken) Method

Definition

Lists all packet capture sessions within the specified resource group.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of PacketCaptureResource that may take multiple service requests to iterate over.

Applies to