Dela via


DiskAccessesOperationsExtensions.ListAsync Method

Definition

Lists all the disk access resources under a subscription.

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

Parameters

operations
IDiskAccessesOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to