MockableHDInsightContainersSubscriptionResource.GetHDInsightClusterPoolsAsync Method

Definition

Gets the list of Cluster Pools within a Subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/clusterpools
  • Operation Id: ClusterPools_ListBySubscription
  • Default Api Version: 2024-05-01-preview
  • Resource: HDInsightClusterPoolResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.HDInsight.Containers.HDInsightClusterPoolResource> GetHDInsightClusterPoolsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetHDInsightClusterPoolsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HDInsight.Containers.HDInsightClusterPoolResource>
override this.GetHDInsightClusterPoolsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HDInsight.Containers.HDInsightClusterPoolResource>
Public Overridable Function GetHDInsightClusterPoolsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of HDInsightClusterPoolResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to