Dela via


ApplicationPackageOperationsExtensions.ListAsync Metod

Definition

Visar en lista över alla programpaket i det angivna programmet.

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))

Parametrar

operations
IApplicationPackageOperations

Åtgärdsgruppen för den här tilläggsmetoden.

resourceGroupName
String

Namnet på resursgruppen som innehåller Batch-kontot.

accountName
String

Namnet på Batch-kontot.

applicationName
String

Namnet på programmet. Detta måste vara unikt i kontot.

maxresults
Nullable<Int32>

Det maximala antalet objekt som ska returneras i svaret.

cancellationToken
CancellationToken

Annulleringstoken.

Returer

Gäller för