HDInsightClusterResource.GetClusterAvailableUpgradesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.