Register-AzDataMigrationIntegrationRuntime
Registers Sql Migration Service on Integration Runtime
Syntax
Register-AzDataMigrationIntegrationRuntime
-AuthKey <String>
[-IntegrationRuntimePath <String>]
[-PassThru]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Registers Sql Migration Service on Integration Runtime
Examples
Example 1: Register Sql Migration Service on Self Hosted Integration Runtime
$authKeys = Get-AzDataMigrationSqlServiceAuthKey -ResourceGroupName "MyResourceGroup" -SqlMigrationServiceName "MySqlMigrationService"
Register-AzDataMigrationIntegrationRuntime -AuthKey $authKeys.AuthKey1
Start to register IR with key: IR*********************yz6=
Integration Runtime registration is successful!
This command registers Sql Migration Service on Self Hosted Integration Runtime.
Example 2: Install Integration Runtime and register a Sql Migration Service on it
$authKeys = Get-AzDataMigrationSqlServiceAuthKey -ResourceGroupName "MyResourceGroup" -SqlMigrationServiceName "MySqlMigrationService"
Register-AzDataMigrationIntegrationRuntime -AuthKey $authKeys.AuthKey1 -IntegrationRuntimePath "C:\Users\user\Downloads\IntegrationRuntime.msi"
Start Gateway installation
Succeed to install gateway
Start to register IR with key: IR*********************yz6=
Integration Runtime registration is successful!
This command installs Integration Runtime and registers a Sql Migration Service on it.
Parameters
-AuthKey
AuthKey of Sql Migration Service
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-IntegrationRuntimePath
Path of SHIR msi
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PassThru
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure PowerShell