Skip to content

Commit

Permalink
description changes
Browse files Browse the repository at this point in the history
removing migrationoperatinid and provisioning error from new sqlMI and new SqlVM migrations
referring to swagger from the PR
  • Loading branch information
Vasundhra Manhas committed Apr 8, 2022
1 parent cfa61d8 commit 5ea6516
Show file tree
Hide file tree
Showing 11 changed files with 80 additions and 213 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Retrieve the registered Integration Runtime nodes and their monitoring data for
Retrieve the List of database migrations attached to the service.

### [Get-AzDataMigrationToSqlDb](Get-AzDataMigrationToSqlDb.md)
Retrieve the Database Migration resource.
Retrieve the specified database migration for a given SQL Db.

### [Get-AzDataMigrationToSqlManagedInstance](Get-AzDataMigrationToSqlManagedInstance.md)
Retrieve the specified database migration for a given SQL Managed Instance.
Expand All @@ -54,7 +54,7 @@ Create or Update Database Migration Service.
Regenerate a new set of Authentication Keys for Self Hosted Integration Runtime.

### [New-AzDataMigrationToSqlDb](New-AzDataMigrationToSqlDb.md)
Create or Update Database Migration resource.
Create a new database migration to a given SQL Db.

### [New-AzDataMigrationToSqlManagedInstance](New-AzDataMigrationToSqlManagedInstance.md)
Create a new database migration to a given SQL Managed Instance.
Expand All @@ -72,10 +72,10 @@ Delete Database Migration Service.
Delete the integration runtime node.

### [Remove-AzDataMigrationToSqlDb](Remove-AzDataMigrationToSqlDb.md)
Delete Database Migration resource.
Remove the specified database migration for a given SQL Db.

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

### [Stop-AzDataMigrationToSqlManagedInstance](Stop-AzDataMigrationToSqlManagedInstance.md)
Stop in-progress database migration to SQL Managed Instance.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,62 +85,6 @@ Event and Error Logs Folder Path: C:\Users\vmanhas\AppData\Local\Microsoft\SqlAs

This command runs Performance Data Collection on given SQL Server using the config file.

### Example 3: Run Performance Data Collection in a new console on given SQL Server using assessment config file
```powershell
PS C:\> Get-AzDataMigrationAssessment -ConfigFilePath "C:\Users\user\document\config.json" -NewConsole
Connecting to the SQL server(s)...
Starting data collection...
Press the Enter key to stop the data collection at any time...
Security Warning: The negotiated TLS 1.0 is an insecure protocol and is supported for backward compatibility only. The recommended protocol version is TLS 1.2 and later.
Security Warning: The negotiated TLS 1.0 is an insecure protocol and is supported for backward compatibility only. The recommended protocol version is TLS 1.2 and later.
Security Warning: The negotiated TLS 1.0 is an insecure protocol and is supported for backward compatibility only. The recommended protocol version is TLS 1.2 and later.
UTC 2022-02-03 07:04:50, Server AALAB03-2K8:
Performance data query iteration: 1 of 2, collected 349 data points.
UTC 2022-02-03 07:04:52, Server AALAB03-2K8:
Collected static configuration data, and saved to C:\Users\vmanhas\AppData\Local\Microsoft\SqlAssessment.
Security Warning: The negotiated TLS 1.0 is an insecure protocol and is supported for backward compatibility only. The recommended protocol version is TLS 1.2 and later.
UTC 2022-02-03 07:05:44, Server AALAB03-2K8:
Performance data query iteration: 2 of 2, collected 347 data points.
UTC 2022-02-03 07:07:13, Server AALAB03-2K8:
Aggregated 696 raw data points to 263 performance counters, and saved to C:\Users\vmanhas\AppData\Local\Microsoft\SqlAssessment.
UTC 2022-02-03 07:07:16, Server AALAB03-2K8:
Performance data query iteration: 1 of 2, collected 349 data points.
Event and Error Logs Folder Path: C:\Users\vmanhas\AppData\Local\Microsoft\SqlAssessment\Logs
```

This command runs Performance Data Collection in a new console on given SQL Server using the config file.

### Example 4: Run Performance Data Collection in a new console on given SQL Server using connection string
```powershell
PS C:\> Get-AzDataMigrationPerformanceDataCollection -SqlConnectionStrings "Data Source=AALAB03-2K8.REDMOND.CORP.MICROSOFT.COM;Initial Catalog=master;Integrated Security=False;User Id=dummyUserId;Password=dummyPassword" -NumberOfIterations 2 -NewConsole
Connecting to the SQL server(s)...
Starting data collection...
Press the Enter key to stop the data collection at any time...
Security Warning: The negotiated TLS 1.0 is an insecure protocol and is supported for backward compatibility only. The recommended protocol version is TLS 1.2 and later.
Security Warning: The negotiated TLS 1.0 is an insecure protocol and is supported for backward compatibility only. The recommended protocol version is TLS 1.2 and later.
Security Warning: The negotiated TLS 1.0 is an insecure protocol and is supported for backward compatibility only. The recommended protocol version is TLS 1.2 and later.
UTC 2022-02-03 07:04:50, Server AALAB03-2K8:
Performance data query iteration: 1 of 2, collected 349 data points.
UTC 2022-02-03 07:04:52, Server AALAB03-2K8:
Collected static configuration data, and saved to C:\Users\vmanhas\AppData\Local\Microsoft\SqlAssessment.
Security Warning: The negotiated TLS 1.0 is an insecure protocol and is supported for backward compatibility only. The recommended protocol version is TLS 1.2 and later.
UTC 2022-02-03 07:05:44, Server AALAB03-2K8:
Performance data query iteration: 2 of 2, collected 347 data points.
UTC 2022-02-03 07:07:13, Server AALAB03-2K8:
Aggregated 696 raw data points to 263 performance counters, and saved to C:\Users\vmanhas\AppData\Local\Microsoft\SqlAssessment.
UTC 2022-02-03 07:07:16, Server AALAB03-2K8:
Performance data query iteration: 1 of 2, collected 349 data points.
Event and Error Logs Folder Path: C:\Users\vmanhas\AppData\Local\Microsoft\SqlAssessment\Logs
```

This command runs Performance Data Collection in a new console on given SQL Server using the connection string.

## PARAMETERS

### -ConfigFilePath
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ schema: 2.0.0
# Get-AzDataMigrationToSqlDb

## SYNOPSIS
Retrieve the Database Migration resource.
Retrieve the specified database migration for a given SQL Db.

## SYNTAX

Expand All @@ -26,7 +26,7 @@ Get-AzDataMigrationToSqlDb -InputObject <IDataMigrationIdentity> [-Expand <Strin
```

## DESCRIPTION
Retrieve the Database Migration resource.
Retrieve the specified database migration for a given SQL Db.

## EXAMPLES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ schema: 2.0.0
# New-AzDataMigrationToSqlDb

## SYNOPSIS
Create or Update Database Migration resource.
Create a new database migration to a given SQL Db.

## SYNTAX

Expand All @@ -17,16 +17,16 @@ New-AzDataMigrationToSqlDb -ResourceGroupName <String> -SqlDbInstanceName <Strin
[-SubscriptionId <String>] [-Kind <ResourceType>] [-MigrationService <String>] [-Scope <String>]
[-SourceDatabaseName <String>] [-SourceSqlConnectionAuthentication <String>]
[-SourceSqlConnectionDataSource <String>] [-SourceSqlConnectionEncryptConnection]
[-SourceSqlConnectionPassword <String>] [-SourceSqlConnectionTrustServerCertificate]
[-SourceSqlConnectionPassword <SecureString>] [-SourceSqlConnectionTrustServerCertificate]
[-SourceSqlConnectionUserName <String>] [-TableList <String[]>] [-TargetDatabaseCollation <String>]
[-TargetSqlConnectionAuthentication <String>] [-TargetSqlConnectionDataSource <String>]
[-TargetSqlConnectionEncryptConnection] [-TargetSqlConnectionPassword <String>]
[-TargetSqlConnectionEncryptConnection] [-TargetSqlConnectionPassword <SecureString>]
[-TargetSqlConnectionTrustServerCertificate] [-TargetSqlConnectionUserName <String>]
[-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]
```

## DESCRIPTION
Create or Update Database Migration resource.
Create a new database migration to a given SQL Db.

## EXAMPLES

Expand All @@ -36,22 +36,22 @@ New-AzDataMigrationToSqlDb -ResourceGroupName myRG -SqlDbInstanceName "mysqldb"
```

```output
-Name Kind ProvisioningState MigrationStatus
Name Kind ProvisioningState MigrationStatus
----- ---- ----------------- ---------------
-mydb1 SqlDb Succeeded InProgress
mydb1 SqlDb Succeeded InProgress
```

Start a Database Migration from the on-premise Source Sql Server to target Sql Db

### Example 2: Start a Database Migration with some selcted tables from the on-premise Source Sql Server to target Sql Db
```powershell
-New-AzDataMigrationToSqlDb -ResourceGroupName myRG -SqlDbInstanceName "mysqldb" -MigrationService "/subscriptions/1111-2222-3333-4444/resourceGroups/myRG/providers/Microsoft.DataMigration/SqlMigrationServices/myDMS" -TargetSqlConnectionAuthentication "SqlAuthentication" -TargetSqlConnectionDataSource "mydb.windows.net" -TargetSqlConnectionPassword "pass" -TargetSqlConnectionUserName "user" -SourceSqlConnectionAuthentication "SqlAuthentication" -SourceSqlConnectionDataSource "xyz.MICROSOFT.COM" -SourceSqlConnectionUserName "user1" -SourceSqlConnectionPassword "password" -SourceDatabaseName "sourcedb" -TargetDbName "mydb1" -Scope "/subscriptions/1111-2222-3333-4444/resourceGroups/myRG/providers/Microsoft.Sql/servers/mysqldb" -TableList "table_1"
New-AzDataMigrationToSqlDb -ResourceGroupName myRG -SqlDbInstanceName "mysqldb" -MigrationService "/subscriptions/1111-2222-3333-4444/resourceGroups/myRG/providers/Microsoft.DataMigration/SqlMigrationServices/myDMS" -TargetSqlConnectionAuthentication "SqlAuthentication" -TargetSqlConnectionDataSource "mydb.windows.net" -TargetSqlConnectionPassword "pass" -TargetSqlConnectionUserName "user" -SourceSqlConnectionAuthentication "SqlAuthentication" -SourceSqlConnectionDataSource "xyz.MICROSOFT.COM" -SourceSqlConnectionUserName "user1" -SourceSqlConnectionPassword "password" -SourceDatabaseName "sourcedb" -TargetDbName "mydb1" -Scope "/subscriptions/1111-2222-3333-4444/resourceGroups/myRG/providers/Microsoft.Sql/servers/mysqldb" -TableList "table_1"
```

```output
-Name Kind ProvisioningState MigrationStatus
Name Kind ProvisioningState MigrationStatus
----- ---- ----------------- ---------------
-mydb1 SqlDb Succeeded InProgress
mydb1 SqlDb Succeeded InProgress
```

Start a Database Migration with some selcted tables from the on-premise Source Sql Server to target Sql Db
Expand Down Expand Up @@ -243,7 +243,7 @@ Accept wildcard characters: False
Password to connect to source SQL.
```yaml
Type: System.String
Type: System.Security.SecureString
Parameter Sets: (All)
Aliases:

Expand Down Expand Up @@ -408,7 +408,7 @@ Accept wildcard characters: False
Password to connect to source SQL.
```yaml
Type: System.String
Type: System.Security.SecureString
Parameter Sets: (All)
Aliases:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@ Create a new database migration to a given SQL Managed Instance.
New-AzDataMigrationToSqlManagedInstance -ManagedInstanceName <String> -ResourceGroupName <String>
-TargetDbName <String> [-SubscriptionId <String>] [-AzureBlobAccountKey <String>]
[-AzureBlobContainerName <String>] [-AzureBlobStorageAccountResourceId <String>]
[-FileSharePassword <String>] [-FileSharePath <String>] [-FileShareUsername <String>] [-Kind <ResourceType>]
[-MigrationOperationId <String>] [-MigrationService <String>] [-Offline]
[-OfflineConfigurationLastBackupName <String>] [-ProvisioningError <String>] [-Scope <String>]
[-SourceDatabaseName <String>] [-SourceSqlConnectionAuthentication <String>]
[-FileSharePassword <SecureString>] [-FileSharePath <String>] [-FileShareUsername <String>]
[-Kind <ResourceType>] [-MigrationService <String>] [-Offline] [-OfflineConfigurationLastBackupName <String>]
[-Scope <String>] [-SourceDatabaseName <String>] [-SourceSqlConnectionAuthentication <String>]
[-SourceSqlConnectionDataSource <String>] [-SourceSqlConnectionEncryptConnection]
[-SourceSqlConnectionPassword <String>] [-SourceSqlConnectionTrustServerCertificate]
[-SourceSqlConnectionPassword <SecureString>] [-SourceSqlConnectionTrustServerCertificate]
[-SourceSqlConnectionUserName <String>] [-StorageAccountKey <String>] [-StorageAccountResourceId <String>]
[-TargetDatabaseCollation <String>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-PassThru] [-Confirm]
[-WhatIf] [<CommonParameters>]
Expand Down Expand Up @@ -128,7 +127,7 @@ Accept wildcard characters: False
Password for username to access file share location.
```yaml
Type: System.String
Type: System.Security.SecureString
Parameter Sets: (All)
Aliases:

Expand Down Expand Up @@ -199,21 +198,6 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -MigrationOperationId
ID tracking current migration operation.
```yaml
Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -MigrationService
Resource Id of the Migration Service.
Expand Down Expand Up @@ -291,21 +275,6 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -ProvisioningError
Error message for migration provisioning failure, if any.
```yaml
Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -ResourceGroupName
Name of the resource group that contains the resource.
You can obtain this value from the Azure Resource Manager API or the portal.
Expand Down Expand Up @@ -401,7 +370,7 @@ Accept wildcard characters: False
Password to connect to source SQL.
```yaml
Type: System.String
Type: System.Security.SecureString
Parameter Sets: (All)
Aliases:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@ Create a new database migration to a given SQL VM.
```
New-AzDataMigrationToSqlVM -ResourceGroupName <String> -SqlVirtualMachineName <String> -TargetDbName <String>
[-SubscriptionId <String>] [-AzureBlobAccountKey <String>] [-AzureBlobContainerName <String>]
[-AzureBlobStorageAccountResourceId <String>] [-FileSharePassword <String>] [-FileSharePath <String>]
[-FileShareUsername <String>] [-Kind <ResourceType>] [-MigrationOperationId <String>]
[-MigrationService <String>] [-Offline] [-OfflineConfigurationLastBackupName <String>]
[-ProvisioningError <String>] [-Scope <String>] [-SourceDatabaseName <String>]
[-AzureBlobStorageAccountResourceId <String>] [-FileSharePassword <SecureString>] [-FileSharePath <String>]
[-FileShareUsername <String>] [-Kind <ResourceType>] [-MigrationService <String>] [-Offline]
[-OfflineConfigurationLastBackupName <String>] [-Scope <String>] [-SourceDatabaseName <String>]
[-SourceSqlConnectionAuthentication <String>] [-SourceSqlConnectionDataSource <String>]
[-SourceSqlConnectionEncryptConnection] [-SourceSqlConnectionPassword <String>]
[-SourceSqlConnectionEncryptConnection] [-SourceSqlConnectionPassword <SecureString>]
[-SourceSqlConnectionTrustServerCertificate] [-SourceSqlConnectionUserName <String>]
[-StorageAccountKey <String>] [-StorageAccountResourceId <String>] [-TargetDatabaseCollation <String>]
[-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]
Expand Down Expand Up @@ -131,7 +130,7 @@ Accept wildcard characters: False
Password for username to access file share location.
```yaml
Type: System.String
Type: System.Security.SecureString
Parameter Sets: (All)
Aliases:

Expand Down Expand Up @@ -187,21 +186,6 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -MigrationOperationId
ID tracking current migration operation.
```yaml
Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -MigrationService
Resource Id of the Migration Service.
Expand Down Expand Up @@ -279,21 +263,6 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -ProvisioningError
Error message for migration provisioning failure, if any.
```yaml
Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -ResourceGroupName
Name of the resource group that contains the resource.
You can obtain this value from the Azure Resource Manager API or the portal.
Expand Down Expand Up @@ -390,7 +359,7 @@ Accept wildcard characters: False
Password to connect to source SQL.
```yaml
Type: System.String
Type: System.Security.SecureString
Parameter Sets: (All)
Aliases:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ schema: 2.0.0
# Remove-AzDataMigrationToSqlDb

## SYNOPSIS
Delete Database Migration resource.
Remove the specified database migration for a given SQL Db.

## SYNTAX

Expand All @@ -26,7 +26,7 @@ Remove-AzDataMigrationToSqlDb -InputObject <IDataMigrationIdentity> [-Force] [-D
```

## DESCRIPTION
Delete Database Migration resource.
Remove the specified database migration for a given SQL Db.

## EXAMPLES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ schema: 2.0.0
# Stop-AzDataMigrationToSqlDb

## SYNOPSIS
Stop on going migration for the database.
Stop in-progress database migration to SQL Db.

## SYNTAX

Expand All @@ -19,7 +19,7 @@ Stop-AzDataMigrationToSqlDb -ResourceGroupName <String> -SqlDbInstanceName <Stri
```

## DESCRIPTION
Stop on going migration for the database.
Stop in-progress database migration to SQL Db.

## EXAMPLES

Expand Down
Loading

0 comments on commit 5ea6516

Please sign in to comment.