@@ -14,30 +14,33 @@ Update or create a managed Kubernetes cluster.
14
14
15
15
### defaultParameterSet (Default)
16
16
```
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>]
23
24
```
24
25
25
26
### InputObjectParameterSet
26
27
```
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>]
32
34
```
33
35
34
36
### IdParameterSet
35
37
```
36
- Set-AzAksCluster [-NodePoolMode <String>] [-Id] <String> [-Location <String>]
38
+ Set-AzAksCluster [-NodePoolMode <String>] [-AcrNameToDetach <String>] [- Id] <String> [-Location <String>]
37
39
[-LinuxProfileAdminUserName <String>] [-DnsNamePrefix <String>] [-KubernetesVersion <String>]
38
40
[-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>]
41
44
```
42
45
43
46
## DESCRIPTION
@@ -54,6 +57,36 @@ Set the number of nodes in the Kubernetes cluster to 5.
54
57
55
58
## PARAMETERS
56
59
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
+
57
90
### -AsJob
58
91
Run cmdlet in the background
59
92
0 commit comments