DisksOperations.List(CancellationToken) Method

Definition

Lists all the disks under a subscription.

public virtual Azure.Pageable<Azure.ResourceManager.Compute.Models.Disk> List (System.Threading.CancellationToken cancellationToken = default);
abstract member List : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Compute.Models.Disk>
override this.List : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Compute.Models.Disk>
Public Overridable Function List (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of Disk)

Parameters

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

Pageable<Disk>

Applies to