Compartilhar via


HDInsightApplicationCollection.GetAsync(String, CancellationToken) Método

Definição

Obtém as propriedades do aplicativo especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/applications/{applicationName}
  • IdApplications_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.HDInsightApplicationResource>> GetAsync (string applicationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.HDInsightApplicationResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.HDInsightApplicationResource>>
Public Overridable Function GetAsync (applicationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HDInsightApplicationResource))

Parâmetros

applicationName
String

O valor constante do nome do aplicativo.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

applicationName é nulo.

Aplica-se a