共用方式為


MobileNetworkExtensions.GetTenantPacketCoreControlPlaneVersionAsync Method

Definition

Gets information about the specified packet core control plane version.

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

Parameters

tenantResource
TenantResource

The TenantResource 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

tenantResource or versionName is null.

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

Applies to