Share via


ContainerServiceManagedClusterResource.GetAvailableAgentPoolVersionsAsync Method

Definition

See supported Kubernetes versions for more details about the version lifecycle.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/availableAgentPoolVersions
  • Operation Id: AgentPools_GetAvailableAgentPoolVersions
  • Default Api Version: 2023-10-01
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.Models.AgentPoolAvailableVersions>> GetAvailableAgentPoolVersionsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAvailableAgentPoolVersionsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.Models.AgentPoolAvailableVersions>>
override this.GetAvailableAgentPoolVersionsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.Models.AgentPoolAvailableVersions>>
Public Overridable Function GetAvailableAgentPoolVersionsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AgentPoolAvailableVersions))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to