Share via


StorageAccountsOperationsExtensions.ListAsync Method

Definition

Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this.

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

Parameters

operations
IStorageAccountsOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to