Freigeben über


ApplicationPackageOperationsExtensions.GetAsync Methode

Definition

Ruft Informationen zum angegebenen Anwendungspaket ab.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.ApplicationPackage> GetAsync (this Microsoft.Azure.Management.Batch.IApplicationPackageOperations operations, string resourceGroupName, string accountName, string applicationName, string versionName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Batch.IApplicationPackageOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.ApplicationPackage>
<Extension()>
Public Function GetAsync (operations As IApplicationPackageOperations, resourceGroupName As String, accountName As String, applicationName As String, versionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ApplicationPackage)

Parameter

operations
IApplicationPackageOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe, die das Batch-Konto enthält.

accountName
String

Der Name des Batch-Kontos.

applicationName
String

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

versionName
String

Die Version der Anwendung.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: