Partilhar via


MobileNetworkDiagnosticsPackageCollection.GetAsync Método

Definição

Obtém informações sobre o pacote de diagnóstico especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}/diagnosticsPackages/{diagnosticsPackageName}
  • IdDiagnosticsPackages_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MobileNetwork.MobileNetworkDiagnosticsPackageResource>> GetAsync (string diagnosticsPackageName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MobileNetwork.MobileNetworkDiagnosticsPackageResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MobileNetwork.MobileNetworkDiagnosticsPackageResource>>
Public Overridable Function GetAsync (diagnosticsPackageName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MobileNetworkDiagnosticsPackageResource))

Parâmetros

diagnosticsPackageName
String

O nome do pacote diagnóstico.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

diagnosticsPackageName é nulo.

Aplica-se a