Share via


MockableElasticSanSubscriptionResource.GetElasticSansAsync Method

Definition

Gets a list of ElasticSans in a subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ElasticSan/elasticSans
  • Operation Id: ElasticSans_ListBySubscription
  • Default Api Version: 2024-06-01-preview
  • Resource: ElasticSanResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ElasticSan.ElasticSanResource> GetElasticSansAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetElasticSansAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ElasticSan.ElasticSanResource>
override this.GetElasticSansAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ElasticSan.ElasticSanResource>
Public Overridable Function GetElasticSansAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ElasticSanResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ElasticSanResource that may take multiple service requests to iterate over.

Applies to