你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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
<item>MockingTo mock this method, please mock GetSubscriptionPacketCoreControlPlaneVersionAsync(String, CancellationToken) instead.</item>
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