Share via


CommunityGalleryImagesOperationsExtensions.GetAsync Method

Definition

Get a community gallery image.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.CommunityGalleryImage> GetAsync (this Microsoft.Azure.Management.Compute.ICommunityGalleryImagesOperations operations, string location, string publicGalleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Compute.ICommunityGalleryImagesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.CommunityGalleryImage>
<Extension()>
Public Function GetAsync (operations As ICommunityGalleryImagesOperations, location As String, publicGalleryName As String, galleryImageName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CommunityGalleryImage)

Parameters

operations
ICommunityGalleryImagesOperations

The operations group for this extension method.

location
String

Resource location.

publicGalleryName
String

The public name of the community gallery.

galleryImageName
String

The name of the community gallery image definition.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to