DisksOperationsExtensions.ListAsync Method

Definition

Lists all the disks under a subscription.

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

Parameters

operations
IDisksOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to