Partilhar via


PacketCoreControlPlaneResource.GetMobileNetworkPacketCaptureAsync Método

Definição

Obtém informações sobre a sessão de captura de pacotes especificada.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}/packetCaptures/{packetCaptureName}
  • Operação IdPacketCaptures_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MobileNetwork.MobileNetworkPacketCaptureResource>> GetMobileNetworkPacketCaptureAsync (string packetCaptureName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMobileNetworkPacketCaptureAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MobileNetwork.MobileNetworkPacketCaptureResource>>
override this.GetMobileNetworkPacketCaptureAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MobileNetwork.MobileNetworkPacketCaptureResource>>
Public Overridable Function GetMobileNetworkPacketCaptureAsync (packetCaptureName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MobileNetworkPacketCaptureResource))

Parâmetros

packetCaptureName
String

O nome da sessão de captura de pacotes.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

packetCaptureName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

packetCaptureName é nulo.

Aplica-se a