-
Notifications
You must be signed in to change notification settings - Fork 4.1k
[BC]Migrate Module Breaking Changes Announcement #29131
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 | ||||
|---|---|---|---|---|---|---|
|
|
@@ -22,6 +22,11 @@ The Get-AzMigrateJob cmdlet retrieves the status of an Azure Migrate job. | |||||
| https://learn.microsoft.com/powershell/module/az.migrate/get-azmigratejob | ||||||
| #> | ||||||
| function Get-AzMigrateJob { | ||||||
| [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PreviewMessage("**********************************************************************************************`n | ||||||
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | ||||||
|
||||||
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | |
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released in May 2026. *`n |
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -22,6 +22,11 @@ The Get-AzMigrateLocalJob cmdlet retrieves the status of an Azure Migrate job. | |||||||||
| https://learn.microsoft.com/powershell/module/az.migrate/get-azmigratelocaljob | ||||||||||
| #> | ||||||||||
| function Get-AzMigrateLocalJob { | ||||||||||
| [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PreviewMessage("**********************************************************************************************`n | ||||||||||
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | ||||||||||
|
||||||||||
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | |
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released in May 2026. *`n |
Copilot
AI
Feb 4, 2026
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 function has two PreviewMessage attributes. The breaking change announcement attribute on lines 25-29 is duplicated with a different preview message attribute on line 30. This will likely cause conflicts. If both attributes are needed, verify that the runtime supports multiple PreviewMessage attributes, otherwise remove the duplicate or consolidate the messages.
| ***************************************************************************************************")] | |
| [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PreviewMessageAttribute("This cmdlet is based on a preview API version and may experience breaking changes in future releases.")] | |
| ***************************************************************************************************`n | |
| This cmdlet is based on a preview API version and may experience breaking changes in future releases.")] |
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -22,6 +22,11 @@ The Get-AzMigrateLocalServerReplication cmdlet retrieves the object for the repl | |||||||||||
| https://learn.microsoft.com/powershell/module/az.migrate/get-azmigratelocalserverreplication | ||||||||||||
| #> | ||||||||||||
| function Get-AzMigrateLocalServerReplication { | ||||||||||||
| [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PreviewMessage("**********************************************************************************************`n | ||||||||||||
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | ||||||||||||
|
||||||||||||
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | |
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released in May 2026. *`n |
Copilot
AI
Feb 4, 2026
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 function has two PreviewMessage attributes. The breaking change announcement attribute on lines 25-29 is duplicated with a different preview message attribute on line 30. This will likely cause conflicts. If both attributes are needed, verify that the runtime supports multiple PreviewMessage attributes, otherwise remove the duplicate or consolidate the messages.
| ***************************************************************************************************")] | |
| [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PreviewMessageAttribute("This cmdlet is based on a preview API version and may experience breaking changes in future releases.")] | |
| ***************************************************************************************************`n | |
| `n | |
| This cmdlet is based on a preview API version and may experience breaking changes in future releases.")] |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -22,6 +22,11 @@ The Get-AzMigrateServerReplication cmdlet retrieves the object for the replicati | |||||
| https://learn.microsoft.com/powershell/module/az.migrate/get-azmigrateserverreplication | ||||||
| #> | ||||||
| function Get-AzMigrateServerReplication { | ||||||
| [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PreviewMessage("**********************************************************************************************`n | ||||||
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | ||||||
|
||||||
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | |
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released in May 2026. *`n |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -22,6 +22,11 @@ The New-AzMigrateDiskMapping cmdlet creates a mapping of the source disk attache | |||||
| https://learn.microsoft.com/powershell/module/az.migrate/new-azmigratediskmapping | ||||||
| #> | ||||||
| function New-AzMigrateDiskMapping { | ||||||
| [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PreviewMessage("**********************************************************************************************`n | ||||||
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | ||||||
|
||||||
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | |
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released in May 2026. *`n |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -23,6 +23,11 @@ https://learn.microsoft.com/powershell/module/az.migrate/new-azmigrateproject | |||||
| #> | ||||||
|
|
||||||
| function New-AzMigrateProject { | ||||||
| [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PreviewMessage("**********************************************************************************************`n | ||||||
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | ||||||
|
||||||
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | |
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released in May 2026. *`n |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -22,6 +22,11 @@ The New-AzMigrateServerReplication cmdlet starts the replication for a particula | |||||
| https://learn.microsoft.com/powershell/module/az.migrate/new-azmigrateserverreplication | ||||||
| #> | ||||||
| function New-AzMigrateServerReplication { | ||||||
| [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PreviewMessage("**********************************************************************************************`n | ||||||
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | ||||||
|
||||||
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | |
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released in May 2026. *`n |
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.
The grammar is incorrect. It should be "to be released in May 2026" not "to be released on May 2026". The preposition "in" is correct for months, while "on" is used for specific dates.