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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET