MockableNetAppSubscriptionResource.GetNetAppElasticAccountsAsync Method

Definition

List and describe all NetApp elastic accounts in the subscription.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of NetAppElasticAccountResource that may take multiple service requests to iterate over.

Applies to