Share via


StorageAccountsOperationsExtensions.ListByResourceGroupAsync Method

Definition

Lists all the storage accounts available under the given resource group. 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>> ListByResourceGroupAsync (this Microsoft.Azure.Management.Storage.IStorageAccountsOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListByResourceGroupAsync : Microsoft.Azure.Management.Storage.IStorageAccountsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Storage.Models.StorageAccount>>
<Extension()>
Public Function ListByResourceGroupAsync (operations As IStorageAccountsOperations, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of StorageAccount))

Parameters

operations
IStorageAccountsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group within the user's subscription. The name is case insensitive.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to