StorageAccountsOperationsExtensions.ListByResourceGroupAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.StorageAccount>> ListByResourceGroupAsync (this Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.IStorageAccountsOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListByResourceGroupAsync : Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.IStorageAccountsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.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.