StorageSubscriptionMockingExtension.GetStorageAccountsAsync 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 subscription. Note that storage keys are not returned; use the ListKeys operation for this.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts
- Operation Id: StorageAccounts_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.Storage.StorageAccountResource> GetStorageAccountsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetStorageAccountsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Storage.StorageAccountResource>
override this.GetStorageAccountsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Storage.StorageAccountResource>
Public Overridable Function GetStorageAccountsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of StorageAccountResource)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of StorageAccountResource that may take multiple service requests to iterate over.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET