Share via


MockableHciVmSubscriptionResource.GetHciVmGalleryImages Method

Definition

Lists all of the gallery images in the specified subscription. Use the nextLink property in the response to get the next page of gallery images.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/galleryImages
  • Operation Id: GalleryImage_ListAll
  • Default Api Version: 2025-06-01-preview
  • Resource: HciVmGalleryImageResource
public virtual Azure.Pageable<Azure.ResourceManager.Hci.Vm.HciVmGalleryImageResource> GetHciVmGalleryImages(System.Threading.CancellationToken cancellationToken = default);
abstract member GetHciVmGalleryImages : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Hci.Vm.HciVmGalleryImageResource>
override this.GetHciVmGalleryImages : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Hci.Vm.HciVmGalleryImageResource>
Public Overridable Function GetHciVmGalleryImages (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of HciVmGalleryImageResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to