Dela via


GalleryImagesOperationsExtensions.ListByGalleryAsync Method

Definition

List gallery image definitions in a gallery.

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

Parameters

operations
IGalleryImagesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

galleryName
String

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

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to