Share via


HDInsightClusterPoolCollection.GetAllAsync(CancellationToken) Method

Definition

Lists the HDInsight cluster pools under a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools
  • Operation Id: ClusterPools_ListByResourceGroup
  • Default Api Version: 2024-05-01-preview
  • Resource: HDInsightClusterPoolResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.HDInsight.Containers.HDInsightClusterPoolResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HDInsight.Containers.HDInsightClusterPoolResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HDInsight.Containers.HDInsightClusterPoolResource>
Public Overridable Function GetAllAsync (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