GalleryImageVersionsOperations.ListByGalleryImageAsync(String, String, String, CancellationToken) Method

Definition

List gallery Image Versions in a gallery Image Definition.

public virtual Azure.AsyncPageable<Azure.ResourceManager.Compute.Models.GalleryImageVersion> ListByGalleryImageAsync (string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByGalleryImageAsync : string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.Models.GalleryImageVersion>
override this.ListByGalleryImageAsync : string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.Models.GalleryImageVersion>
Public Overridable Function ListByGalleryImageAsync (resourceGroupName As String, galleryName As String, galleryImageName As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of GalleryImageVersion)

Parameters

resourceGroupName
System.String

The name of the resource group.

galleryName
System.String

The name of the Shared Image Gallery in which the Image Definition resides.

galleryImageName
System.String

The name of the Shared Image Gallery Image Definition from which the Image Versions are to be listed.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

AsyncPageable<GalleryImageVersion>

Exceptions

System.ArgumentNullException

resourceGroupName, galleryName, or galleryImageName is null.

Applies to