Describe the bug
Previously it was so easy to find the current default AKS version supported by Azure using following query:
az aks get-versions -l westeurope | jq -r '.orchestrators[] | select(.default == true).orchestratorVersion'
But now, since 2.50.0 we get this monster:
{
"values": [
{
"capabilities": {
"supportPlan": [
"KubernetesOfficial",
"AKSLongTermSupport"
]
},
"isPreview": null,
"patchVersions": {
"1.27.1": {
"upgrades": [
"1.27.3"
]
},
"1.27.3": {
"upgrades": []
}
},
"version": "1.27"
},
{
"capabilities": {
"supportPlan": [
"KubernetesOfficial"
]
},
"isPreview": null,
"patchVersions": {
"1.26.3": {
"upgrades": [
"1.26.6",
"1.27.3",
"1.27.1"
]
},
"1.26.6": {
"upgrades": [
"1.27.3",
"1.27.1"
]
}
},
"version": "1.26"
},
{
"capabilities": {
"supportPlan": [
"KubernetesOfficial"
]
},
"isPreview": null,
"patchVersions": {
"1.25.11": {
"upgrades": [
"1.26.6",
"1.26.3"
]
},
"1.25.6": {
"upgrades": [
"1.26.6",
"1.26.3",
"1.25.11"
]
}
},
"version": "1.25"
}
]
}
which was announced with this tiny remark:

Related command
az aks get-versions -l westeurope
Errors
none
Issue script & Debug output
az aks get-versions -l westeurope
Expected behavior
it would be great to have a less complex json output where someone can get the default version easier, as it was before the change
Environment Summary
azure-cli 2.50.0 *
core 2.50.0 *
telemetry 1.0.8 *
Extensions:
authV2 0.1.2
automation 0.2.1
azure-devops 0.26.0
bastion 0.2.4
interactive 0.5.1
log-analytics-solution 0.1.1
ssh 1.1.6
Dependencies:
msal 1.22.0
azure-mgmt-resource 23.1.0b2
Additional context
No response
Describe the bug
Previously it was so easy to find the current default AKS version supported by Azure using following query:
az aks get-versions -l westeurope | jq -r '.orchestrators[] | select(.default == true).orchestratorVersion'But now, since 2.50.0 we get this monster:
which was announced with this tiny remark:

Related command
az aks get-versions -l westeurope
Errors
none
Issue script & Debug output
az aks get-versions -l westeurope
Expected behavior
it would be great to have a less complex json output where someone can get the default version easier, as it was before the change
Environment Summary
azure-cli 2.50.0 *
core 2.50.0 *
telemetry 1.0.8 *
Extensions:
authV2 0.1.2
automation 0.2.1
azure-devops 0.26.0
bastion 0.2.4
interactive 0.5.1
log-analytics-solution 0.1.1
ssh 1.1.6
Dependencies:
msal 1.22.0
azure-mgmt-resource 23.1.0b2
Additional context
No response