GalleryImageVersionCollection.GetAllAsync(CancellationToken) Method

Definition

List gallery image versions in a gallery image definition.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to