Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "sqlMigrationServices",
"apiVersion": "2025-03-15-preview",
"apiVersion": "2025-06-30",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.datamigration"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"resourceType": "servers/databaseMigrations",
"apiVersion": "2025-06-30",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.datamigration"
},
"commands": [
{
"name": "Invoke-AzDataMigrationRetryToSqlDb",
"description": "Retry on going migration for the database.",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{sqlDbInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}/retry",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.datamigration/invoke-azdatamigrationretrytosqldb"
},
"parameterSets": [
{
"parameters": [
"-ResourceGroupName <String>",
"-SqlDbInstanceName <String>",
"[-SubscriptionId <String>]",
"-TargetDbName <String>"
]
}
]
},
"examples": [
{
"description": "Retry on going migration for the database.",
"parameters": [
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SqlDbInstanceName",
"value": "[Path.sqlDbInstanceName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
},
{
"name": "-TargetDbName",
"value": "[Path.targetDbName]"
}
]
}
]
}
]
}
13 changes: 11 additions & 2 deletions src/DataMigration/DataMigration.Autorest/docs/Az.DataMigration.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
Module Name: Az.DataMigration
Module Guid: 5b85d9ae-d85d-4da6-9dde-d80f726fa7f9
Module Guid: 896e3fc9-6d5a-4964-aa07-5febb86eb489
Download Help Link: https://learn.microsoft.com/powershell/module/az.datamigration
Help Version: 1.0.0.0
Locale: en-US
Expand Down Expand Up @@ -47,6 +47,9 @@ Initiate cutover for in-progress online database migration to SQL Managed Instan
### [Invoke-AzDataMigrationCutoverToSqlVM](Invoke-AzDataMigrationCutoverToSqlVM.md)
Initiate cutover for in-progress online database migration to SQL VM.

### [Invoke-AzDataMigrationRetryToSqlDb](Invoke-AzDataMigrationRetryToSqlDb.md)
Retry on going migration for the database.

### [New-AzDataMigrationLoginsMigration](New-AzDataMigrationLoginsMigration.md)
Migrate logins from the source Sql Servers to the target Azure Sql Servers.

Expand All @@ -65,7 +68,7 @@ Migrate TDE certificate(s) from source SQL Server to the target Azure SQL Server
### [New-AzDataMigrationToSqlDb](New-AzDataMigrationToSqlDb.md)
Create a new database migration to a given SQL Db.
This command can migrate data from the selected source database tables to the target database tables.
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.
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.

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

### [Remove-AzDataMigrationToSqlManagedInstance](Remove-AzDataMigrationToSqlManagedInstance.md)
Delete Database Migration resource.

### [Remove-AzDataMigrationToSqlVM](Remove-AzDataMigrationToSqlVM.md)
Delete Database Migration resource.

### [Stop-AzDataMigrationToSqlDb](Stop-AzDataMigrationToSqlDb.md)
Stop in-progress database migration to SQL Db.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250315Preview.ISqlMigrationService
### Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.ISqlMigrationService

## NOTES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250315Preview.IAuthenticationKeys
### Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.IAuthenticationKeys

## NOTES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250315Preview.IIntegrationRuntimeMonitoringData
### Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.IIntegrationRuntimeMonitoringData

## NOTES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250315Preview.IDatabaseMigration
### Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.IDatabaseMigration

## NOTES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250315Preview.IDatabaseMigrationSqlDb
### Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.IDatabaseMigrationSqlDb

## NOTES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250315Preview.IDatabaseMigrationSqlMi
### Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.IDatabaseMigrationSqlMi

## NOTES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250315Preview.IDatabaseMigrationSqlVM
### Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.IDatabaseMigrationSqlVM

## NOTES

Expand Down
Loading
Loading