GalleryImageVersionsOperationsExtensions.ListByGalleryImageAsync(IGalleryImageVersionsOperations, String, String, String, CancellationToken) GalleryImageVersionsOperationsExtensions.ListByGalleryImageAsync(IGalleryImageVersionsOperations, String, String, String, CancellationToken) 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 = null);
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>>

Parameters

operations
IGalleryImageVersionsOperations IGalleryImageVersionsOperations

The operations group for this extension method.

resourceGroupName
String String

The name of the resource group.

galleryName
String String

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

galleryImageName
String String

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

cancellationToken
CancellationToken CancellationToken

The cancellation token.

Returns

Task<Microsoft.Rest.Azure.IPage<GalleryImageVersion>>

Applies to