diff --git a/src/DataMigration/DataMigration.Autorest/Properties/AssemblyInfo.cs b/src/DataMigration/DataMigration.Autorest/Properties/AssemblyInfo.cs index e1df1e769c22..9166cdd68da4 100644 --- a/src/DataMigration/DataMigration.Autorest/Properties/AssemblyInfo.cs +++ b/src/DataMigration/DataMigration.Autorest/Properties/AssemblyInfo.cs @@ -20,11 +20,7 @@ [assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")] [assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")] [assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - DataMigration")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("0.15.0")] -[assembly: System.Reflection.AssemblyVersionAttribute("0.15.0")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0")] [assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] [assembly: System.CLSCompliantAttribute(false)] - - - - diff --git a/src/DataMigration/DataMigration.Autorest/README.md b/src/DataMigration/DataMigration.Autorest/README.md index ea94b0fddc4c..5347df395e3b 100644 --- a/src/DataMigration/DataMigration.Autorest/README.md +++ b/src/DataMigration/DataMigration.Autorest/README.md @@ -389,6 +389,32 @@ directive: preview-announcement: preview-message: Only use cmdlets containing ToSqlDb in their name for getting or stopping or deleting a migration created using New-AzDataMigrationToSqlDb + # Breaking change pre-announcements + - where: + verb: Get + subject: SqlServiceIntegrationRuntimeMetric|SqlServiceMigration|ToSqlDb|ToSqlManagedInstance|ToSqlVM + set: + preview-announcement: + preview-message: "*****************************************************************************************\\r\\n* This cmdlet will undergo a breaking change in Az v16.0.0, to be released in November 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**************************************************************************************************" + - where: + verb: New + subject: ToSqlDb|ToSqlManagedInstance|ToSqlVM + set: + preview-announcement: + preview-message: "*****************************************************************************************\\r\\n* This cmdlet will undergo a breaking change in Az v16.0.0, to be released in November 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**************************************************************************************************" + - where: + verb: Remove + subject: SqlServiceNode|ToSqlManagedInstance|ToSqlVM + set: + preview-announcement: + preview-message: "*****************************************************************************************\\r\\n* This cmdlet will undergo a breaking change in Az v16.0.0, to be released in November 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**************************************************************************************************" + - where: + verb: Update + subject: SqlService + set: + preview-announcement: + preview-message: "*****************************************************************************************\\r\\n* This cmdlet will undergo a breaking change in Az v16.0.0, to be released in November 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**************************************************************************************************" + # Making parameters required/optional - from: swagger-document where: $.definitions.MigrationOperationInput diff --git a/src/DataMigration/DataMigration.Autorest/custom/Cmdlets/New-AzDataMigrationToSqlManagedInstance.ps1 b/src/DataMigration/DataMigration.Autorest/custom/Cmdlets/New-AzDataMigrationToSqlManagedInstance.ps1 index 80288fcb52b9..3aa239722c1a 100644 --- a/src/DataMigration/DataMigration.Autorest/custom/Cmdlets/New-AzDataMigrationToSqlManagedInstance.ps1 +++ b/src/DataMigration/DataMigration.Autorest/custom/Cmdlets/New-AzDataMigrationToSqlManagedInstance.ps1 @@ -21,6 +21,12 @@ function New-AzDataMigrationToSqlManagedInstance [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.IDatabaseMigrationSqlMi')] [CmdletBinding(PositionalBinding = $false, SupportsShouldProcess = $true)] [Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Description('Create a new database migration to a given SQL Managed Instance.')] + [Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Runtime.PreviewMessage( + "**********************************************************************************************`n + * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on November 2026. *`n + * At least one change applies to this cmdlet. *`n + * See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n + ***************************************************************************************************")] param( [Parameter(Mandatory, HelpMessage = "Name of the target SQL Managed Instance.")] diff --git a/src/DataMigration/DataMigration.Autorest/docs/Az.DataMigration.md b/src/DataMigration/DataMigration.Autorest/docs/Az.DataMigration.md index 5a03599c4c69..97438eeb61d7 100644 --- a/src/DataMigration/DataMigration.Autorest/docs/Az.DataMigration.md +++ b/src/DataMigration/DataMigration.Autorest/docs/Az.DataMigration.md @@ -1,6 +1,6 @@ --- Module Name: Az.DataMigration -Module Guid: 896e3fc9-6d5a-4964-aa07-5febb86eb489 +Module Guid: 2cbdd74e-5a77-497b-9db7-4b103899a621 Download Help Link: https://learn.microsoft.com/powershell/module/az.datamigration Help Version: 1.0.0.0 Locale: en-US diff --git a/src/DataMigration/DataMigration.Autorest/generate-info.json b/src/DataMigration/DataMigration.Autorest/generate-info.json index 7aae451013a1..c7de7bcd35a0 100644 --- a/src/DataMigration/DataMigration.Autorest/generate-info.json +++ b/src/DataMigration/DataMigration.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "1c9b194d-7d03-41ae-8728-8bace933d453" + "generate_Id": "5b74c587-fbe5-4942-95de-9a446dc611a4" } diff --git a/src/DataMigration/DataMigration.sln b/src/DataMigration/DataMigration.sln index 196c6f1b6574..d0b45ac13340 100644 --- a/src/DataMigration/DataMigration.sln +++ b/src/DataMigration/DataMigration.sln @@ -29,7 +29,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DataMigration.Management.Sd EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "DataMigration.Autorest", "DataMigration.Autorest", "{99C2544C-AB42-E787-839D-5E95A7719D6A}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.DataMigration", "..\..\generated\DataMigration\DataMigration.Autorest\Az.DataMigration.csproj", "{75D21507-D2DC-4EA6-A74B-FEF604F14E7E}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.DataMigration", "..\..\generated\DataMigration\DataMigration.Autorest\Az.DataMigration.csproj", "{7BC07DC0-2BE7-455A-9942-E08F93F8EBD3}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -161,18 +161,18 @@ Global {F2182D2E-3C99-4294-ACCA-D081A4ABA49E}.Release|x64.Build.0 = Release|Any CPU {F2182D2E-3C99-4294-ACCA-D081A4ABA49E}.Release|x86.ActiveCfg = Release|Any CPU {F2182D2E-3C99-4294-ACCA-D081A4ABA49E}.Release|x86.Build.0 = Release|Any CPU - {75D21507-D2DC-4EA6-A74B-FEF604F14E7E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {75D21507-D2DC-4EA6-A74B-FEF604F14E7E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {75D21507-D2DC-4EA6-A74B-FEF604F14E7E}.Debug|x64.ActiveCfg = Debug|Any CPU - {75D21507-D2DC-4EA6-A74B-FEF604F14E7E}.Debug|x64.Build.0 = Debug|Any CPU - {75D21507-D2DC-4EA6-A74B-FEF604F14E7E}.Debug|x86.ActiveCfg = Debug|Any CPU - {75D21507-D2DC-4EA6-A74B-FEF604F14E7E}.Debug|x86.Build.0 = Debug|Any CPU - {75D21507-D2DC-4EA6-A74B-FEF604F14E7E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {75D21507-D2DC-4EA6-A74B-FEF604F14E7E}.Release|Any CPU.Build.0 = Release|Any CPU - {75D21507-D2DC-4EA6-A74B-FEF604F14E7E}.Release|x64.ActiveCfg = Release|Any CPU - {75D21507-D2DC-4EA6-A74B-FEF604F14E7E}.Release|x64.Build.0 = Release|Any CPU - {75D21507-D2DC-4EA6-A74B-FEF604F14E7E}.Release|x86.ActiveCfg = Release|Any CPU - {75D21507-D2DC-4EA6-A74B-FEF604F14E7E}.Release|x86.Build.0 = Release|Any CPU + {7BC07DC0-2BE7-455A-9942-E08F93F8EBD3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7BC07DC0-2BE7-455A-9942-E08F93F8EBD3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7BC07DC0-2BE7-455A-9942-E08F93F8EBD3}.Debug|x64.ActiveCfg = Debug|Any CPU + {7BC07DC0-2BE7-455A-9942-E08F93F8EBD3}.Debug|x64.Build.0 = Debug|Any CPU + {7BC07DC0-2BE7-455A-9942-E08F93F8EBD3}.Debug|x86.ActiveCfg = Debug|Any CPU + {7BC07DC0-2BE7-455A-9942-E08F93F8EBD3}.Debug|x86.Build.0 = Debug|Any CPU + {7BC07DC0-2BE7-455A-9942-E08F93F8EBD3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7BC07DC0-2BE7-455A-9942-E08F93F8EBD3}.Release|Any CPU.Build.0 = Release|Any CPU + {7BC07DC0-2BE7-455A-9942-E08F93F8EBD3}.Release|x64.ActiveCfg = Release|Any CPU + {7BC07DC0-2BE7-455A-9942-E08F93F8EBD3}.Release|x64.Build.0 = Release|Any CPU + {7BC07DC0-2BE7-455A-9942-E08F93F8EBD3}.Release|x86.ActiveCfg = Release|Any CPU + {7BC07DC0-2BE7-455A-9942-E08F93F8EBD3}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -186,7 +186,7 @@ Global {50E89024-F7A8-43B9-90E7-7EF9BA0E0153} = {7D1B97D0-9BDC-424D-830B-8F18FF10B2E5} {ED4B7E88-440B-42EA-B412-54EE0ABACC6E} = {06363AEF-5C97-42F6-9AFD-4296138F8494} {6900ED56-82F6-41C5-A00A-1F5B5228BE67} = {06363AEF-5C97-42F6-9AFD-4296138F8494} - {75D21507-D2DC-4EA6-A74B-FEF604F14E7E} = {99C2544C-AB42-E787-839D-5E95A7719D6A} + {7BC07DC0-2BE7-455A-9942-E08F93F8EBD3} = {99C2544C-AB42-E787-839D-5E95A7719D6A} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {FFFD82C2-1828-47A7-AF4A-6678F0E0C27B} diff --git a/src/DataMigration/DataMigration/Az.DataMigration.psd1 b/src/DataMigration/DataMigration/Az.DataMigration.psd1 index 49af967c7684..4fcb7653731a 100644 --- a/src/DataMigration/DataMigration/Az.DataMigration.psd1 +++ b/src/DataMigration/DataMigration/Az.DataMigration.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 10/9/2025 +# Generated on: 5/15/2026 # @{ @@ -53,17 +53,17 @@ DotNetFrameworkVersion = '4.7.2' # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '5.3.0'; }) +RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '5.4.0'; }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = 'DataMigration.Autorest/bin/Az.DataMigration.private.dll', 'Microsoft.Azure.PowerShell.DataMigration.Management.Sdk.dll' # Script files (.ps1) that are run in the caller's environment prior to importing this module. -# ScriptsToProcess = @() +ScriptsToProcess = @() # Type files (.ps1xml) to be loaded when importing this module -# TypesToProcess = @() +TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module FormatsToProcess = 'DataMigration.Autorest/Az.DataMigration.format.ps1xml' @@ -150,7 +150,8 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','Sql','Database','Data','Migration','Service' + Tags = 'Azure', 'ResourceManager', 'ARM', 'Sql', 'Database', 'Data', 'Migration', + 'Service' # A URL to the license for this module. LicenseUri = 'https://aka.ms/azps-license' @@ -178,7 +179,7 @@ PrivateData = @{ } # End of PSData hashtable - } # End of PrivateData hashtable +} # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' diff --git a/src/DataMigration/DataMigration/ChangeLog.md b/src/DataMigration/DataMigration/ChangeLog.md index 9e7c0c6fd6b6..a1ad6d3f70f0 100644 --- a/src/DataMigration/DataMigration/ChangeLog.md +++ b/src/DataMigration/DataMigration/ChangeLog.md @@ -18,6 +18,7 @@ - Additional information about change #1 --> ## Upcoming Release +* Preannounced breaking changes. Please refer to https://go.microsoft.com/fwlink/?linkid=2333229 * Fixed `Invoke-AzDataMigrationCommand`, `New-AzDataMigrationConnectionInfo`, and `New-AzDataMigrationTask` ## Version 1.0.0