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

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