共用方式為


MobileNetworkDiagnosticsPackageCollection Class

Definition

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

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

Constructors

MobileNetworkDiagnosticsPackageCollection()

Initializes a new instance of the MobileNetworkDiagnosticsPackageCollection 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, CancellationToken)

Creates or updates a diagnostics package.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}/diagnosticsPackages/{diagnosticsPackageName}
  • Operation Id: DiagnosticsPackages_CreateOrUpdate
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkDiagnosticsPackageResource
CreateOrUpdateAsync(WaitUntil, String, CancellationToken)

Creates or updates a diagnostics package.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets information about the specified diagnostics package.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}/diagnosticsPackages/{diagnosticsPackageName}
  • Operation Id: DiagnosticsPackages_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkDiagnosticsPackageResource
GetAll(CancellationToken)

Lists all the diagnostics packages under a packet core control plane.

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

Lists all the diagnostics packages under a packet core control plane.

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

Gets information about the specified diagnostics package.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}/diagnosticsPackages/{diagnosticsPackageName}
  • Operation Id: DiagnosticsPackages_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkDiagnosticsPackageResource
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<MobileNetworkDiagnosticsPackageResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MobileNetworkDiagnosticsPackageResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to