Share via


MobileNetworkExtensions.GetPacketCoreControlPlanes Method

Definition

Overloads

GetPacketCoreControlPlanes(ResourceGroupResource)

Gets a collection of PacketCoreControlPlaneResources in the ResourceGroupResource. MockingTo mock this method, please mock GetPacketCoreControlPlanes() instead.

GetPacketCoreControlPlanes(SubscriptionResource, CancellationToken)

Lists all the packet core control planes in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes
  • Operation Id: PacketCoreControlPlanes_ListBySubscription
  • Default Api Version: 2024-02-01
  • Resource: PacketCoreControlPlaneResource

GetPacketCoreControlPlanes(ResourceGroupResource)

Source:
MobileNetworkExtensions.cs

Gets a collection of PacketCoreControlPlaneResources in the ResourceGroupResource. MockingTo mock this method, please mock GetPacketCoreControlPlanes() instead.

public static Azure.ResourceManager.MobileNetwork.PacketCoreControlPlaneCollection GetPacketCoreControlPlanes (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetPacketCoreControlPlanes : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.MobileNetwork.PacketCoreControlPlaneCollection
<Extension()>
Public Function GetPacketCoreControlPlanes (resourceGroupResource As ResourceGroupResource) As PacketCoreControlPlaneCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of PacketCoreControlPlaneResources and their operations over a PacketCoreControlPlaneResource.

Exceptions

resourceGroupResource is null.

Applies to

GetPacketCoreControlPlanes(SubscriptionResource, CancellationToken)

Source:
MobileNetworkExtensions.cs

Lists all the packet core control planes in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes
  • Operation Id: PacketCoreControlPlanes_ListBySubscription
  • Default Api Version: 2024-02-01
  • Resource: PacketCoreControlPlaneResource
public static Azure.Pageable<Azure.ResourceManager.MobileNetwork.PacketCoreControlPlaneResource> GetPacketCoreControlPlanes (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetPacketCoreControlPlanes : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.MobileNetwork.PacketCoreControlPlaneResource>
<Extension()>
Public Function GetPacketCoreControlPlanes (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PacketCoreControlPlaneResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of PacketCoreControlPlaneResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to