Compartilhar via


SubscriptionPacketCoreControlPlaneVersionCollection.GetIfExistsAsync Método

Definição

Tenta obter detalhes desse recurso do serviço.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.MobileNetwork/packetCoreControlPlaneVersions/{versionName}
  • IdPacketCoreControlPlaneVersions_GetBySubscription de operação
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.MobileNetwork.SubscriptionPacketCoreControlPlaneVersionResource>> GetIfExistsAsync (string versionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.MobileNetwork.SubscriptionPacketCoreControlPlaneVersionResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.MobileNetwork.SubscriptionPacketCoreControlPlaneVersionResource>>
Public Overridable Function GetIfExistsAsync (versionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of SubscriptionPacketCoreControlPlaneVersionResource))

Parâmetros

versionName
String

O nome da versão do painel de controle do núcleo de pacotes.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

versionName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

versionName é nulo.

Aplica-se a