Udostępnij za pośrednictwem


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

Parameters

operations
IImagesOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to