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. : ApplicationPackages_List.
  • Default Api Version. : 2025-06-01.
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