DisksOperations.ListAsync(CancellationToken) Method

Definition

Lists all the disks under a subscription.

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

Parameters

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

AsyncPageable<Disk>

Applies to