共用方式為


MobileNetworkExtensions.GetPacketCoreControlPlanesAsync Method

Definition

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.AsyncPageable<Azure.ResourceManager.MobileNetwork.PacketCoreControlPlaneResource> GetPacketCoreControlPlanesAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetPacketCoreControlPlanesAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MobileNetwork.PacketCoreControlPlaneResource>
<Extension()>
Public Function GetPacketCoreControlPlanesAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PacketCoreControlPlaneResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to