Share via


BatchApplicationPackageCollection.GetAll 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.Pageable<Azure.ResourceManager.Batch.BatchApplicationPackageResource> GetAll (int? maxresults = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Batch.BatchApplicationPackageResource>
override this.GetAll : Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Batch.BatchApplicationPackageResource>
Public Overridable Function GetAll (Optional maxresults As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of BatchApplicationPackageResource)

Parameters

maxresults
Nullable<Int32>

The maximum number of items to return in the response.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to