Get-AzAksVersion
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>]
[<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
-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
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Location
The name of a supported Azure region.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-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
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
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.