Share via


MobileNetworkPacketCaptureCollection Class

Definition

A class representing a collection of MobileNetworkPacketCaptureResource and their operations. Each MobileNetworkPacketCaptureResource in the collection will belong to the same instance of PacketCoreControlPlaneResource. To get a MobileNetworkPacketCaptureCollection instance call the GetMobileNetworkPacketCaptures method from an instance of PacketCoreControlPlaneResource.

public class MobileNetworkPacketCaptureCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.MobileNetwork.MobileNetworkPacketCaptureResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.MobileNetwork.MobileNetworkPacketCaptureResource>
type MobileNetworkPacketCaptureCollection = class
    inherit ArmCollection
    interface seq<MobileNetworkPacketCaptureResource>
    interface IEnumerable
    interface IAsyncEnumerable<MobileNetworkPacketCaptureResource>
Public Class MobileNetworkPacketCaptureCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of MobileNetworkPacketCaptureResource), IEnumerable(Of MobileNetworkPacketCaptureResource)
Inheritance
MobileNetworkPacketCaptureCollection
Implements

Constructors

MobileNetworkPacketCaptureCollection()

Initializes a new instance of the MobileNetworkPacketCaptureCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, MobileNetworkPacketCaptureData, CancellationToken)

Creates or updates a packet capture.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}/packetCaptures/{packetCaptureName}
  • Operation Id: PacketCaptures_CreateOrUpdate
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkPacketCaptureResource
CreateOrUpdateAsync(WaitUntil, String, MobileNetworkPacketCaptureData, CancellationToken)

Creates or updates a packet capture.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}/packetCaptures/{packetCaptureName}
  • Operation Id: PacketCaptures_CreateOrUpdate
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkPacketCaptureResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}/packetCaptures/{packetCaptureName}
  • Operation Id: PacketCaptures_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkPacketCaptureResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}/packetCaptures/{packetCaptureName}
  • Operation Id: PacketCaptures_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkPacketCaptureResource
Get(String, CancellationToken)

Gets information about the specified packet capture session.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}/packetCaptures/{packetCaptureName}
  • Operation Id: PacketCaptures_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkPacketCaptureResource
GetAll(CancellationToken)

Lists all the packet capture sessions under a packet core control plane.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}/packetCaptures
  • Operation Id: PacketCaptures_ListByPacketCoreControlPlane
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkPacketCaptureResource
GetAllAsync(CancellationToken)

Lists all the packet capture sessions under a packet core control plane.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}/packetCaptures
  • Operation Id: PacketCaptures_ListByPacketCoreControlPlane
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkPacketCaptureResource
GetAsync(String, CancellationToken)

Gets information about the specified packet capture session.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}/packetCaptures/{packetCaptureName}
  • Operation Id: PacketCaptures_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkPacketCaptureResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}/packetCaptures/{packetCaptureName}
  • Operation Id: PacketCaptures_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkPacketCaptureResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}/packetCaptures/{packetCaptureName}
  • Operation Id: PacketCaptures_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkPacketCaptureResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<MobileNetworkPacketCaptureResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MobileNetworkPacketCaptureResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to