Freigeben über


HDInsightApplicationCollection.GetAsync(String, CancellationToken) Methode

Definition

Ruft Eigenschaften der angegebenen Anwendung ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/applications/{applicationName}
  • Vorgang IdApplications_Get
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))

Parameter

applicationName
String

Der Konstantenwert für den Anwendungsnamen.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

applicationName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

applicationName ist NULL.

Gilt für: