Share via


HDInsightClusterResource.GetClusterAvailableUpgrades Method

Definition

List a cluster available upgrade.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/availableUpgrades
  • Operation Id: ClusterAvailableUpgrades_List
  • Default Api Version: 2024-05-01-preview
public virtual Azure.Pageable<Azure.ResourceManager.HDInsight.Containers.Models.ClusterAvailableUpgrade> GetClusterAvailableUpgrades (System.Threading.CancellationToken cancellationToken = default);
abstract member GetClusterAvailableUpgrades : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HDInsight.Containers.Models.ClusterAvailableUpgrade>
override this.GetClusterAvailableUpgrades : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HDInsight.Containers.Models.ClusterAvailableUpgrade>
Public Overridable Function GetClusterAvailableUpgrades (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ClusterAvailableUpgrade)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to