ภาษา

MockableContainerServiceSubscriptionResource.GetNodeImageVersionsAsync Method

Definition

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.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/nodeImageVersions.
  • Operation Id. : ContainerServiceOperationGroup_ListNodeImageVersions.
  • Default Api Version. : 2026-08-02-preview.
public virtual Azure.AsyncPageable<Azure.ResourceManager.ContainerService.Models.ContainerServiceNodeImageVersion> GetNodeImageVersionsAsync(Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNodeImageVersionsAsync : Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ContainerService.Models.ContainerServiceNodeImageVersion>
override this.GetNodeImageVersionsAsync : Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ContainerService.Models.ContainerServiceNodeImageVersion>
Public Overridable Function GetNodeImageVersionsAsync (location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ContainerServiceNodeImageVersion)

Parameters

location
AzureLocation

The name of the Azure region.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of ContainerServiceNodeImageVersion that may take multiple service requests to iterate over.

Applies to