SnapshotsOperationsExtensions.ListAsync Method

Definition

List all snapshots associated with the volume

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.NetApp.Models.Snapshot>> ListAsync (this Microsoft.Azure.Management.NetApp.ISnapshotsOperations operations, string resourceGroupName, string accountName, string poolName, string volumeName, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.NetApp.ISnapshotsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.NetApp.Models.Snapshot>>
<Extension()>
Public Function ListAsync (operations As ISnapshotsOperations, resourceGroupName As String, accountName As String, poolName As String, volumeName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of Snapshot))

Parameters

operations
ISnapshotsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

accountName
String

The name of the NetApp account

poolName
String

The name of the capacity pool

volumeName
String

The name of the volume

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

List all snapshots associated with the volume

Applies to