MockableHDInsightSubscriptionResource.GetHDInsightClusters Method

Definition

Lists all the HDInsight clusters under the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/clusters
  • Operation Id: Clusters_List
public virtual Azure.Pageable<Azure.ResourceManager.HDInsight.HDInsightClusterResource> GetHDInsightClusters (System.Threading.CancellationToken cancellationToken = default);
abstract member GetHDInsightClusters : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HDInsight.HDInsightClusterResource>
override this.GetHDInsightClusters : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HDInsight.HDInsightClusterResource>
Public Overridable Function GetHDInsightClusters (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