GalleryImageCollection.GetAll(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.Pageable<Azure.ResourceManager.Compute.GalleryImageResource> GetAll(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Compute.GalleryImageResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Compute.GalleryImageResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(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