Dela via


CommunityGalleryImageVersionsOperationsExtensions.ListAsync Method

Definition

List community gallery image versions inside an image.

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

Parameters

operations
ICommunityGalleryImageVersionsOperations

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