Get-AzAksArcNodepool
Gets the specified agent pool in the provisioned cluster
Syntax
Get-AzAksArcNodepool
-ClusterName <String>
-ResourceGroupName <String>
[-SubscriptionId <String>]
[<CommonParameters>]
Get-AzAksArcNodepool
-ClusterName <String>
-ResourceGroupName <String>
[-SubscriptionId <String>]
-Name <String>
[<CommonParameters>]
Get-AzAksArcNodepool
-ClusterName <String>
-ResourceGroupName <String>
[-SubscriptionId <String>]
-InputObject <IAksArcIdentity>
[<CommonParameters>]
Description
Gets the specified agent pool in the provisioned cluster
Examples
Example 1: Get all nodepools in a provisioned cluster.
Get-AzAksArcNodepool -ClusterName azps_test_cluster -ResourceGroupName azps_test_group
Name ResourceGroupName
---- -----------------
azps_test_nodepool1 azps_test_group
azps_test_nodepool2 azps_test_group
This command gets the provisioned cluster's nodepools.
Example 2: Get a specific nodepool in a provisioned cluster.
Get-AzAksArcNodepool -ClusterName azps_test_cluster -ResourceGroupName azps_test_group -Name azps_test_nodepool1
This command gets the specified provisioned cluster nodepool.
Parameters
-ClusterName
The name of the Kubernetes cluster on which get is called.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Identity Parameter
Type: | IAksArcIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
Parameter for the name of the agent pool in the provisioned cluster.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
The name of the resource group. The name is case insensitive.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
The ID of the target subscription.
Type: | String |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Outputs
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.