MockableHDInsightContainersSubscriptionResource.GetHDInsightClusterPools 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.Pageable<Azure.ResourceManager.HDInsight.Containers.HDInsightClusterPoolResource> GetHDInsightClusterPools (System.Threading.CancellationToken cancellationToken = default);
abstract member GetHDInsightClusterPools : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HDInsight.Containers.HDInsightClusterPoolResource>
override this.GetHDInsightClusterPools : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HDInsight.Containers.HDInsightClusterPoolResource>
Public Overridable Function GetHDInsightClusterPools (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of HDInsightClusterPoolResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to