GalleryImageVersionsOperationsExtensions.ListByGalleryImageAsync Method

Definition

List gallery image versions in a gallery image definition.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.GalleryImageVersion>> ListByGalleryImageAsync (this Microsoft.Azure.Management.Compute.IGalleryImageVersionsOperations operations, string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default);
static member ListByGalleryImageAsync : Microsoft.Azure.Management.Compute.IGalleryImageVersionsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.GalleryImageVersion>>
<Extension()>
Public Function ListByGalleryImageAsync (operations As IGalleryImageVersionsOperations, resourceGroupName As String, galleryName As String, galleryImageName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of GalleryImageVersion))

Parameters

operations
IGalleryImageVersionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

galleryName
String

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

galleryImageName
String

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

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to