Skip to content

Commit 2530bb7

Browse files
authored
[Az.Aks] Update generation tool version: autorest.powershell v3->v4 (Azure#27521)
1 parent d5220e9 commit 2530bb7

File tree

62 files changed

+1444
-303
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+1444
-303
lines changed

src/Aks/Aks.Autorest/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ generated
55
internal
66
exports
77
tools
8-
custom/autogen-model-cmdlets
98
test/*-TestResults.xml
109
license.txt
1110
/*.ps1

src/Aks/Aks.Autorest/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
2121
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
2222
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Aks")]
23-
[assembly: System.Reflection.AssemblyFileVersionAttribute("6.1.0")]
24-
[assembly: System.Reflection.AssemblyVersionAttribute("6.1.0")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("6.1.1")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("6.1.1")]
2525
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
2626
[assembly: System.CLSCompliantAttribute(false)]
27-

src/Aks/Aks.Autorest/README.md

Lines changed: 5 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@ input-file:
3737
title: Aks
3838
module-version: 0.1.0
3939
subject-prefix: $(service-name)
40-
identity-correction-for-post: true
41-
42-
# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option
43-
use-extension:
44-
"@autorest/powershell": "3.x"
4540

4641
directive:
4742
- where:
@@ -52,7 +47,7 @@ directive:
5247
verb: Get|New|Set|Remove
5348
remove: true
5449
- where:
55-
variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$|^Run$|^RunViaIdentity$
50+
variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$|^Run$|^RunViaIdentity$|^UpdateViaIdentityManagedCluster$|^UpdateViaIdentityManagedClusterExpanded$|^CreateViaIdentityManagedCluster$|^CreateViaIdentityManagedClusterExpanded$
5651
subject: ^MaintenanceConfiguration$|^Snapshot$|^ManagedClusterCommand$|^SnapshotTag$
5752
remove: true
5853
- where:
@@ -65,8 +60,10 @@ directive:
6560
verb: Update
6661
remove: true
6762
- model-cmdlet:
68-
- TimeSpan
69-
- TimeInWeek
63+
- model-name: TimeSpan
64+
cmdlet-name: New-AzAksTimeSpanObject
65+
- model-name: TimeInWeek
66+
cmdlet-name: New-AzAksTimeInWeekObject
7067
- where:
7168
subject: ^ManagedCluster$
7269
parameter-name: ResourceName
@@ -121,96 +118,4 @@ directive:
121118
- where:
122119
subject: ContainerServiceOrchestrator
123120
hide: true
124-
125-
#breaking change message
126-
- where:
127-
verb: Get|New
128-
subject: MaintenanceConfiguration
129-
set:
130-
breaking-change:
131-
deprecated-cmdlet-output-type: Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IMaintenanceConfiguration
132-
replacement-cmdlet-output-type: Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IMaintenanceConfiguration
133-
deprecated-output-properties:
134-
- TimeInWeek Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITimeInWeek
135-
- NotAllowedTime Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITimeSpan
136-
new-output-properties:
137-
- TimeInWeek System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITimeInWeek]
138-
- NotAllowedTime System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITimeSpan]
139-
change-description:
140-
- The type of property 'TimeInWeek' of type 'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IMaintenanceConfiguration' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITimeInWeek[]' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITimeInWeek]'
141-
- The type of property 'NotAllowedTime' of type 'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IMaintenanceConfiguration' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITimeSpan' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITimeSpan]'
142-
deprecated-by-version: 7.0.0
143-
deprecated-by-azversion: 14.0.0
144-
change-effective-date: 2025/05/19
145-
146-
- where:
147-
verb: Get
148-
subject: ManagedClusterOSOption
149-
set:
150-
breaking-change:
151-
deprecated-cmdlet-output-type: Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IOSOptionProfile
152-
replacement-cmdlet-output-type: Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOSOptionProfile
153-
deprecated-output-properties:
154-
- OSOptionPropertyList Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOSOptionProperty
155-
new-output-properties:
156-
- OSOptionPropertyList System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOSOptionProperty]
157-
change-description:
158-
- The type of property 'OSOptionPropertyList' of type 'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IOSOptionProfile' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOSOptionProperty' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOSOptionProperty]'.
159-
deprecated-by-version: 7.0.0
160-
deprecated-by-azversion: 14.0.0
161-
change-effective-date: 2025/05/19
162-
163-
- where:
164-
verb: Get
165-
subject: ManagedClusterOutboundNetworkDependencyEndpoint
166-
set:
167-
breaking-change:
168-
deprecated-cmdlet-output-type: Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IOutboundEnvironmentEndpoint
169-
replacement-cmdlet-output-type: Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOutboundEnvironmentEndpoint
170-
deprecated-output-properties:
171-
- Endpoint Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IEndpointDependency
172-
new-output-properties:
173-
- Endpoint System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IEndpointDependency]
174-
change-description:
175-
- The type of property 'Endpoint' of type 'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IOutboundEnvironmentEndpoint' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IEndpointDependency' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IEndpointDependency]'.
176-
deprecated-by-version: 7.0.0
177-
deprecated-by-azversion: 14.0.0
178-
change-effective-date: 2025/05/19
179-
180-
- where:
181-
verb: Get
182-
subject: NodePoolUpgradeProfile
183-
set:
184-
breaking-change:
185-
deprecated-cmdlet-output-type: Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IAgentPoolUpgradeProfile
186-
replacement-cmdlet-output-type: Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolUpgradeProfile
187-
deprecated-output-properties:
188-
- Upgrade Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolUpgradeProfilePropertiesUpgradesItem
189-
new-output-properties:
190-
- Upgrade System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolUpgradeProfilePropertiesUpgradesItem]
191-
change-description:
192-
- The type of property 'Upgrade' of type 'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IAgentPoolUpgradeProfile' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolUpgradeProfilePropertiesUpgradesItem' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAgentPoolUpgradeProfilePropertiesUpgradesItem]'.
193-
deprecated-by-version: 7.0.0
194-
deprecated-by-azversion: 14.0.0
195-
change-effective-date: 2025/05/19
196-
197-
- where:
198-
verb: Get
199-
subject: UpgradeProfile
200-
set:
201-
breaking-change:
202-
deprecated-cmdlet-output-type: Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IManagedClusterUpgradeProfile
203-
replacement-cmdlet-output-type: Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterUpgradeProfile
204-
deprecated-output-properties:
205-
- AgentPoolProfile Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPoolUpgradeProfile
206-
- ControlPlaneProfileUpgrade Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPoolUpgradeProfileUpgradesItem
207-
new-output-properties:
208-
- AgentPoolProfile System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPoolUpgradeProfile]
209-
- ControlPlaneProfileUpgrade System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPoolUpgradeProfileUpgradesItem]
210-
change-description:
211-
- The type of property 'AgentPoolProfile' of type 'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IManagedClusterUpgradeProfile' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPoolUpgradeProfile' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPoolUpgradeProfile]'.
212-
- The type of property 'ControlPlaneProfileUpgrade' of type 'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IManagedClusterUpgradeProfile' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPoolUpgradeProfileUpgradesItem' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IManagedClusterPoolUpgradeProfileUpgradesItem]'.
213-
deprecated-by-version: 7.0.0
214-
deprecated-by-azversion: 14.0.0
215-
change-effective-date: 2025/05/19
216121
```

src/Aks/Aks.Autorest/custom/Get-AzAksVersion.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ List available version for creating managed Kubernetes cluster.
2323
The operation returns properties of each orchestrator including version, available upgrades and whether that version or upgrades are in preview.
2424
#>
2525
function Get-AzAksVersion {
26-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20190801.IOrchestratorVersionProfileListResult])]
27-
[Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.OutputBreakingChangeAttribute("Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20190801.IOrchestratorVersionProfileListResult", "14.0.0", "7.0.0", "2025/05/19", ReplacementCmdletOutputType = "Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOrchestratorVersionProfileListResult", DeprecatedOutputProperties = ("Orchestrator Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOrchestratorVersionProfile"), NewOutputProperties = ("Orchestrator System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOrchestratorVersionProfile]"))]
26+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOrchestratorVersionProfileListResult])]
2827
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
2928
param(
3029
[Parameter(Mandatory)]

src/Aks/Aks.Autorest/custom/autogen-model-cmdlets/New-AzAksTimeInWeekObject.ps1

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,27 @@ Create an in-memory object for TimeInWeek.
2121
Create an in-memory object for TimeInWeek.
2222
2323
.Outputs
24-
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.TimeInWeek
24+
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.TimeInWeek
2525
.Link
26-
https://learn.microsoft.com/powershell/module/Az.Aks/new-AzAksTimeInWeekObject
26+
https://learn.microsoft.com/powershell/module/Az.Aks/new-azakstimeinweekobject
2727
#>
2828
function New-AzAksTimeInWeekObject {
29-
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.TimeInWeek')]
29+
[Microsoft.Azure.PowerShell.Cmdlets.Aks.ModelCmdletAttribute()]
30+
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.TimeInWeek')]
3031
[CmdletBinding(PositionalBinding=$false)]
3132
Param(
3233

3334
[Parameter(HelpMessage="The day of the week.")]
34-
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.WeekDay])]
35-
[Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.WeekDay]
35+
[Microsoft.Azure.PowerShell.Cmdlets.Aks.PSArgumentCompleterAttribute("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday")]
36+
[string]
3637
$Day,
3738
[Parameter(HelpMessage="Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range.")]
3839
[int[]]
3940
$HourSlot
4041
)
4142

4243
process {
43-
$Object = [Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.TimeInWeek]::New()
44+
$Object = [Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.TimeInWeek]::New()
4445

4546
if ($PSBoundParameters.ContainsKey('Day')) {
4647
$Object.Day = $Day

src/Aks/Aks.Autorest/custom/autogen-model-cmdlets/New-AzAksTimeSpanObject.ps1

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@ Create an in-memory object for TimeSpan.
2121
Create an in-memory object for TimeSpan.
2222
2323
.Outputs
24-
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.TimeSpan
24+
Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.TimeSpan
2525
.Link
26-
https://learn.microsoft.com/powershell/module/Az.Aks/new-AzAksTimeSpanObject
26+
https://learn.microsoft.com/powershell/module/Az.Aks/new-azakstimespanobject
2727
#>
2828
function New-AzAksTimeSpanObject {
29-
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.TimeSpan')]
29+
[Microsoft.Azure.PowerShell.Cmdlets.Aks.ModelCmdletAttribute()]
30+
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.TimeSpan')]
3031
[CmdletBinding(PositionalBinding=$false)]
3132
Param(
3233

@@ -39,7 +40,7 @@ function New-AzAksTimeSpanObject {
3940
)
4041

4142
process {
42-
$Object = [Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.TimeSpan]::New()
43+
$Object = [Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.TimeSpan]::New()
4344

4445
if ($PSBoundParameters.ContainsKey('End')) {
4546
$Object.End = $End

src/Aks/Aks.Autorest/docs/Az.Aks.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Az.Aks
3-
Module Guid: 31b8ecad-b901-48df-bd28-148fc912d386
3+
Module Guid: c58774ba-be69-4451-842a-3d5d9ccc6473
44
Download Help Link: https://learn.microsoft.com/powershell/module/az.aks
55
Help Version: 1.0.0.0
66
Locale: en-US
@@ -54,10 +54,10 @@ If the operation completes before cancellation can take place, a 409 error code
5454
Rotates the service account signing keys of a managed cluster.
5555

5656
### [New-AzAksMaintenanceConfiguration](New-AzAksMaintenanceConfiguration.md)
57-
Creates or updates a maintenance configuration in the specified managed cluster.
57+
create a maintenance configuration in the specified managed cluster.
5858

5959
### [New-AzAksSnapshot](New-AzAksSnapshot.md)
60-
Creates or updates a snapshot.
60+
create a snapshot.
6161

6262
### [New-AzAksTimeInWeekObject](New-AzAksTimeInWeekObject.md)
6363
Create an in-memory object for TimeInWeek.
@@ -75,7 +75,7 @@ Deletes a snapshot.
7575
See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster.
7676

7777
### [Start-AzAksManagedClusterCommand](Start-AzAksManagedClusterCommand.md)
78-
AKS will create a pod to run the command.
78+
AKS will run a pod to run the command.
7979
This is primarily useful for private clusters.
8080
For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview).
8181

@@ -85,3 +85,6 @@ Stopping a cluster stops the control plane and agent nodes entirely, while maint
8585
A cluster does not accrue charges while it is stopped.
8686
See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster.
8787

88+
### [Update-AzAksMaintenanceConfiguration](Update-AzAksMaintenanceConfiguration.md)
89+
update a maintenance configuration in the specified managed cluster.
90+

src/Aks/Aks.Autorest/docs/Get-AzAksMaintenanceConfiguration.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ Get-AzAksMaintenanceConfiguration -InputObject <IAksIdentity> [-DefaultProfile <
3030
[<CommonParameters>]
3131
```
3232

33+
### GetViaIdentityManagedCluster
34+
```
35+
Get-AzAksMaintenanceConfiguration -ConfigName <String> -ManagedClusterInputObject <IAksIdentity>
36+
[-DefaultProfile <PSObject>] [<CommonParameters>]
37+
```
38+
3339
## DESCRIPTION
3440
Gets the specified maintenance configuration of a managed cluster.
3541

@@ -85,7 +91,7 @@ The name of the maintenance configuration.
8591

8692
```yaml
8793
Type: System.String
88-
Parameter Sets: Get
94+
Parameter Sets: Get, GetViaIdentityManagedCluster
8995
Aliases:
9096

9197
Required: True
@@ -113,7 +119,6 @@ Accept wildcard characters: False
113119
114120
### -InputObject
115121
Identity Parameter
116-
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
117122
118123
```yaml
119124
Type: Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAksIdentity
@@ -127,6 +132,21 @@ Accept pipeline input: True (ByValue)
127132
Accept wildcard characters: False
128133
```
129134
135+
### -ManagedClusterInputObject
136+
Identity Parameter
137+
138+
```yaml
139+
Type: Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAksIdentity
140+
Parameter Sets: GetViaIdentityManagedCluster
141+
Aliases:
142+
143+
Required: True
144+
Position: Named
145+
Default value: None
146+
Accept pipeline input: True (ByValue)
147+
Accept wildcard characters: False
148+
```
149+
130150
### -ResourceGroupName
131151
The name of the resource group.
132152
The name is case insensitive.
@@ -182,7 +202,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
182202
183203
## OUTPUTS
184204
185-
### Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IMaintenanceConfiguration
205+
### Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IMaintenanceConfiguration
186206
187207
## NOTES
188208

src/Aks/Aks.Autorest/docs/Get-AzAksManagedClusterCommandResult.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ Get-AzAksManagedClusterCommandResult -InputObject <IAksIdentity> [-DefaultProfil
2424
[<CommonParameters>]
2525
```
2626

27+
### GetViaIdentityManagedCluster
28+
```
29+
Get-AzAksManagedClusterCommandResult -CommandId <String> -ManagedClusterInputObject <IAksIdentity>
30+
[-DefaultProfile <PSObject>] [-PassThru] [<CommonParameters>]
31+
```
32+
2733
## DESCRIPTION
2834
Gets the results of a command which has been run on the Managed Cluster.
2935

@@ -56,7 +62,7 @@ Id of the command.
5662

5763
```yaml
5864
Type: System.String
59-
Parameter Sets: Get
65+
Parameter Sets: Get, GetViaIdentityManagedCluster
6066
Aliases:
6167

6268
Required: True
@@ -84,7 +90,6 @@ Accept wildcard characters: False
8490
8591
### -InputObject
8692
Identity Parameter
87-
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
8893
8994
```yaml
9095
Type: Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAksIdentity
@@ -98,6 +103,21 @@ Accept pipeline input: True (ByValue)
98103
Accept wildcard characters: False
99104
```
100105
106+
### -ManagedClusterInputObject
107+
Identity Parameter
108+
109+
```yaml
110+
Type: Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAksIdentity
111+
Parameter Sets: GetViaIdentityManagedCluster
112+
Aliases:
113+
114+
Required: True
115+
Position: Named
116+
Default value: None
117+
Accept pipeline input: True (ByValue)
118+
Accept wildcard characters: False
119+
```
120+
101121
### -PassThru
102122
Returns true when the command succeeds
103123
@@ -168,7 +188,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
168188
169189
## OUTPUTS
170190
171-
### Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IRunCommandResult
191+
### Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IRunCommandResult
172192
173193
## NOTES
174194

src/Aks/Aks.Autorest/docs/Get-AzAksManagedClusterOSOption.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ Accept wildcard characters: False
6262
6363
### -InputObject
6464
Identity Parameter
65-
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
6665
6766
```yaml
6867
Type: Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAksIdentity
@@ -130,7 +129,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
130129
131130
## OUTPUTS
132131
133-
### Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IOSOptionProfile
132+
### Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IOSOptionProfile
134133
135134
## NOTES
136135

0 commit comments

Comments
 (0)