Skip to content

Commit 216edce

Browse files
authored
[ConnectedKubernetes] Update cmdlets custom logic (Azure#27610)
1 parent f3aad2b commit 216edce

File tree

11 files changed

+78
-160
lines changed

11 files changed

+78
-160
lines changed

src/ConnectedKubernetes/ConnectedKubernetes.Autorest/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,3 @@
2525
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
2626
[assembly: System.CLSCompliantAttribute(false)]
2727

28-
29-
30-
31-
32-

src/ConnectedKubernetes/ConnectedKubernetes.Autorest/custom/New-AzConnectedKubernetes.ps1

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,6 @@ function New-AzConnectedKubernetes {
179179
# The Kubernetes distribution version on this connected cluster.
180180
${DistributionVersion},
181181

182-
[Parameter()]
183-
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Category('Body')]
184-
[System.Management.Automation.SwitchParameter]
185-
# Determines whether to enable a system-assigned identity for the resource.
186-
${EnableSystemAssignedIdentity},
187-
188182
[Parameter()]
189183
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Category('Body')]
190184
[System.Management.Automation.SwitchParameter]
@@ -419,8 +413,8 @@ function New-AzConnectedKubernetes {
419413
if ($PSBoundParameters.ContainsKey('CustomLocationsOid')) {
420414
$Null = $PSBoundParameters.Remove('CustomLocationsOid')
421415
}
422-
$IdentityType = [Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Support.ResourceIdentityType]::SystemAssigned
423-
$PSBoundParameters.Add('IdentityType', $IdentityType)
416+
417+
$PSBoundParameters.Add('EnableSystemAssignedIdentity', $true)
424418

425419
#Region check helm install
426420
Confirm-HelmVersion `

src/ConnectedKubernetes/ConnectedKubernetes.Autorest/custom/Set-AzConnectedKubernetes.ps1

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,6 @@ function Set-AzConnectedKubernetes {
124124
# The ID of the target subscription.
125125
${SubscriptionId},
126126

127-
[Parameter(Mandatory)]
128-
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Category('Body')]
129-
[System.Nullable[System.Boolean]]
130-
# Determines whether to enable a system-assigned identity for the resource.
131-
${EnableSystemAssignedIdentity},
132-
133127
[Parameter()]
134128
[AllowEmptyCollection()]
135129
[Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Category('Body')]
@@ -486,8 +480,8 @@ function Set-AzConnectedKubernetes {
486480
if ($PSBoundParameters.ContainsKey('CustomLocationsOid')) {
487481
$Null = $PSBoundParameters.Remove('CustomLocationsOid')
488482
}
489-
$IdentityType = [Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Support.ResourceIdentityType]::SystemAssigned
490-
$PSBoundParameters.Add('IdentityType', $IdentityType)
483+
484+
$PSBoundParameters.Add('EnableSystemAssignedIdentity', $true)
491485

492486
#Region check helm install
493487
Confirm-HelmVersion `

src/ConnectedKubernetes/ConnectedKubernetes.Autorest/docs/Az.ConnectedKubernetes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Az.ConnectedKubernetes
3-
Module Guid: 5b973386-ae22-4e1f-84d7-369b3bd2c6cb
3+
Module Guid: 5315c06e-9f53-42b3-9258-9bb3cecbc7a6
44
Download Help Link: https://learn.microsoft.com/powershell/module/az.connectedkubernetes
55
Help Version: 1.0.0.0
66
Locale: en-US

src/ConnectedKubernetes/ConnectedKubernetes.Autorest/docs/New-AzConnectedKubernetes.md

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,13 @@ New-AzConnectedKubernetes -ClusterName <String> -ResourceGroupName <String> -Loc
1919
[-AadProfileAdminGroupObjectID <String[]>] [-AadProfileEnableAzureRbac] [-AadProfileTenantId <String>]
2020
[-AcceptEULA] [-ArcAgentProfileAgentError <IAgentError[]>] [-ArcAgentProfileDesiredAgentVersion <String>]
2121
[-ArcAgentProfileSystemComponent <ISystemComponent[]>] [-AzureHybridBenefit <String>]
22-
[-CustomLocationsOid <String>] [-Distribution <String>] [-DistributionVersion <String>]
23-
[-EnableSystemAssignedIdentity] [-GatewayEnabled] [-Infrastructure <String>] [-Kind <String>]
24-
[-KubeConfig <String>] [-KubeContext <String>] [-OidcIssuerProfileEnabled]
25-
[-OidcIssuerProfileSelfHostedIssuerUrl <String>] [-PrivateLinkScopeResourceId <String>]
26-
[-PrivateLinkState <String>] [-ProvisioningState <String>] [-Tag <Hashtable>] [-WorkloadIdentityEnabled]
27-
[-DefaultProfile <PSObject>] [-AsJob] [-ConfigurationProtectedSetting <Hashtable>]
28-
[-ConfigurationSetting <Hashtable>] [-GatewayResourceId <String>] [-NoWait] [-Confirm] [-WhatIf]
29-
[<CommonParameters>]
22+
[-CustomLocationsOid <String>] [-Distribution <String>] [-DistributionVersion <String>] [-GatewayEnabled]
23+
[-Infrastructure <String>] [-Kind <String>] [-KubeConfig <String>] [-KubeContext <String>]
24+
[-OidcIssuerProfileEnabled] [-OidcIssuerProfileSelfHostedIssuerUrl <String>]
25+
[-PrivateLinkScopeResourceId <String>] [-PrivateLinkState <String>] [-ProvisioningState <String>]
26+
[-Tag <Hashtable>] [-WorkloadIdentityEnabled] [-DefaultProfile <PSObject>] [-AsJob]
27+
[-ConfigurationProtectedSetting <Hashtable>] [-ConfigurationSetting <Hashtable>]
28+
[-GatewayResourceId <String>] [-NoWait] [-Confirm] [-WhatIf] [<CommonParameters>]
3029
```
3130

3231
## DESCRIPTION
@@ -417,21 +416,6 @@ Accept pipeline input: False
417416
Accept wildcard characters: False
418417
```
419418
420-
### -EnableSystemAssignedIdentity
421-
Determines whether to enable a system-assigned identity for the resource.
422-
423-
```yaml
424-
Type: System.Management.Automation.SwitchParameter
425-
Parameter Sets: (All)
426-
Aliases:
427-
428-
Required: False
429-
Position: Named
430-
Default value: None
431-
Accept pipeline input: False
432-
Accept wildcard characters: False
433-
```
434-
435419
### -GatewayEnabled
436420
Indicates whether the gateway for arc router connectivity is enabled.
437421

src/ConnectedKubernetes/ConnectedKubernetes.Autorest/docs/Set-AzConnectedKubernetes.md

Lines changed: 27 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ API to set properties of the connected cluster resource
1414

1515
### SetExpanded (Default)
1616
```
17-
Set-AzConnectedKubernetes -ClusterName <String> -ResourceGroupName <String>
18-
-EnableSystemAssignedIdentity <Boolean?> -Location <String> [-SubscriptionId <String>]
19-
[-AadProfileAdminGroupObjectID <String[]>] [-AadProfileEnableAzureRbac] [-AadProfileTenantId <String>]
20-
[-AcceptEULA] [-ArcAgentProfileAgentAutoUpgrade <String>] [-ArcAgentProfileAgentError <IAgentError[]>]
21-
[-ArcAgentProfileDesiredAgentVersion <String>] [-ArcAgentProfileSystemComponent <ISystemComponent[]>]
17+
Set-AzConnectedKubernetes -ClusterName <String> -ResourceGroupName <String> -Location <String>
18+
[-SubscriptionId <String>] [-AadProfileAdminGroupObjectID <String[]>] [-AadProfileEnableAzureRbac]
19+
[-AadProfileTenantId <String>] [-AcceptEULA] [-ArcAgentProfileAgentAutoUpgrade <String>]
20+
[-ArcAgentProfileAgentError <IAgentError[]>] [-ArcAgentProfileDesiredAgentVersion <String>]
21+
[-ArcAgentProfileSystemComponent <ISystemComponent[]>]
2222
[-ArcAgentryConfiguration <IArcAgentryConfigurations[]>] [-AzureHybridBenefit <String>]
2323
[-ConfigurationProtectedSetting <Hashtable>] [-ConfigurationSetting <Hashtable>]
2424
[-CustomLocationsOid <String>] [-Distribution <String>] [-DistributionVersion <String>] [-GatewayEnabled]
@@ -30,11 +30,10 @@ Set-AzConnectedKubernetes -ClusterName <String> -ResourceGroupName <String>
3030

3131
### Set
3232
```
33-
Set-AzConnectedKubernetes -EnableSystemAssignedIdentity <Boolean?> -InputObject <IConnectedCluster>
34-
[-SubscriptionId <String>] [-AadProfileAdminGroupObjectID <String[]>] [-AadProfileEnableAzureRbac]
35-
[-AadProfileTenantId <String>] [-AcceptEULA] [-ArcAgentProfileAgentAutoUpgrade <String>]
36-
[-ArcAgentProfileAgentError <IAgentError[]>] [-ArcAgentProfileDesiredAgentVersion <String>]
37-
[-ArcAgentProfileSystemComponent <ISystemComponent[]>]
33+
Set-AzConnectedKubernetes -InputObject <IConnectedCluster> [-SubscriptionId <String>]
34+
[-AadProfileAdminGroupObjectID <String[]>] [-AadProfileEnableAzureRbac] [-AadProfileTenantId <String>]
35+
[-AcceptEULA] [-ArcAgentProfileAgentAutoUpgrade <String>] [-ArcAgentProfileAgentError <IAgentError[]>]
36+
[-ArcAgentProfileDesiredAgentVersion <String>] [-ArcAgentProfileSystemComponent <ISystemComponent[]>]
3837
[-ArcAgentryConfiguration <IArcAgentryConfigurations[]>] [-AzureHybridBenefit <String>]
3938
[-ConfigurationProtectedSetting <Hashtable>] [-ConfigurationSetting <Hashtable>]
4039
[-CustomLocationsOid <String>] [-Distribution <String>] [-DistributionVersion <String>] [-GatewayEnabled]
@@ -46,10 +45,9 @@ Set-AzConnectedKubernetes -EnableSystemAssignedIdentity <Boolean?> -InputObject
4645

4746
### SetDisableGateway
4847
```
49-
Set-AzConnectedKubernetes -DisableGateway -EnableSystemAssignedIdentity <Boolean?>
50-
-InputObject <IConnectedCluster> [-SubscriptionId <String>] [-AadProfileAdminGroupObjectID <String[]>]
51-
[-AadProfileEnableAzureRbac] [-AadProfileTenantId <String>] [-AcceptEULA]
52-
[-ArcAgentProfileAgentAutoUpgrade <String>] [-ArcAgentProfileAgentError <IAgentError[]>]
48+
Set-AzConnectedKubernetes -DisableGateway -InputObject <IConnectedCluster> [-SubscriptionId <String>]
49+
[-AadProfileAdminGroupObjectID <String[]>] [-AadProfileEnableAzureRbac] [-AadProfileTenantId <String>]
50+
[-AcceptEULA] [-ArcAgentProfileAgentAutoUpgrade <String>] [-ArcAgentProfileAgentError <IAgentError[]>]
5351
[-ArcAgentProfileDesiredAgentVersion <String>] [-ArcAgentProfileSystemComponent <ISystemComponent[]>]
5452
[-ArcAgentryConfiguration <IArcAgentryConfigurations[]>] [-AzureHybridBenefit <String>]
5553
[-ConfigurationProtectedSetting <Hashtable>] [-ConfigurationSetting <Hashtable>]
@@ -62,11 +60,11 @@ Set-AzConnectedKubernetes -DisableGateway -EnableSystemAssignedIdentity <Boolean
6260

6361
### SetEnableGateway
6462
```
65-
Set-AzConnectedKubernetes -EnableSystemAssignedIdentity <Boolean?> -GatewayResourceId <String>
66-
-InputObject <IConnectedCluster> [-SubscriptionId <String>] [-AadProfileAdminGroupObjectID <String[]>]
67-
[-AadProfileEnableAzureRbac] [-AadProfileTenantId <String>] [-AcceptEULA]
68-
[-ArcAgentProfileAgentAutoUpgrade <String>] [-ArcAgentProfileAgentError <IAgentError[]>]
69-
[-ArcAgentProfileDesiredAgentVersion <String>] [-ArcAgentProfileSystemComponent <ISystemComponent[]>]
63+
Set-AzConnectedKubernetes -GatewayResourceId <String> -InputObject <IConnectedCluster>
64+
[-SubscriptionId <String>] [-AadProfileAdminGroupObjectID <String[]>] [-AadProfileEnableAzureRbac]
65+
[-AadProfileTenantId <String>] [-AcceptEULA] [-ArcAgentProfileAgentAutoUpgrade <String>]
66+
[-ArcAgentProfileAgentError <IAgentError[]>] [-ArcAgentProfileDesiredAgentVersion <String>]
67+
[-ArcAgentProfileSystemComponent <ISystemComponent[]>]
7068
[-ArcAgentryConfiguration <IArcAgentryConfigurations[]>] [-AzureHybridBenefit <String>]
7169
[-ConfigurationProtectedSetting <Hashtable>] [-ConfigurationSetting <Hashtable>]
7270
[-CustomLocationsOid <String>] [-Distribution <String>] [-DistributionVersion <String>] [-GatewayEnabled]
@@ -78,11 +76,11 @@ Set-AzConnectedKubernetes -EnableSystemAssignedIdentity <Boolean?> -GatewayResou
7876

7977
### SetExpandedDisableGateway
8078
```
81-
Set-AzConnectedKubernetes -ClusterName <String> -ResourceGroupName <String> -DisableGateway
82-
-EnableSystemAssignedIdentity <Boolean?> -Location <String> [-SubscriptionId <String>]
83-
[-AadProfileAdminGroupObjectID <String[]>] [-AadProfileEnableAzureRbac] [-AadProfileTenantId <String>]
84-
[-AcceptEULA] [-ArcAgentProfileAgentAutoUpgrade <String>] [-ArcAgentProfileAgentError <IAgentError[]>]
85-
[-ArcAgentProfileDesiredAgentVersion <String>] [-ArcAgentProfileSystemComponent <ISystemComponent[]>]
79+
Set-AzConnectedKubernetes -ClusterName <String> -ResourceGroupName <String> -DisableGateway -Location <String>
80+
[-SubscriptionId <String>] [-AadProfileAdminGroupObjectID <String[]>] [-AadProfileEnableAzureRbac]
81+
[-AadProfileTenantId <String>] [-AcceptEULA] [-ArcAgentProfileAgentAutoUpgrade <String>]
82+
[-ArcAgentProfileAgentError <IAgentError[]>] [-ArcAgentProfileDesiredAgentVersion <String>]
83+
[-ArcAgentProfileSystemComponent <ISystemComponent[]>]
8684
[-ArcAgentryConfiguration <IArcAgentryConfigurations[]>] [-AzureHybridBenefit <String>]
8785
[-ConfigurationProtectedSetting <Hashtable>] [-ConfigurationSetting <Hashtable>]
8886
[-CustomLocationsOid <String>] [-Distribution <String>] [-DistributionVersion <String>] [-GatewayEnabled]
@@ -94,12 +92,11 @@ Set-AzConnectedKubernetes -ClusterName <String> -ResourceGroupName <String> -Dis
9492

9593
### SetExpandedEnableGateway
9694
```
97-
Set-AzConnectedKubernetes -ClusterName <String> -ResourceGroupName <String>
98-
-EnableSystemAssignedIdentity <Boolean?> -GatewayResourceId <String> -Location <String>
99-
[-SubscriptionId <String>] [-AadProfileAdminGroupObjectID <String[]>] [-AadProfileEnableAzureRbac]
100-
[-AadProfileTenantId <String>] [-AcceptEULA] [-ArcAgentProfileAgentAutoUpgrade <String>]
101-
[-ArcAgentProfileAgentError <IAgentError[]>] [-ArcAgentProfileDesiredAgentVersion <String>]
102-
[-ArcAgentProfileSystemComponent <ISystemComponent[]>]
95+
Set-AzConnectedKubernetes -ClusterName <String> -ResourceGroupName <String> -GatewayResourceId <String>
96+
-Location <String> [-SubscriptionId <String>] [-AadProfileAdminGroupObjectID <String[]>]
97+
[-AadProfileEnableAzureRbac] [-AadProfileTenantId <String>] [-AcceptEULA]
98+
[-ArcAgentProfileAgentAutoUpgrade <String>] [-ArcAgentProfileAgentError <IAgentError[]>]
99+
[-ArcAgentProfileDesiredAgentVersion <String>] [-ArcAgentProfileSystemComponent <ISystemComponent[]>]
103100
[-ArcAgentryConfiguration <IArcAgentryConfigurations[]>] [-AzureHybridBenefit <String>]
104101
[-ConfigurationProtectedSetting <Hashtable>] [-ConfigurationSetting <Hashtable>]
105102
[-CustomLocationsOid <String>] [-Distribution <String>] [-DistributionVersion <String>] [-GatewayEnabled]
@@ -499,21 +496,6 @@ Accept pipeline input: False
499496
Accept wildcard characters: False
500497
```
501498
502-
### -EnableSystemAssignedIdentity
503-
Determines whether to enable a system-assigned identity for the resource.
504-
505-
```yaml
506-
Type: System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]
507-
Parameter Sets: (All)
508-
Aliases:
509-
510-
Required: True
511-
Position: Named
512-
Default value: None
513-
Accept pipeline input: False
514-
Accept wildcard characters: False
515-
```
516-
517499
### -GatewayEnabled
518500
Indicates whether the gateway for arc router connectivity is enabled.
519501
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"generate_Id": "f29daa0d-6315-4b6d-bde7-fcfac0b81b46"
2+
"generate_Id": "a70867db-2af4-4b19-b666-909b323d1e6e"
33
}

src/ConnectedKubernetes/ConnectedKubernetes.sln

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConnectedKubernetes", "Conn
2121
EndProject
2222
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ConnectedKubernetes.Autorest", "ConnectedKubernetes.Autorest", "{8028566A-0C0A-6B49-A1C1-5FB7248E1121}"
2323
EndProject
24-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ConnectedKubernetes", "..\..\generated\ConnectedKubernetes\ConnectedKubernetes.Autorest\Az.ConnectedKubernetes.csproj", "{AD32D372-1D36-4F29-ACA2-772374C75EC5}"
24+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ConnectedKubernetes", "..\..\generated\ConnectedKubernetes\ConnectedKubernetes.Autorest\Az.ConnectedKubernetes.csproj", "{F5E1D346-45A9-4ABD-B7B1-4AE81BFB2A90}"
2525
EndProject
2626
Global
2727
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -117,18 +117,18 @@ Global
117117
{5BCE9349-D102-48DA-A4CA-58A17607C0B6}.Release|x64.Build.0 = Release|Any CPU
118118
{5BCE9349-D102-48DA-A4CA-58A17607C0B6}.Release|x86.ActiveCfg = Release|Any CPU
119119
{5BCE9349-D102-48DA-A4CA-58A17607C0B6}.Release|x86.Build.0 = Release|Any CPU
120-
{AD32D372-1D36-4F29-ACA2-772374C75EC5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
121-
{AD32D372-1D36-4F29-ACA2-772374C75EC5}.Debug|Any CPU.Build.0 = Debug|Any CPU
122-
{AD32D372-1D36-4F29-ACA2-772374C75EC5}.Debug|x64.ActiveCfg = Debug|Any CPU
123-
{AD32D372-1D36-4F29-ACA2-772374C75EC5}.Debug|x64.Build.0 = Debug|Any CPU
124-
{AD32D372-1D36-4F29-ACA2-772374C75EC5}.Debug|x86.ActiveCfg = Debug|Any CPU
125-
{AD32D372-1D36-4F29-ACA2-772374C75EC5}.Debug|x86.Build.0 = Debug|Any CPU
126-
{AD32D372-1D36-4F29-ACA2-772374C75EC5}.Release|Any CPU.ActiveCfg = Release|Any CPU
127-
{AD32D372-1D36-4F29-ACA2-772374C75EC5}.Release|Any CPU.Build.0 = Release|Any CPU
128-
{AD32D372-1D36-4F29-ACA2-772374C75EC5}.Release|x64.ActiveCfg = Release|Any CPU
129-
{AD32D372-1D36-4F29-ACA2-772374C75EC5}.Release|x64.Build.0 = Release|Any CPU
130-
{AD32D372-1D36-4F29-ACA2-772374C75EC5}.Release|x86.ActiveCfg = Release|Any CPU
131-
{AD32D372-1D36-4F29-ACA2-772374C75EC5}.Release|x86.Build.0 = Release|Any CPU
120+
{F5E1D346-45A9-4ABD-B7B1-4AE81BFB2A90}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
121+
{F5E1D346-45A9-4ABD-B7B1-4AE81BFB2A90}.Debug|Any CPU.Build.0 = Debug|Any CPU
122+
{F5E1D346-45A9-4ABD-B7B1-4AE81BFB2A90}.Debug|x64.ActiveCfg = Debug|Any CPU
123+
{F5E1D346-45A9-4ABD-B7B1-4AE81BFB2A90}.Debug|x64.Build.0 = Debug|Any CPU
124+
{F5E1D346-45A9-4ABD-B7B1-4AE81BFB2A90}.Debug|x86.ActiveCfg = Debug|Any CPU
125+
{F5E1D346-45A9-4ABD-B7B1-4AE81BFB2A90}.Debug|x86.Build.0 = Debug|Any CPU
126+
{F5E1D346-45A9-4ABD-B7B1-4AE81BFB2A90}.Release|Any CPU.ActiveCfg = Release|Any CPU
127+
{F5E1D346-45A9-4ABD-B7B1-4AE81BFB2A90}.Release|Any CPU.Build.0 = Release|Any CPU
128+
{F5E1D346-45A9-4ABD-B7B1-4AE81BFB2A90}.Release|x64.ActiveCfg = Release|Any CPU
129+
{F5E1D346-45A9-4ABD-B7B1-4AE81BFB2A90}.Release|x64.Build.0 = Release|Any CPU
130+
{F5E1D346-45A9-4ABD-B7B1-4AE81BFB2A90}.Release|x86.ActiveCfg = Release|Any CPU
131+
{F5E1D346-45A9-4ABD-B7B1-4AE81BFB2A90}.Release|x86.Build.0 = Release|Any CPU
132132
EndGlobalSection
133133
GlobalSection(SolutionProperties) = preSolution
134134
HideSolutionNode = FALSE
@@ -140,6 +140,6 @@ Global
140140
{097E5DD2-9557-4BE0-8B5E-935D85F545C9} = {097FF7BE-1162-47A2-AF4D-F15D32F731F2}
141141
{26A6E1C0-EFEE-4205-9711-5011F2A24BA3} = {097FF7BE-1162-47A2-AF4D-F15D32F731F2}
142142
{D668ECB4-A954-41F5-806D-449B28BEB81D} = {097FF7BE-1162-47A2-AF4D-F15D32F731F2}
143-
{AD32D372-1D36-4F29-ACA2-772374C75EC5} = {8028566A-0C0A-6B49-A1C1-5FB7248E1121}
143+
{F5E1D346-45A9-4ABD-B7B1-4AE81BFB2A90} = {8028566A-0C0A-6B49-A1C1-5FB7248E1121}
144144
EndGlobalSection
145145
EndGlobal

src/ConnectedKubernetes/ConnectedKubernetes/Az.ConnectedKubernetes.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 2025-04-13
6+
# Generated on: 2025-04-21
77
#
88

99
@{

src/ConnectedKubernetes/ConnectedKubernetes/help/New-AzConnectedKubernetes.md

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,11 @@ New-AzConnectedKubernetes -ClusterName <String> -ResourceGroupName <String> [-Su
1919
[-AadProfileAdminGroupObjectID <String[]>] [-AadProfileEnableAzureRbac] [-AadProfileTenantId <String>]
2020
[-ArcAgentProfileAgentError <IAgentError[]>] [-ArcAgentProfileDesiredAgentVersion <String>]
2121
[-ArcAgentProfileSystemComponent <ISystemComponent[]>] [-KubeConfig <String>] [-KubeContext <String>]
22-
[-AzureHybridBenefit <String>] [-Distribution <String>] [-DistributionVersion <String>]
23-
[-EnableSystemAssignedIdentity] [-GatewayEnabled] [-Infrastructure <String>] [-Kind <String>]
24-
[-PrivateLinkScopeResourceId <String>] [-PrivateLinkState <String>] [-ProvisioningState <String>]
25-
[-Tag <Hashtable>] [-CustomLocationsOid <String>] [-OidcIssuerProfileEnabled]
26-
[-OidcIssuerProfileSelfHostedIssuerUrl <String>] [-WorkloadIdentityEnabled] [-AcceptEULA]
27-
[-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-ConfigurationSetting <Hashtable>]
22+
[-AzureHybridBenefit <String>] [-Distribution <String>] [-DistributionVersion <String>] [-GatewayEnabled]
23+
[-Infrastructure <String>] [-Kind <String>] [-PrivateLinkScopeResourceId <String>]
24+
[-PrivateLinkState <String>] [-ProvisioningState <String>] [-Tag <Hashtable>] [-CustomLocationsOid <String>]
25+
[-OidcIssuerProfileEnabled] [-OidcIssuerProfileSelfHostedIssuerUrl <String>] [-WorkloadIdentityEnabled]
26+
[-AcceptEULA] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-ConfigurationSetting <Hashtable>]
2827
[-ConfigurationProtectedSetting <Hashtable>] [-GatewayResourceId <String>]
2928
[-WhatIf] [-Confirm] [<CommonParameters>]
3029
```
@@ -417,21 +416,6 @@ Accept pipeline input: False
417416
Accept wildcard characters: False
418417
```
419418
420-
### -EnableSystemAssignedIdentity
421-
Determines whether to enable a system-assigned identity for the resource.
422-
423-
```yaml
424-
Type: System.Management.Automation.SwitchParameter
425-
Parameter Sets: (All)
426-
Aliases:
427-
428-
Required: False
429-
Position: Named
430-
Default value: None
431-
Accept pipeline input: False
432-
Accept wildcard characters: False
433-
```
434-
435419
### -GatewayEnabled
436420
Indicates whether the gateway for arc router connectivity is enabled.
437421

0 commit comments

Comments
 (0)