Share via


ImagesOperationsExtensions.ListAsync Method

Definition

Gets the list of Images in the subscription. Use nextLink property in the response to get the next page of Images. Do this till nextLink is null to fetch all the Images.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Fluent.Models.ImageInner>> ListAsync (this Microsoft.Azure.Management.Compute.Fluent.IImagesOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Compute.Fluent.IImagesOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Fluent.Models.ImageInner>>
<Extension()>
Public Function ListAsync (operations As IImagesOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ImageInner))

Parameters

operations
IImagesOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to