Share via


MobileNetworkExtensions.GetSubscriptionPacketCoreControlPlaneVersionAsync Method

Definition

Gets information about the specified packet core control plane version.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.MobileNetwork/packetCoreControlPlaneVersions/{versionName}
  • Operation Id: PacketCoreControlPlaneVersions_GetBySubscription
  • Default Api Version: 2024-02-01
  • Resource: SubscriptionPacketCoreControlPlaneVersionResource
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MobileNetwork.SubscriptionPacketCoreControlPlaneVersionResource>> GetSubscriptionPacketCoreControlPlaneVersionAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string versionName, System.Threading.CancellationToken cancellationToken = default);
static member GetSubscriptionPacketCoreControlPlaneVersionAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MobileNetwork.SubscriptionPacketCoreControlPlaneVersionResource>>
<Extension()>
Public Function GetSubscriptionPacketCoreControlPlaneVersionAsync (subscriptionResource As SubscriptionResource, versionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SubscriptionPacketCoreControlPlaneVersionResource))

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

versionName
String

The name of the packet core control plane version.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionResource or versionName is null.

versionName is an empty string, and was expected to be non-empty.

Applies to