Managed Clusters - List Kubernetes Versions
Gets a list of supported Kubernetes versions in the specified subscription.
Contains extra metadata on the version, including supported patch versions, capabilities, available upgrades, and details on preview status of the version
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/kubernetesVersions?api-version=2023-05-01
Name | In | Required | Type | Description |
---|---|---|---|---|
location
|
path | True |
string |
The name of Azure region. |
subscription
|
path | True |
string |
The ID of the target subscription. |
api-version
|
query | True |
string |
The API version to use for this operation. |
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
Error response describing why the operation failed. |
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Sample request
GET https://management.azure.com/subscriptions/subid1/providers/Microsoft.ContainerService/locations/location1/kubernetesVersions?api-version=2023-05-01
Sample response
{
"values": [
{
"version": "1.23",
"capabilities": {
"supportPlan": [
"KubernetesOfficial"
]
},
"patchVersions": {
"1.23.12": {
"upgrades": [
"1.23.15",
"1.24.6",
"1.24.9"
]
},
"1.23.15": {
"upgrades": [
"1.24.6",
"1.24.9"
]
}
}
},
{
"version": "1.24",
"capabilities": {
"supportPlan": [
"KubernetesOfficial"
]
},
"patchVersions": {
"1.24.6": {
"upgrades": [
"1.24.9",
"1.25.4",
"1.25.5"
]
},
"1.24.9": {
"upgrades": [
"1.25.4",
"1.25.5"
]
}
}
},
{
"version": "1.25",
"capabilities": {
"supportPlan": [
"KubernetesOfficial"
]
},
"patchVersions": {
"1.25.4": {
"upgrades": [
"1.25.5",
"1.26.0"
]
},
"1.25.5": {
"upgrades": [
"1.26.0"
]
}
}
},
{
"version": "1.26",
"capabilities": {
"supportPlan": [
"KubernetesOfficial"
]
},
"patchVersions": {
"1.26.0": {
"upgrades": []
}
}
}
]
}
Name | Description |
---|---|
Cloud |
An error response from the Container service. |
Cloud |
An error response from the Container service. |
Kubernetes |
Kubernetes patch version profile |
Kubernetes |
Different support tiers for AKS managed clusters |
Kubernetes |
Kubernetes version profile for given major.minor release. |
Kubernetes |
Capabilities on this Kubernetes version. |
Kubernetes |
Hold values properties, which is array of KubernetesVersion |
An error response from the Container service.
Name | Type | Description |
---|---|---|
error |
Details about the error. |
An error response from the Container service.
Name | Type | Description |
---|---|---|
code |
string |
An identifier for the error. Codes are invariant and are intended to be consumed programmatically. |
details |
A list of additional details about the error. |
|
message |
string |
A message describing the error, intended to be suitable for display in a user interface. |
target |
string |
The target of the particular error. For example, the name of the property in error. |
Kubernetes patch version profile
Name | Type | Description |
---|---|---|
upgrades |
string[] |
Possible upgrade path for given patch version |
Different support tiers for AKS managed clusters
Value | Description |
---|---|
AKSLongTermSupport |
Support for the version extended past the KubernetesOfficial support of 1 year. AKS continues to patch CVEs for another 1 year, for a total of 2 years of support. |
KubernetesOfficial |
Support for the version is the same as for the open source Kubernetes offering. Official Kubernetes open source community support versions for 1 year after release. |
Kubernetes version profile for given major.minor release.
Name | Type | Description |
---|---|---|
capabilities |
Capabilities on this Kubernetes version. |
|
isPreview |
boolean |
Whether this version is in preview mode. |
patchVersions |
<string,
Kubernetes |
Patch versions of Kubernetes release |
version |
string |
major.minor version of Kubernetes release |
Capabilities on this Kubernetes version.
Name | Type | Description |
---|---|---|
supportPlan |
Different support tiers for AKS managed clusters |
Hold values properties, which is array of KubernetesVersion
Name | Type | Description |
---|---|---|
values |
Array of AKS supported Kubernetes versions. |