SnapshotsOperationsExtensions.ListAsync Method

Definition

Lists snapshots under a subscription.

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

Parameters

operations
ISnapshotsOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to