MockableNetAppSubscriptionResource.GetNetAppAccountsAsync Method

Definition

List and describe all NetApp accounts in the subscription.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.NetApp/netAppAccounts.
  • Operation Id. : NetAppAccounts_ListBySubscription.
  • Default Api Version. : 2026-04-01.
public virtual Azure.AsyncPageable<Azure.ResourceManager.NetApp.NetAppAccountResource> GetNetAppAccountsAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetAppAccountsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NetApp.NetAppAccountResource>
override this.GetNetAppAccountsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NetApp.NetAppAccountResource>
Public Overridable Function GetNetAppAccountsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of NetAppAccountResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

AsyncPageable<Azure.ResourceManager.NetApp.NetAppAccountResource>

A collection of Azure.ResourceManager.NetApp.NetAppAccountResource that may take multiple service requests to iterate over.

Applies to