StorageAccountsOperations.ListAsync(CancellationToken) 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 virtual Azure.AsyncPageable<Azure.ResourceManager.Storage.Models.StorageAccount> ListAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member ListAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Storage.Models.StorageAccount>
override this.ListAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Storage.Models.StorageAccount>
Public Overridable Function ListAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of StorageAccount)

Parameters

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

AsyncPageable<StorageAccount>

Applies to