Partilhar via


HDInsightClusterResource.GetHDInsightApplicationAsync 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}
  • Operação IdApplications_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.HDInsightApplicationResource>> GetHDInsightApplicationAsync (string applicationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetHDInsightApplicationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.HDInsightApplicationResource>>
override this.GetHDInsightApplicationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.HDInsightApplicationResource>>
Public Overridable Function GetHDInsightApplicationAsync (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 esperava-se que não estivesse vazia.

applicationName é nulo.

Aplica-se a