Share via


BatchApplicationPackageCollection.GetAllAsync Method

Definition

Lists all of the application packages in the specified application.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions
  • Operation Id: ApplicationPackage_List
  • Default Api Version: 2024-02-01
  • Resource: BatchApplicationPackageResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Batch.BatchApplicationPackageResource> GetAllAsync (int? maxresults = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Batch.BatchApplicationPackageResource>
override this.GetAllAsync : Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Batch.BatchApplicationPackageResource>
Public Overridable Function GetAllAsync (Optional maxresults As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of BatchApplicationPackageResource)

Parameters

maxresults
Nullable<Int32>

The maximum number of items to return in the response.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of BatchApplicationPackageResource that may take multiple service requests to iterate over.

Applies to