Share via


HDInsightContainersExtensions.GetHDInsightClusterPools Method

Definition

Overloads

GetHDInsightClusterPools(ResourceGroupResource)

Gets a collection of HDInsightClusterPoolResources in the ResourceGroupResource. MockingTo mock this method, please mock GetHDInsightClusterPools() instead.

GetHDInsightClusterPools(SubscriptionResource, CancellationToken)

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

GetHDInsightClusterPools(ResourceGroupResource)

Source:
HDInsightContainersExtensions.cs

Gets a collection of HDInsightClusterPoolResources in the ResourceGroupResource. MockingTo mock this method, please mock GetHDInsightClusterPools() instead.

public static Azure.ResourceManager.HDInsight.Containers.HDInsightClusterPoolCollection GetHDInsightClusterPools (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetHDInsightClusterPools : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.HDInsight.Containers.HDInsightClusterPoolCollection
<Extension()>
Public Function GetHDInsightClusterPools (resourceGroupResource As ResourceGroupResource) As HDInsightClusterPoolCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of HDInsightClusterPoolResources and their operations over a HDInsightClusterPoolResource.

Exceptions

resourceGroupResource is null.

Applies to

GetHDInsightClusterPools(SubscriptionResource, CancellationToken)

Source:
HDInsightContainersExtensions.cs

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 static Azure.Pageable<Azure.ResourceManager.HDInsight.Containers.HDInsightClusterPoolResource> GetHDInsightClusterPools (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetHDInsightClusterPools : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HDInsight.Containers.HDInsightClusterPoolResource>
<Extension()>
Public Function GetHDInsightClusterPools (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of HDInsightClusterPoolResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to