共用方式為


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<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Storage.Fluent.Models.StorageAccountInner>> ListByResourceGroupAsync (this Microsoft.Azure.Management.Storage.Fluent.IStorageAccountsOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListByResourceGroupAsync : Microsoft.Azure.Management.Storage.Fluent.IStorageAccountsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.Storage.Fluent.Models.StorageAccountInner>>
<Extension()>
Public Function ListByResourceGroupAsync (operations As IStorageAccountsOperations, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of StorageAccountInner))

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