Freigeben über


ApplicationPackageOperationsExtensions.ListAsync Methode

Definition

Listet alle Anwendungspakete in der angegebenen Anwendung auf.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Batch.Models.ApplicationPackage>> ListAsync (this Microsoft.Azure.Management.Batch.IApplicationPackageOperations operations, string resourceGroupName, string accountName, string applicationName, int? maxresults = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Batch.IApplicationPackageOperations * string * string * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Batch.Models.ApplicationPackage>>
<Extension()>
Public Function ListAsync (operations As IApplicationPackageOperations, resourceGroupName As String, accountName As String, applicationName As String, Optional maxresults As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(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.

maxresults
Nullable<Int32>

Die maximale Anzahl von Elementen, die in der Antwort zurückgegeben werden sollen.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: