Skip to content

Commit 34ffdb0

Browse files
amarjeetkrAmarjeet KumarVeryEarly
authored
Powershell: Publishing DMS APIs stable version (#28453)
Co-authored-by: Amarjeet Kumar <[email protected]> Co-authored-by: Yabo Hu <[email protected]>
1 parent c54d08d commit 34ffdb0

File tree

56 files changed

+2170
-465
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+2170
-465
lines changed

src/DataMigration/DataMigration.Autorest/Properties/AssemblyInfo.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@
2020
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
2121
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
2222
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - DataMigration")]
23-
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.14.10")]
24-
[assembly: System.Reflection.AssemblyVersionAttribute("0.14.10")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.15.0")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("0.15.0")]
2525
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
2626
[assembly: System.CLSCompliantAttribute(false)]
27+
28+
29+
30+

src/DataMigration/DataMigration.Autorest/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ For information on how to develop for `Az.DataMigration`, see [how-to.md](how-to
2727
> see https://aka.ms/autorest
2828
2929
``` yaml
30-
commit: ff761e7c771e6e57442ade02e86a063ec9e7276c
30+
commit: 258d7a23333e3149bb54c95011806ff365a98e38
3131
require:
3232
- $(this-folder)/../../readme.azure.noprofile.md
3333
input-file:
34-
- $(repo)/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2025-03-15-preview/sqlmigration.json
34+
- $(repo)/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2025-06-30/sqlmigration.json
3535

3636
title: DataMigration
3737
module-version: 0.1.0

src/DataMigration/DataMigration.Autorest/UX/Microsoft.DataMigration/sqlMigrationServices.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "sqlMigrationServices",
3-
"apiVersion": "2025-03-15-preview",
3+
"apiVersion": "2025-06-30",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.datamigration"
66
},

src/DataMigration/DataMigration.Autorest/custom/Cmdlets/New-AzDataMigrationToSqlManagedInstance.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#>
1919
function New-AzDataMigrationToSqlManagedInstance
2020
{
21-
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250315Preview.IDatabaseMigrationSqlMi')]
21+
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.IDatabaseMigrationSqlMi')]
2222
[CmdletBinding(PositionalBinding = $false, SupportsShouldProcess = $true)]
2323
[Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Description('Create a new database migration to a given SQL Managed Instance.')]
2424

src/DataMigration/DataMigration.Autorest/docs/Az.DataMigration.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Az.DataMigration
3-
Module Guid: 5b85d9ae-d85d-4da6-9dde-d80f726fa7f9
3+
Module Guid: 896e3fc9-6d5a-4964-aa07-5febb86eb489
44
Download Help Link: https://learn.microsoft.com/powershell/module/az.datamigration
55
Help Version: 1.0.0.0
66
Locale: en-US
@@ -47,6 +47,9 @@ Initiate cutover for in-progress online database migration to SQL Managed Instan
4747
### [Invoke-AzDataMigrationCutoverToSqlVM](Invoke-AzDataMigrationCutoverToSqlVM.md)
4848
Initiate cutover for in-progress online database migration to SQL VM.
4949

50+
### [Invoke-AzDataMigrationRetryToSqlDb](Invoke-AzDataMigrationRetryToSqlDb.md)
51+
Retry on going migration for the database.
52+
5053
### [New-AzDataMigrationLoginsMigration](New-AzDataMigrationLoginsMigration.md)
5154
Migrate logins from the source Sql Servers to the target Azure Sql Servers.
5255

@@ -65,7 +68,7 @@ Migrate TDE certificate(s) from source SQL Server to the target Azure SQL Server
6568
### [New-AzDataMigrationToSqlDb](New-AzDataMigrationToSqlDb.md)
6669
Create a new database migration to a given SQL Db.
6770
This command can migrate data from the selected source database tables to the target database tables.
68-
If the target database have no table existing, please use [New-AzDataMigrationSqlServerSchema](https://learn.microsoft.com/powershell/module/az.datamigration/new-azdatamigrationsqlserverschema) command to migrate schema objects from source database to target database.
71+
If the target database have no table existing, please use [New-AzDataMigrationSqlServerSchema](https://learn.microsoft.com/powershell/module/az.datamigration/new-azdatamigrationsqlserverschema) command to migrate schema objects from source database to target databse.
6972

7073
### [New-AzDataMigrationToSqlManagedInstance](New-AzDataMigrationToSqlManagedInstance.md)
7174
Create a new database migration to a given SQL Managed Instance.
@@ -85,6 +88,12 @@ Delete the integration runtime node.
8588
### [Remove-AzDataMigrationToSqlDb](Remove-AzDataMigrationToSqlDb.md)
8689
Remove the specified database migration for a given SQL Db.
8790

91+
### [Remove-AzDataMigrationToSqlManagedInstance](Remove-AzDataMigrationToSqlManagedInstance.md)
92+
Delete Database Migration resource.
93+
94+
### [Remove-AzDataMigrationToSqlVM](Remove-AzDataMigrationToSqlVM.md)
95+
Delete Database Migration resource.
96+
8897
### [Stop-AzDataMigrationToSqlDb](Stop-AzDataMigrationToSqlDb.md)
8998
Stop in-progress database migration to SQL Db.
9099

src/DataMigration/DataMigration.Autorest/docs/Get-AzDataMigrationSqlService.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
187187
188188
## OUTPUTS
189189
190-
### Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250315Preview.ISqlMigrationService
190+
### Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.ISqlMigrationService
191191
192192
## NOTES
193193

src/DataMigration/DataMigration.Autorest/docs/Get-AzDataMigrationSqlServiceAuthKey.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
153153
154154
## OUTPUTS
155155
156-
### Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250315Preview.IAuthenticationKeys
156+
### Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.IAuthenticationKeys
157157
158158
## NOTES
159159

src/DataMigration/DataMigration.Autorest/docs/Get-AzDataMigrationSqlServiceIntegrationRuntimeMetric.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
168168
169169
## OUTPUTS
170170
171-
### Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250315Preview.IIntegrationRuntimeMonitoringData
171+
### Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.IIntegrationRuntimeMonitoringData
172172
173173
## NOTES
174174

src/DataMigration/DataMigration.Autorest/docs/Get-AzDataMigrationSqlServiceMigration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
123123
124124
## OUTPUTS
125125
126-
### Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250315Preview.IDatabaseMigration
126+
### Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.IDatabaseMigration
127127
128128
## NOTES
129129

src/DataMigration/DataMigration.Autorest/docs/Get-AzDataMigrationToSqlDb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
206206
207207
## OUTPUTS
208208
209-
### Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250315Preview.IDatabaseMigrationSqlDb
209+
### Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.IDatabaseMigrationSqlDb
210210
211211
## NOTES
212212

0 commit comments

Comments
 (0)