StorageAccountsOperations.ListByResourceGroupAsync(String, CancellationToken) 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 virtual Azure.AsyncPageable<Azure.ResourceManager.Storage.Models.StorageAccount> ListByResourceGroupAsync (string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByResourceGroupAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Storage.Models.StorageAccount>
override this.ListByResourceGroupAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Storage.Models.StorageAccount>
Public Overridable Function ListByResourceGroupAsync (resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of StorageAccount)
Parameters
- resourceGroupName
- System.String
The name of the resource group within the user's subscription. The name is case insensitive.
- cancellationToken
- System.Threading.CancellationToken
The cancellation token to use.
Returns
Exceptions
System.ArgumentNullException
resourceGroupName
is null.