Share via


SnapshotsOperationsExtensions.ListAsync Method

Definition

Lists snapshots under a subscription.

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

Parameters

operations
ISnapshotsOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to