共用方式為


Get-AzAksNodePool

列出指定叢集中的節點集區。

語法

Get-AzAksNodePool
   -ResourceGroupName <String>
   -ClusterName <String>
   [-Name <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [-SubscriptionId <String>]
   [<CommonParameters>]
Get-AzAksNodePool
   -Id <String>
   [-DefaultProfile <IAzureContextContainer>]
   [-SubscriptionId <String>]
   [<CommonParameters>]
Get-AzAksNodePool
   -ClusterObject <PSKubernetesCluster>
   [-Name <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [-SubscriptionId <String>]
   [<CommonParameters>]

Description

列出指定叢集中的節點集區。

範例

範例 1:取得指定叢集中的所有節點集區

Get-AzAksNodePool -ResourceGroupName myResourceGroup -ClusterName myCluster

參數

-ClusterName

受控叢集資源的名稱。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-ClusterObject

叢集物件。

類型:PSKubernetesCluster
Position:Named
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-DefaultProfile

用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。

類型:IAzureContextContainer
別名:AzContext, AzureRmContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Id

受控 Kubernetes 叢集中節點集區的標識碼

類型:String
別名:ResourceId
Position:Named
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-Name

節點集區的名稱。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ResourceGroupName

資源群組的名稱。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-SubscriptionId

訂用帳戶的標識碼。 根據預設,Cmdlet 會在目前內容中設定的訂用帳戶中執行。 如果使用者指定另一個訂用帳戶,則會在使用者指定的訂用帳戶中執行目前的 Cmdlet。 覆寫訂閱只會在目前 Cmdlet 的生命週期內生效。 它不會變更內容中的訂用帳戶,而且不會影響後續的 Cmdlet。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:True
接受萬用字元:False

輸入

輸出