Share via


Container Service - List Node Image Versions

Gets a list of supported NodeImage versions in the specified subscription.
Only returns the latest version of each node image. For example there may be an AKSUbuntu-1804gen2containerd-2024.01.26, but only AKSUbuntu-1804gen2containerd-2024.02.02 is visible in this list.

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/nodeImageVersions?api-version=2025-05-02-preview

URI Parameters

Name In Required Type Description
location
path True

string

minLength: 1

The name of the Azure region.

subscriptionId
path True

string (uuid)

The ID of the target subscription. The value must be an UUID.

api-version
query True

string

minLength: 1

The API version to use for this operation.

Responses

Name Type Description
200 OK

NodeImageVersionsListResult

OK

Other Status Codes

CloudError

Error response describing why the operation failed.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

List Node Image Versions

Sample request

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/location1/nodeImageVersions?api-version=2025-05-02-preview

Sample response

{
  "value": [
    {
      "fullName": "AKSCBLMariner-V1-202308.28.0",
      "os": "AKSCBLMariner",
      "sku": "V1",
      "version": "202308.28.0"
    },
    {
      "fullName": "AKSUbuntu-2204gen2minimalcontainerd-202401.12.0",
      "os": "AKSUbuntu",
      "sku": "2204gen2minimalcontainerd",
      "version": "202401.12.0"
    }
  ]
}

Definitions

Name Description
CloudError

An error response from the Container service.

CloudErrorBody

An error response from the Container service.

NodeImageVersion

node image version profile for given major.minor.patch release.

NodeImageVersionsListResult

Holds an array NodeImageVersions

CloudError

An error response from the Container service.

Name Type Description
error

CloudErrorBody

Details about the error.

CloudErrorBody

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

CloudErrorBody[]

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.

NodeImageVersion

node image version profile for given major.minor.patch release.

Name Type Description
fullName

string

The OS + SKU + version of the node image. Example: AKSUbuntu-1804gen2containerd-2024.02.02

os

string

The operating system of the node image. Example: AKSUbuntu

sku

string

The SKU or flavor of the node image. Example: 2004gen2containerd

version

string

major.minor.patch version of the node image version release. Example: 2024.02.02

NodeImageVersionsListResult

Holds an array NodeImageVersions

Name Type Description
nextLink

string (uri)

The URL to get the next set of machine results.

value

NodeImageVersion[]

Array of AKS Node Image versions.