IGalleryImages.GetByGalleryAsync Method

Definition

Retrieves information about an image in a gallery.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.IGalleryImage> GetByGalleryAsync (string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetByGalleryAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.IGalleryImage>
Public Function GetByGalleryAsync (resourceGroupName As String, galleryName As String, galleryImageName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IGalleryImage)

Parameters

resourceGroupName
String

The name of the resource group.

galleryName
String

The name of the gallery.

galleryImageName
String

The name of the gallery image.

cancellationToken
CancellationToken

Returns

Applies to