Share via


HDInsightClusterCollection.GetAll(CancellationToken) Method

Definition

Lists the HDInsight clusters in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters
  • Operation Id: Clusters_ListByResourceGroup
  • Default Api Version: 2024-08-01-preview
  • Resource: HDInsightClusterResource
public virtual Azure.Pageable<Azure.ResourceManager.HDInsight.HDInsightClusterResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HDInsight.HDInsightClusterResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HDInsight.HDInsightClusterResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of HDInsightClusterResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to