Skip to content

Commit 2581eda

Browse files
authored
[BC]Migrate Module Breaking Changes Announcement (#29131)
1 parent 8707933 commit 2581eda

22 files changed

Lines changed: 142 additions & 100 deletions

src/Migrate/Migrate.Autorest/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +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 - Migrate")]
23-
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.10.1")]
24-
[assembly: System.Reflection.AssemblyVersionAttribute("2.10.1")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.11.0")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("2.11.0")]
2525
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
2626
[assembly: System.CLSCompliantAttribute(false)]

src/Migrate/Migrate.Autorest/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,3 +526,9 @@ directive:
526526
model-name: Fabric
527527
set:
528528
suppress-format: true
529+
- where:
530+
verb: New
531+
subject: ReplicationProtectionContainerMapping
532+
set:
533+
preview-announcement:
534+
preview-message: "*****************************************************************************************\\r\\n* This cmdlet will undergo a breaking change in Az v16.0.0, to be released in May 2026. *\\r\\n* At least one change applies to this cmdlet. *\\r\\n* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *\\r\\n**************************************************************************************************"

src/Migrate/Migrate.Autorest/custom/Az.Migrate.custom.psm1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# region Generated
22
# Load the private module dll
3-
$null = Import-Module -PassThru -Name (Join-Path $PSScriptRoot '../bin/Az.Migrate.private.dll')
3+
$null = Import-Module -PassThru -Name (Join-Path $PSScriptRoot '..\bin\Az.Migrate.private.dll')
44

55
# Load the internal module
6-
$internalModulePath = Join-Path $PSScriptRoot '../internal/Az.Migrate.internal.psm1'
6+
$internalModulePath = Join-Path $PSScriptRoot '..\internal\Az.Migrate.internal.psm1'
77
if(Test-Path $internalModulePath) {
88
$null = Import-Module -Name $internalModulePath
99
}

src/Migrate/Migrate.Autorest/custom/Get-AzMigrateDiscoveredServer.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ https://learn.microsoft.com/powershell/module/az.migrate/get-azmigratediscovered
2323
#>
2424

2525
function Get-AzMigrateDiscoveredServer {
26+
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PreviewMessage("**********************************************************************************************`n
27+
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
28+
* At least one change applies to this cmdlet. *`n
29+
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
30+
***************************************************************************************************")]
2631
[OutputType(
2732
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.IVMwareMachine],
2833
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.IHyperVMachine])]

src/Migrate/Migrate.Autorest/custom/Get-AzMigrateJob.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ The Get-AzMigrateJob cmdlet retrieves the status of an Azure Migrate job.
2222
https://learn.microsoft.com/powershell/module/az.migrate/get-azmigratejob
2323
#>
2424
function Get-AzMigrateJob {
25+
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PreviewMessage("**********************************************************************************************`n
26+
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
27+
* At least one change applies to this cmdlet. *`n
28+
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
29+
***************************************************************************************************")]
2530
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20250801.IJob])]
2631
[CmdletBinding(DefaultParameterSetName = 'ListByName', PositionalBinding = $false)]
2732
param(

src/Migrate/Migrate.Autorest/custom/Get-AzMigrateLocalJob.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ The Get-AzMigrateLocalJob cmdlet retrieves the status of an Azure Migrate job.
2222
https://learn.microsoft.com/powershell/module/az.migrate/get-azmigratelocaljob
2323
#>
2424
function Get-AzMigrateLocalJob {
25+
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PreviewMessage("**********************************************************************************************`n
26+
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
27+
* At least one change applies to this cmdlet. *`n
28+
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
29+
***************************************************************************************************")]
2530
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PreviewMessageAttribute("This cmdlet is based on a preview API version and may experience breaking changes in future releases.")]
2631
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20240901.IJobModel])]
2732
[CmdletBinding(DefaultParameterSetName = 'ListByName', PositionalBinding = $false)]

src/Migrate/Migrate.Autorest/custom/Get-AzMigrateLocalServerReplication.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ The Get-AzMigrateLocalServerReplication cmdlet retrieves the object for the repl
2222
https://learn.microsoft.com/powershell/module/az.migrate/get-azmigratelocalserverreplication
2323
#>
2424
function Get-AzMigrateLocalServerReplication {
25+
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PreviewMessage("**********************************************************************************************`n
26+
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
27+
* At least one change applies to this cmdlet. *`n
28+
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
29+
***************************************************************************************************")]
2530
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PreviewMessageAttribute("This cmdlet is based on a preview API version and may experience breaking changes in future releases.")]
2631
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20240901.IProtectedItemModel])]
2732
[CmdletBinding(DefaultParameterSetName = 'ListByName', PositionalBinding = $false)]

src/Migrate/Migrate.Autorest/custom/Get-AzMigrateServerReplication.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ The Get-AzMigrateServerReplication cmdlet retrieves the object for the replicati
2222
https://learn.microsoft.com/powershell/module/az.migrate/get-azmigrateserverreplication
2323
#>
2424
function Get-AzMigrateServerReplication {
25+
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PreviewMessage("**********************************************************************************************`n
26+
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
27+
* At least one change applies to this cmdlet. *`n
28+
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
29+
***************************************************************************************************")]
2530
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20250801.IMigrationItem])]
2631
[CmdletBinding(DefaultParameterSetName = 'ListByName', PositionalBinding = $false)]
2732
param(

src/Migrate/Migrate.Autorest/custom/New-AzMigrateDiskMapping.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ The New-AzMigrateDiskMapping cmdlet creates a mapping of the source disk attache
2222
https://learn.microsoft.com/powershell/module/az.migrate/new-azmigratediskmapping
2323
#>
2424
function New-AzMigrateDiskMapping {
25+
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PreviewMessage("**********************************************************************************************`n
26+
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
27+
* At least one change applies to this cmdlet. *`n
28+
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
29+
***************************************************************************************************")]
2530
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20250801.IVMwareCbtDiskInput])]
2631
[CmdletBinding(DefaultParameterSetName = 'VMwareCbt', PositionalBinding = $false)]
2732
param(

src/Migrate/Migrate.Autorest/custom/New-AzMigrateProject.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ https://learn.microsoft.com/powershell/module/az.migrate/new-azmigrateproject
2323
#>
2424

2525
function New-AzMigrateProject {
26+
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PreviewMessage("**********************************************************************************************`n
27+
* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n
28+
* At least one change applies to this cmdlet. *`n
29+
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
30+
***************************************************************************************************")]
2631
[CmdletBinding(DefaultParameterSetName='PutExpandedCustom', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
2732
param (
2833
[Parameter(ParameterSetName='PutExpandedCustom', Mandatory)]

0 commit comments

Comments
 (0)