Partager via


PacketCoreControlPlaneResource.GetMobileNetworkPacketCaptureAsync Méthode

Définition

Obtient des informations sur la session de capture de paquets spécifiée.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}/packetCaptures/{packetCapturesName}
  • IdPacketCaptures_Get d’opération
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))

Paramètres

packetCaptureName
String

Nom de la session de capture de paquets.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

packetCaptureName est une chaîne vide et devait être non vide.

packetCaptureName a la valeur null.

S’applique à