-
Notifications
You must be signed in to change notification settings - Fork 4.1k
[Az.Compute] The code base is going to be refactored, the following cmdlet adds a BreakingChange announcement #28315
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -15,6 +15,7 @@ Update a gallery Application Version. | |||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||
| function Update-AzGalleryApplicationVersion { | ||||||||||||||||||||||||||||||||||||||
| [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion])] | ||||||||||||||||||||||||||||||||||||||
| [Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.OutputBreakingChangeAttribute("Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion", "15.0.0", "9.0.0", "2025/11/03", ReplacementCmdletOutputType = "Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryApplicationVersion", DeprecatedOutputProperties = ("PublishingProfileTargetExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryTargetExtendedLocation", "ReplicationStatusSummary Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRegionalReplicationStatus", "TargetRegion Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ITargetRegion"), NewOutputProperties = ("PublishingProfileTargetExtendedLocation System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryTargetExtendedLocation]", "ReplicationStatusSummary System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRegionalReplicationStatus]", "TargetRegion System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ITargetRegion]"))] | ||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||
| [Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.OutputBreakingChangeAttribute("Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion", "15.0.0", "9.0.0", "2025/11/03", ReplacementCmdletOutputType = "Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryApplicationVersion", DeprecatedOutputProperties = ("PublishingProfileTargetExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryTargetExtendedLocation", "ReplicationStatusSummary Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRegionalReplicationStatus", "TargetRegion Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ITargetRegion"), NewOutputProperties = ("PublishingProfileTargetExtendedLocation System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryTargetExtendedLocation]", "ReplicationStatusSummary System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRegionalReplicationStatus]", "TargetRegion System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ITargetRegion]"))] | |
| [Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.OutputBreakingChangeAttribute( | |
| "Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion", | |
| "15.0.0", | |
| "9.0.0", | |
| "2025/11/03", | |
| ReplacementCmdletOutputType = "Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryApplicationVersion", | |
| DeprecatedOutputProperties = ( | |
| "PublishingProfileTargetExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryTargetExtendedLocation", | |
| "ReplicationStatusSummary Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRegionalReplicationStatus", | |
| "TargetRegion Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ITargetRegion" | |
| ), | |
| NewOutputProperties = ( | |
| "PublishingProfileTargetExtendedLocation System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryTargetExtendedLocation]", | |
| "ReplicationStatusSummary System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRegionalReplicationStatus]", | |
| "TargetRegion System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ITargetRegion]" | |
| ) | |
| )] |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| { | ||
| "generate_Id": "926fc75a-f3b2-4f73-aff1-e949e3a4023d" | ||
| "generate_Id": "721e76b4-562a-4c6c-a968-79a86bbb3336" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,7 +3,7 @@ | |
| # | ||
| # Generated by: Microsoft Corporation | ||
| # | ||
| # Generated on: 7/30/2025 | ||
| # Generated on: 2025-07-31 | ||
| # | ||
|
|
||
| @{ | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -20,6 +20,13 @@ | |||||||||||||||||||||
|
|
||||||||||||||||||||||
| --> | ||||||||||||||||||||||
| ## Upcoming Release | ||||||||||||||||||||||
| * Added BreakingChange announcements for commands below: | ||||||||||||||||||||||
| * `Get-GalleryApplicationVersion` | ||||||||||||||||||||||
| * `New-GalleryApplicationVersion` | ||||||||||||||||||||||
| * `Update-GalleryApplicationVersion` | ||||||||||||||||||||||
| * `Invoke-AzSpotPlacementScore` | ||||||||||||||||||||||
| * `Set-AzVMRunCommand` | ||||||||||||||||||||||
| * `Set-AzVmssVMRunCommand` | ||||||||||||||||||||||
|
||||||||||||||||||||||
| * `Set-AzVmssVMRunCommand` | |
| * Breaking changes to the following cmdlets due to migration from autorest v3 to v4: | |
| - Some property types in the output objects may change (e.g., from single objects to collections), and certain parameter names or types may be updated to align with the new SDK model. Users should review their scripts for compatibility with the updated cmdlet signatures and outputs. | |
| - Affected cmdlets: | |
| * `Get-GalleryApplicationVersion` | |
| * `New-GalleryApplicationVersion` | |
| * `Update-GalleryApplicationVersion` | |
| * `Invoke-AzSpotPlacementScore` | |
| * `Set-AzVMRunCommand` | |
| * `Set-AzVmssVMRunCommand` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This extremely long attribute declaration should be broken into multiple lines for better readability and maintainability. Consider using line breaks after each parameter.