Share via


ImageVersionCollection.GetAllAsync(CancellationToken) Method

Definition

Lists versions for an image.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries/{galleryName}/images/{imageName}/versions
  • Operation Id: ImageVersions_ListByImage
public virtual Azure.AsyncPageable<Azure.ResourceManager.DevCenter.ImageVersionResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DevCenter.ImageVersionResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DevCenter.ImageVersionResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ImageVersionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to