Share via


GalleriesOperationsExtensions.ListAsync Method

Definition

List galleries under a subscription.

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

Parameters

operations
IGalleriesOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to