Udostępnij za pośrednictwem


HDInsightClusterPoolResource.GetClusterPoolAvailableUpgradesAsync Method

Definition

List a cluster pool available upgrade.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to