Skip to content

Commit 1ca280f

Browse files
committed
Update the document
1 parent e79384a commit 1ca280f

File tree

3 files changed

+58
-25
lines changed

3 files changed

+58
-25
lines changed

src/Aks/Aks/help/Az.Aks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Enable the addons for aks.
2121
List Kubernetes managed clusters.
2222

2323
### [Get-AzAksNodePool](Get-AzAksNodePool.md)
24-
Create node pool in specified cluster.
24+
List node pools in specified cluster.
2525

2626
### [Get-AzAksVersion](Get-AzAksVersion.md)
2727
List available version for creating managed Kubernetes cluster.

src/Aks/Aks/help/New-AzAksCluster.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ Create a new managed Kubernetes cluster.
1313
## SYNTAX
1414

1515
```
16-
New-AzAksCluster [-Force] [-GenerateSshKey] [-NodeVmSetType <String>] [-NodeVnetSubnetID <String>]
17-
[-NodeMaxPodCount <Int32>] [-NodeSetPriority <String>] [-NodePoolMode <String>]
18-
[-NodeScaleSetEvictionPolicy <String>] [-AddOnNameToBeEnabled <String[]>] [-WorkspaceResourceId <String>]
19-
[-SubnetName <String>] [-AcrNameToAttach <String>] [-EnableRbac] [-WindowsProfileAdminUserName <String>]
20-
[-WindowsProfileAdminUserPassword <SecureString>] [-NetworkPlugin <String>] [-LoadBalancerSku <String>]
21-
[-ResourceGroupName] <String> [-Name] <String> [[-ServicePrincipalIdAndSecret] <PSCredential>]
22-
[-Location <String>] [-LinuxProfileAdminUserName <String>] [-DnsNamePrefix <String>]
23-
[-KubernetesVersion <String>] [-NodeName <String>] [-NodeMinCount <Int32>] [-NodeMaxCount <Int32>]
24-
[-EnableNodeAutoScaling] [-NodeCount <Int32>] [-NodeOsDiskSize <Int32>] [-NodeVmSize <String>]
25-
[-SshKeyValue <String>] [-AsJob] [-Tag <Hashtable>] [-DefaultProfile <IAzureContextContainer>] [-WhatIf]
16+
New-AzAksCluster [-NodeVmSetType <String>] [-NodeVnetSubnetID <String>] [-NodeMaxPodCount <Int32>]
17+
[-NodeSetPriority <String>] [-NodePoolMode <String>] [-NodeScaleSetEvictionPolicy <String>]
18+
[-AddOnNameToBeEnabled <String[]>] [-WorkspaceResourceId <String>] [-SubnetName <String>] [-EnableRbac]
19+
[-WindowsProfileAdminUserName <String>] [-WindowsProfileAdminUserPassword <SecureString>]
20+
[-NetworkPlugin <String>] [-LoadBalancerSku <String>] [-Force] [-GenerateSshKey] [-ResourceGroupName] <String>
21+
[-Name] <String> [[-ServicePrincipalIdAndSecret] <PSCredential>] [-Location <String>]
22+
[-LinuxProfileAdminUserName <String>] [-DnsNamePrefix <String>] [-KubernetesVersion <String>]
23+
[-NodeName <String>] [-NodeMinCount <Int32>] [-NodeMaxCount <Int32>] [-EnableNodeAutoScaling]
24+
[-NodeCount <Int32>] [-NodeOsDiskSize <Int32>] [-NodeVmSize <String>] [-SshKeyValue <String>]
25+
[-AcrNameToAttach <String>] [-AsJob] [-Tag <Hashtable>] [-DefaultProfile <IAzureContextContainer>] [-WhatIf]
2626
[-Confirm] [<CommonParameters>]
2727
```
2828

src/Aks/Aks/help/Set-AzAksCluster.md

Lines changed: 47 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,30 +14,33 @@ Update or create a managed Kubernetes cluster.
1414

1515
### defaultParameterSet (Default)
1616
```
17-
Set-AzAksCluster [-NodePoolMode <String>] [-ResourceGroupName] <String> [-Name] <String>
18-
[[-ServicePrincipalIdAndSecret] <PSCredential>] [-Location <String>] [-LinuxProfileAdminUserName <String>]
19-
[-DnsNamePrefix <String>] [-KubernetesVersion <String>] [-NodeName <String>] [-NodeMinCount <Int32>]
20-
[-NodeMaxCount <Int32>] [-EnableNodeAutoScaling] [-NodeCount <Int32>] [-NodeOsDiskSize <Int32>]
21-
[-NodeVmSize <String>] [-SshKeyValue <String>] [-AsJob] [-Tag <Hashtable>]
22-
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
17+
Set-AzAksCluster [-NodePoolMode <String>] [-AcrNameToDetach <String>] [-ResourceGroupName] <String>
18+
[-Name] <String> [[-ServicePrincipalIdAndSecret] <PSCredential>] [-Location <String>]
19+
[-LinuxProfileAdminUserName <String>] [-DnsNamePrefix <String>] [-KubernetesVersion <String>]
20+
[-NodeName <String>] [-NodeMinCount <Int32>] [-NodeMaxCount <Int32>] [-EnableNodeAutoScaling]
21+
[-NodeCount <Int32>] [-NodeOsDiskSize <Int32>] [-NodeVmSize <String>] [-SshKeyValue <String>]
22+
[-AcrNameToAttach <String>] [-AsJob] [-Tag <Hashtable>] [-DefaultProfile <IAzureContextContainer>] [-WhatIf]
23+
[-Confirm] [<CommonParameters>]
2324
```
2425

2526
### InputObjectParameterSet
2627
```
27-
Set-AzAksCluster -InputObject <PSKubernetesCluster> [-NodePoolMode <String>] [-Location <String>]
28-
[-LinuxProfileAdminUserName <String>] [-DnsNamePrefix <String>] [-KubernetesVersion <String>]
29-
[-NodeName <String>] [-NodeMinCount <Int32>] [-NodeMaxCount <Int32>] [-EnableNodeAutoScaling]
30-
[-NodeCount <Int32>] [-NodeOsDiskSize <Int32>] [-NodeVmSize <String>] [-SshKeyValue <String>] [-AsJob]
31-
[-Tag <Hashtable>] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
28+
Set-AzAksCluster -InputObject <PSKubernetesCluster> [-NodePoolMode <String>] [-AcrNameToDetach <String>]
29+
[-Location <String>] [-LinuxProfileAdminUserName <String>] [-DnsNamePrefix <String>]
30+
[-KubernetesVersion <String>] [-NodeName <String>] [-NodeMinCount <Int32>] [-NodeMaxCount <Int32>]
31+
[-EnableNodeAutoScaling] [-NodeCount <Int32>] [-NodeOsDiskSize <Int32>] [-NodeVmSize <String>]
32+
[-SshKeyValue <String>] [-AcrNameToAttach <String>] [-AsJob] [-Tag <Hashtable>]
33+
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
3234
```
3335

3436
### IdParameterSet
3537
```
36-
Set-AzAksCluster [-NodePoolMode <String>] [-Id] <String> [-Location <String>]
38+
Set-AzAksCluster [-NodePoolMode <String>] [-AcrNameToDetach <String>] [-Id] <String> [-Location <String>]
3739
[-LinuxProfileAdminUserName <String>] [-DnsNamePrefix <String>] [-KubernetesVersion <String>]
3840
[-NodeName <String>] [-NodeMinCount <Int32>] [-NodeMaxCount <Int32>] [-EnableNodeAutoScaling]
39-
[-NodeCount <Int32>] [-NodeOsDiskSize <Int32>] [-NodeVmSize <String>] [-SshKeyValue <String>] [-AsJob]
40-
[-Tag <Hashtable>] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
41+
[-NodeCount <Int32>] [-NodeOsDiskSize <Int32>] [-NodeVmSize <String>] [-SshKeyValue <String>]
42+
[-AcrNameToAttach <String>] [-AsJob] [-Tag <Hashtable>] [-DefaultProfile <IAzureContextContainer>] [-WhatIf]
43+
[-Confirm] [<CommonParameters>]
4144
```
4245

4346
## DESCRIPTION
@@ -54,6 +57,36 @@ Set the number of nodes in the Kubernetes cluster to 5.
5457

5558
## PARAMETERS
5659

60+
### -AcrNameToAttach
61+
Grant the 'acrpull' role of the specified ACR to AKS Service Principal, e.g. myacr
62+
63+
```yaml
64+
Type: System.String
65+
Parameter Sets: (All)
66+
Aliases:
67+
68+
Required: False
69+
Position: Named
70+
Default value: None
71+
Accept pipeline input: False
72+
Accept wildcard characters: False
73+
```
74+
75+
### -AcrNameToDetach
76+
Disable the 'acrpull' role assignment to the ACR specified by name or resource ID, e.g. myacr
77+
78+
```yaml
79+
Type: System.String
80+
Parameter Sets: (All)
81+
Aliases:
82+
83+
Required: False
84+
Position: Named
85+
Default value: None
86+
Accept pipeline input: False
87+
Accept wildcard characters: False
88+
```
89+
5790
### -AsJob
5891
Run cmdlet in the background
5992

0 commit comments

Comments
 (0)