次の方法で共有


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: 2023-07-03
  • Resource: GalleryImageResource
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

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

Applies to