GalleryImageCollection.GetAllAsync(CancellationToken) Method

Definition

List gallery image definitions in a gallery.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images.
  • Operation Id. : GalleryImages_ListByGallery.
  • Default Api Version. : 2025-12-03.
public virtual Azure.AsyncPageable<Azure.ResourceManager.Compute.GalleryImageResource> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.GalleryImageResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.GalleryImageResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of GalleryImageResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to