DisksOperationsExtensions.ListAsync(IDisksOperations, CancellationToken) DisksOperationsExtensions.ListAsync(IDisksOperations, CancellationToken) Method

Definition

Lists all the disks under a subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.Disk>> ListAsync (this Microsoft.Azure.Management.Compute.IDisksOperations operations, System.Threading.CancellationToken cancellationToken = null);
static member ListAsync : Microsoft.Azure.Management.Compute.IDisksOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.Disk>>

Parameters

operations
IDisksOperations IDisksOperations

The operations group for this extension method.

cancellationToken
CancellationToken CancellationToken

The cancellation token.

Returns

Task<Microsoft.Rest.Azure.IPage<Disk>>

Applies to