ApplicationPackageOperationsExtensions.ListAsync Method

Definition

Lists all of the application packages in the specified application.

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

Parameters

operations
IApplicationPackageOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the Batch account.

accountName
String

The name of the Batch account.

applicationName
String

The name of the application. This must be unique within the account.

maxresults
Nullable<Int32>

The maximum number of items to return in the response.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to