Partilhar via


PacketCaptureCollection.GetAllAsync(CancellationToken) Método

Definição

Lista todas as sessões de captura de pacotes dentro do grupo de recursos especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures
  • Operação IdPacketCaptures_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.PacketCaptureResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.PacketCaptureResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.PacketCaptureResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PacketCaptureResource)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de PacketCaptureResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a