azure-sdk-for-go: armcontainerservice/managedclusters - Get-Version function / method for AKS is missing

Bug Report

currently, there is no Function to receive the available AKS versions, a command that is available in a simple CLI command. az aks get-versions --location eastus --output table

i would expect to see a command (or set of them) that supports commands that are available in the CLI: https://learn.microsoft.com/en-us/azure/aks/supported-kubernetes-versions?tabs=azure-cli

this is not a feature nor a bug, but it’s closer to a bug than a feature as it is something already supported by API and other Azure tools.

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 15 (4 by maintainers)

Most upvoted comments

@tadelesh, could you help to check?

Is there a timeline when we can expect this to be available in Go Sdk?. Thank you

Hi @AdamRussak I use the --debug flag to see which request the azure cli command line is sending while processing your argument (you could also have a try, just append --debug to your command line) It is using this API: https://github.com/Azure/azure-rest-api-specs/blob/41caa3033eefe466ee5254431ff586968f7e6841/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-08-01/location.json#L37 And this API is not included in the our SDK. We will follow up with the container service team to include this API in the next version cc @lirenhe and @Alancere for awareness