共用方式為


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to