Bagikan melalui


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

Parameters

operations
IStorageAccountsOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to