Share via


HDInsightClusterResource.GetClusterUpgradeHistoriesAsync Method

Definition

Returns a list of upgrade history.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ClusterUpgradeHistory that may take multiple service requests to iterate over.

Applies to