Share via


DiskEncryptionSetsOperationsExtensions.ListAsync Method

Definition

Lists all the disk encryption sets under a subscription.

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

Parameters

operations
IDiskEncryptionSetsOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to