Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Get-AzAksVersion

Module:
Az.Aks Module

List available version for creating managed Kubernetes cluster. The operation returns properties of each orchestrator including version, available upgrades and whether that version or upgrades are in preview.

Syntax

Default (Default)

Get-AzAksVersion
 -Location <String>
 [-SubscriptionId <String[]>]
 [-DefaultProfile <PSObject>]
 [-Break]
 [-HttpPipelineAppend <SendAsyncStep[]>]
 [-HttpPipelinePrepend <SendAsyncStep[]>]
 [-Proxy <Uri>]
 [-ProxyCredential <PSCredential>]
 [-ProxyUseDefaultCredentials]
 [<CommonParameters>]

Description

List available version for creating managed Kubernetes cluster. The operation returns properties of each orchestrator including version, available upgrades and whether that version or upgrades are in preview.

Examples

Example 1: List available version for creating managed Kubernetes cluster

Get-AzAksVersion -location eastus
Default IsPreview OrchestratorType OrchestratorVersion
------- --------- ---------------- -------------------
 Kubernetes 1.19.11
 Kubernetes 1.19.13
 Kubernetes 1.20.7
True Kubernetes 1.20.9
 Kubernetes 1.21.1
 Kubernetes 1.21.2
 True Kubernetes 1.22.1
 True Kubernetes 1.22.2

List available version for creating managed Kubernetes cluster.

Parameters

-Break

Wait for .NET debugger to attach

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Parameter properties

Type:PSObject
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzureRMContext, AzureCredential

Parameter sets

-HttpPipelineAppend

SendAsync Pipeline Steps to be appended to the front of the pipeline

Parameter properties

Type:

SendAsyncStep[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-HttpPipelinePrepend

SendAsync Pipeline Steps to be prepended to the front of the pipeline

Parameter properties

Type:

SendAsyncStep[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-Location

The name of a supported Azure region.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-Proxy

The URI for the proxy server to use

Parameter properties

Type:Uri
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-ProxyCredential

Credentials for a proxy server to use for the remote call

Parameter properties

Type:PSCredential
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-ProxyUseDefaultCredentials

Use the default credentials for the proxy

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

-SubscriptionId

Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Parameter properties

Type:

String[]

Default value:(Get-AzContext).Subscription.Id
Supports wildcards:False
DontShow:False

Parameter sets

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

IOrchestratorVersionProfileListResult


Feedback

Was this page helpful?