Udostępnij za pośrednictwem


HDInsightClusterResource.GetClusterAvailableUpgradesAsync 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.AsyncPageable<Azure.ResourceManager.HDInsight.Containers.Models.ClusterAvailableUpgrade> GetClusterAvailableUpgradesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetClusterAvailableUpgradesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HDInsight.Containers.Models.ClusterAvailableUpgrade>
override this.GetClusterAvailableUpgradesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HDInsight.Containers.Models.ClusterAvailableUpgrade>
Public Overridable Function GetClusterAvailableUpgradesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ClusterAvailableUpgrade)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to