Freigeben über


BatchAccountResource.GetBatchApplication(String, CancellationToken) Methode

Definition

Ruft Informationen zur angegebenen Anwendung ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}
  • Vorgangs-IdApplication_Get
public virtual Azure.Response<Azure.ResourceManager.Batch.BatchApplicationResource> GetBatchApplication (string applicationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetBatchApplication : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Batch.BatchApplicationResource>
override this.GetBatchApplication : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Batch.BatchApplicationResource>
Public Overridable Function GetBatchApplication (applicationName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of BatchApplicationResource)

Parameter

applicationName
String

Der Namen der Anwendung. Dies muss innerhalb des Kontos eindeutig sein.

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: