Get-AzAksVersion
列出建立受控 Kubernetes 叢集的可用版本。 此作業會傳回每個協調器的屬性,包括版本、可用的升級,以及該版本或升級是否處於預覽狀態。
Syntax
Get-AzAksVersion
-Location <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
列出建立受控 Kubernetes 叢集的可用版本。 此作業會傳回每個協調器的屬性,包括版本、可用的升級,以及該版本或升級是否處於預覽狀態。
範例
範例 1:列出建立受控 Kubernetes 叢集的可用版本
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
列出建立受控 Kubernetes 叢集的可用版本。
參數
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Location
支援的 Azure 區域名稱。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
可唯一識別 Microsoft Azure 訂用帳戶的訂用帳戶認證。 訂用帳戶識別碼會構成每個服務呼叫 URI 的一部分。
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
輸出
IOrchestratorVersionProfileListResult
備註
別名