IKubernetesClusters.ListKubernetesVersionsAsync Method

Definition

Returns the list of available Kubernetes versions available for the given Azure region.

public System.Threading.Tasks.Task<System.Collections.Generic.ISet<string>> ListKubernetesVersionsAsync (Microsoft.Azure.Management.ResourceManager.Fluent.Core.Region region, System.Threading.CancellationToken cancellationToken = default);
abstract member ListKubernetesVersionsAsync : Microsoft.Azure.Management.ResourceManager.Fluent.Core.Region * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.ISet<string>>
Public Function ListKubernetesVersionsAsync (region As Region, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ISet(Of String))

Parameters

region
Region

The Azure region to query into.

cancellationToken
CancellationToken

Returns

Applies to