Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fleet] Direct swagger to follow latest autorest #24448

Merged
merged 1 commit into from
Mar 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 19 additions & 3 deletions src/Fleet/Fleet.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
This directory contains the PowerShell module for the Fleet service.

---
## Status
[![Az.Fleet](https://img.shields.io/powershellgallery/v/Az.Fleet.svg?style=flat-square&label=Az.Fleet "Az.Fleet")](https://www.powershellgallery.com/packages/Az.Fleet/)

## Info
- Modifiable: yes
- Generated: all
Expand Down Expand Up @@ -40,6 +37,8 @@ require:
title: Fleet
module-version: 0.1.0
subject-prefix: $(service-name)
disable-transform-identity-type: true
flatten-userassignedidentity: false

directive:
# # # Following is two common directive which are normally required in all the RPs
Expand All @@ -58,6 +57,23 @@ directive:
- from: swagger-document
where: $.definitions.UpdateRun
transform: $['required'] = ['properties']
- from: swagger-document
where: $.definitions.FleetUpdateStrategy.properties.properties.x-ms-mutability
transform: >-
return [
"read",
"update",
"create"
]
- from: swagger-document
where: $.definitions.UpdateRun.properties.properties
transform: $['x-ms-mutability'] = ["read", "update", "create"]
- from: swagger-document
where: $.definitions.ManagedClusterUpdate.properties.nodeImageSelection
transform: $['x-ms-mutability'] = ["read", "update", "create"]
- from: swagger-document
where: $.definitions.NodeImageSelection.properties.type
transform: $['x-ms-mutability'] = ["read", "update", "create"]
# Hide set cmdlet
- where:
verb: Set
Expand Down
1 change: 0 additions & 1 deletion src/Fleet/Fleet.Autorest/docs/Get-AzFleet.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ Accept wildcard characters: False

### -InputObject
Identity Parameter
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down
2 changes: 0 additions & 2 deletions src/Fleet/Fleet.Autorest/docs/Get-AzFleetMember.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ Accept wildcard characters: False

### -FleetInputObject
Identity Parameter
To construct, see NOTES section for FLEETINPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down Expand Up @@ -131,7 +130,6 @@ Accept wildcard characters: False

### -InputObject
Identity Parameter
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down
2 changes: 0 additions & 2 deletions src/Fleet/Fleet.Autorest/docs/Get-AzFleetUpdateRun.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ Accept wildcard characters: False

### -FleetInputObject
Identity Parameter
To construct, see NOTES section for FLEETINPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down Expand Up @@ -179,7 +178,6 @@ Accept wildcard characters: False

### -InputObject
Identity Parameter
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down
2 changes: 0 additions & 2 deletions src/Fleet/Fleet.Autorest/docs/Get-AzFleetUpdateStrategy.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ Accept wildcard characters: False

### -FleetInputObject
Identity Parameter
To construct, see NOTES section for FLEETINPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down Expand Up @@ -138,7 +137,6 @@ Accept wildcard characters: False

### -InputObject
Identity Parameter
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down
1 change: 0 additions & 1 deletion src/Fleet/Fleet.Autorest/docs/New-AzFleet.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ Accept wildcard characters: False

### -InputObject
Identity Parameter
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down
2 changes: 0 additions & 2 deletions src/Fleet/Fleet.Autorest/docs/New-AzFleetMember.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ Accept wildcard characters: False

### -FleetInputObject
Identity Parameter
To construct, see NOTES section for FLEETINPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down Expand Up @@ -204,7 +203,6 @@ Accept wildcard characters: False

### -InputObject
Identity Parameter
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down
3 changes: 0 additions & 3 deletions src/Fleet/Fleet.Autorest/docs/New-AzFleetUpdateRun.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ Accept wildcard characters: False

### -FleetInputObject
Identity Parameter
To construct, see NOTES section for FLEETINPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down Expand Up @@ -219,7 +218,6 @@ Accept wildcard characters: False

### -InputObject
Identity Parameter
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down Expand Up @@ -327,7 +325,6 @@ Accept wildcard characters: False
### -StrategyStage
The list of stages that compose this update run.
Min size: 1.
To construct, see NOTES section for STRATEGYSTAGE properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IUpdateStage[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ Accept wildcard characters: False
Defines the groups to be executed in parallel in this stage.
Duplicate groups are not allowed.
Min size: 1.
To construct, see NOTES section for GROUP properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IUpdateGroup[]
Expand Down
3 changes: 0 additions & 3 deletions src/Fleet/Fleet.Autorest/docs/New-AzFleetUpdateStrategy.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ Accept wildcard characters: False

### -FleetInputObject
Identity Parameter
To construct, see NOTES section for FLEETINPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down Expand Up @@ -216,7 +215,6 @@ Accept wildcard characters: False

### -InputObject
Identity Parameter
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down Expand Up @@ -309,7 +307,6 @@ Accept wildcard characters: False
### -StrategyStage
The list of stages that compose this update run.
Min size: 1.
To construct, see NOTES section for STRATEGYSTAGE properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IUpdateStage[]
Expand Down
1 change: 0 additions & 1 deletion src/Fleet/Fleet.Autorest/docs/Remove-AzFleet.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ Accept wildcard characters: False

### -InputObject
Identity Parameter
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down
2 changes: 0 additions & 2 deletions src/Fleet/Fleet.Autorest/docs/Remove-AzFleetMember.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ Accept wildcard characters: False

### -FleetInputObject
Identity Parameter
To construct, see NOTES section for FLEETINPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down Expand Up @@ -132,7 +131,6 @@ Accept wildcard characters: False

### -InputObject
Identity Parameter
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down
2 changes: 0 additions & 2 deletions src/Fleet/Fleet.Autorest/docs/Remove-AzFleetUpdateRun.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ Accept wildcard characters: False

### -FleetInputObject
Identity Parameter
To construct, see NOTES section for FLEETINPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down Expand Up @@ -124,7 +123,6 @@ Accept wildcard characters: False

### -InputObject
Identity Parameter
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down
2 changes: 0 additions & 2 deletions src/Fleet/Fleet.Autorest/docs/Remove-AzFleetUpdateStrategy.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ Accept wildcard characters: False

### -FleetInputObject
Identity Parameter
To construct, see NOTES section for FLEETINPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down Expand Up @@ -133,7 +132,6 @@ Accept wildcard characters: False

### -InputObject
Identity Parameter
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down
2 changes: 0 additions & 2 deletions src/Fleet/Fleet.Autorest/docs/Start-AzFleetUpdateRun.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ Accept wildcard characters: False

### -FleetInputObject
Identity Parameter
To construct, see NOTES section for FLEETINPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down Expand Up @@ -185,7 +184,6 @@ Accept wildcard characters: False

### -InputObject
Identity Parameter
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down
2 changes: 0 additions & 2 deletions src/Fleet/Fleet.Autorest/docs/Stop-AzFleetUpdateRun.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ Accept wildcard characters: False

### -FleetInputObject
Identity Parameter
To construct, see NOTES section for FLEETINPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down Expand Up @@ -190,7 +189,6 @@ Accept wildcard characters: False

### -InputObject
Identity Parameter
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down
1 change: 0 additions & 1 deletion src/Fleet/Fleet.Autorest/docs/Update-AzFleet.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ Accept wildcard characters: False

### -InputObject
Identity Parameter
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down
2 changes: 0 additions & 2 deletions src/Fleet/Fleet.Autorest/docs/Update-AzFleetMember.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ Accept wildcard characters: False

### -FleetInputObject
Identity Parameter
To construct, see NOTES section for FLEETINPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down Expand Up @@ -196,7 +195,6 @@ Accept wildcard characters: False

### -InputObject
Identity Parameter
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down
3 changes: 0 additions & 3 deletions src/Fleet/Fleet.Autorest/docs/Update-AzFleetUpdateRun.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ Accept wildcard characters: False

### -FleetInputObject
Identity Parameter
To construct, see NOTES section for FLEETINPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down Expand Up @@ -206,7 +205,6 @@ Accept wildcard characters: False

### -InputObject
Identity Parameter
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down Expand Up @@ -284,7 +282,6 @@ Accept wildcard characters: False
### -StrategyStage
The list of stages that compose this update run.
Min size: 1.
To construct, see NOTES section for STRATEGYSTAGE properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IUpdateStage[]
Expand Down
3 changes: 0 additions & 3 deletions src/Fleet/Fleet.Autorest/docs/Update-AzFleetUpdateStrategy.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ Accept wildcard characters: False

### -FleetInputObject
Identity Parameter
To construct, see NOTES section for FLEETINPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down Expand Up @@ -201,7 +200,6 @@ Accept wildcard characters: False

### -InputObject
Identity Parameter
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IFleetIdentity
Expand Down Expand Up @@ -264,7 +262,6 @@ Accept wildcard characters: False
### -StrategyStage
The list of stages that compose this update run.
Min size: 1.
To construct, see NOTES section for STRATEGYSTAGE properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IUpdateStage[]
Expand Down