@@ -440,37 +440,37 @@ if(![string]::IsNullOrEmpty($SetupScriptContainerSasUri))
440
440
if(![string]::IsNullOrEmpty($ExpressCustomSetup))
441
441
{
442
442
if($ExpressCustomSetup -eq "RunCmdkey")
443
- {
443
+ {
444
444
$addCmdkeyArgument = "YourFileShareServerName or YourAzureStorageAccountName.file.core.windows.net"
445
445
$userCmdkeyArgument = "YourDomainName\YourUsername or azure\YourAzureStorageAccountName"
446
446
$passCmdkeyArgument = New-Object Microsoft.Azure.Management.DataFactory.Models.SecureString("YourPassword or YourAccessKey")
447
447
$setup = New-Object Microsoft.Azure.Management.DataFactory.Models.CmdkeySetup($addCmdkeyArgument, $userCmdkeyArgument, $passCmdkeyArgument)
448
- }
449
- if($ExpressCustomSetup -eq "SetEnvironmentVariable")
450
- {
448
+ }
449
+ if($ExpressCustomSetup -eq "SetEnvironmentVariable")
450
+ {
451
451
$variableName = "YourVariableName"
452
452
$variableValue = "YourVariableValue"
453
453
$setup = New-Object Microsoft.Azure.Management.DataFactory.Models.EnvironmentVariableSetup($variableName, $variableValue)
454
- }
455
- if($ExpressCustomSetup -eq "SentryOne.TaskFactory")
456
- {
454
+ }
455
+ if($ExpressCustomSetup -eq "SentryOne.TaskFactory")
456
+ {
457
457
$licenseKey = New-Object Microsoft.Azure.Management.DataFactory.Models.SecureString("YourLicenseKey")
458
458
$setup = New-Object Microsoft.Azure.Management.DataFactory.Models.ComponentSetup($ExpressCustomSetup, $licenseKey)
459
- }
460
- if($ExpressCustomSetup -eq "oh22is.SQLPhonetics.NET")
461
- {
459
+ }
460
+ if($ExpressCustomSetup -eq "oh22is.SQLPhonetics.NET")
461
+ {
462
462
$licenseKey = New-Object Microsoft.Azure.Management.DataFactory.Models.SecureString("YourLicenseKey")
463
463
$setup = New-Object Microsoft.Azure.Management.DataFactory.Models.ComponentSetup($ExpressCustomSetup, $licenseKey)
464
- }
465
- if($ExpressCustomSetup -eq "oh22is.HEDDA.IO")
466
- {
464
+ }
465
+ if($ExpressCustomSetup -eq "oh22is.HEDDA.IO")
466
+ {
467
467
$setup = New-Object Microsoft.Azure.Management.DataFactory.Models.ComponentSetup($ExpressCustomSetup)
468
- }
468
+ }
469
469
# Create an array of one or more express custom setups
470
470
$setups = New-Object System.Collections.ArrayList
471
471
$setups.Add($setup)
472
472
473
- Set-AzDataFactoryV2IntegrationRuntime -ResourceGroupName $ResourceGroupName `
473
+ Set-AzDataFactoryV2IntegrationRuntime -ResourceGroupName $ResourceGroupName `
474
474
-DataFactoryName $DataFactoryName `
475
475
-Name $AzureSSISName `
476
476
-ExpressCustomSetup $setups
@@ -479,29 +479,29 @@ if(![string]::IsNullOrEmpty($ExpressCustomSetup))
479
479
# Add self-hosted integration runtime parameters if you configure a proxy for on-premises data accesss
480
480
if(![string]::IsNullOrEmpty($DataProxyIntegrationRuntimeName) -and ![string]::IsNullOrEmpty($DataProxyStagingLinkedServiceName))
481
481
{
482
- Set-AzDataFactoryV2IntegrationRuntime -ResourceGroupName $ResourceGroupName `
482
+ Set-AzDataFactoryV2IntegrationRuntime -ResourceGroupName $ResourceGroupName `
483
483
-DataFactoryName $DataFactoryName `
484
484
-Name $AzureSSISName `
485
485
-DataProxyIntegrationRuntimeName $DataProxyIntegrationRuntimeName `
486
486
-DataProxyStagingLinkedServiceName $DataProxyStagingLinkedServiceName
487
487
488
- if(![string]::IsNullOrEmpty($DataProxyStagingPath))
489
- {
490
- Set-AzDataFactoryV2IntegrationRuntime -ResourceGroupName $ResourceGroupName `
491
- -DataFactoryName $DataFactoryName `
492
- -Name $AzureSSISName `
493
- -DataProxyStagingPath $DataProxyStagingPath
494
- }
488
+ if(![string]::IsNullOrEmpty($DataProxyStagingPath))
489
+ {
490
+ Set-AzDataFactoryV2IntegrationRuntime -ResourceGroupName $ResourceGroupName `
491
+ -DataFactoryName $DataFactoryName `
492
+ -Name $AzureSSISName `
493
+ -DataProxyStagingPath $DataProxyStagingPath
494
+ }
495
495
}
496
496
497
497
# Add public IP address parameters if you bring your own static public IP addresses
498
498
if(![string]::IsNullOrEmpty($FirstPublicIP) -and ![string]::IsNullOrEmpty($SecondPublicIP))
499
499
{
500
500
$publicIPs = @($FirstPublicIP, $SecondPublicIP)
501
- Set-AzDataFactoryV2IntegrationRuntime -ResourceGroupName $ResourceGroupName `
501
+ Set-AzDataFactoryV2IntegrationRuntime -ResourceGroupName $ResourceGroupName `
502
502
-DataFactoryName $DataFactoryName `
503
503
-Name $AzureSSISName `
504
- -PublicIPs $publicIPs
504
+ -PublicIPs $publicIPs
505
505
}
506
506
```
507
507
@@ -682,37 +682,37 @@ if(![string]::IsNullOrEmpty($SetupScriptContainerSasUri))
682
682
if(![string]::IsNullOrEmpty($ExpressCustomSetup))
683
683
{
684
684
if($ExpressCustomSetup -eq "RunCmdkey")
685
- {
685
+ {
686
686
$addCmdkeyArgument = "YourFileShareServerName or YourAzureStorageAccountName.file.core.windows.net"
687
687
$userCmdkeyArgument = "YourDomainName\YourUsername or azure\YourAzureStorageAccountName"
688
688
$passCmdkeyArgument = New-Object Microsoft.Azure.Management.DataFactory.Models.SecureString("YourPassword or YourAccessKey")
689
689
$setup = New-Object Microsoft.Azure.Management.DataFactory.Models.CmdkeySetup($addCmdkeyArgument, $userCmdkeyArgument, $passCmdkeyArgument)
690
- }
691
- if($ExpressCustomSetup -eq "SetEnvironmentVariable")
692
- {
690
+ }
691
+ if($ExpressCustomSetup -eq "SetEnvironmentVariable")
692
+ {
693
693
$variableName = "YourVariableName"
694
694
$variableValue = "YourVariableValue"
695
695
$setup = New-Object Microsoft.Azure.Management.DataFactory.Models.EnvironmentVariableSetup($variableName, $variableValue)
696
- }
697
- if($ExpressCustomSetup -eq "SentryOne.TaskFactory")
698
- {
696
+ }
697
+ if($ExpressCustomSetup -eq "SentryOne.TaskFactory")
698
+ {
699
699
$licenseKey = New-Object Microsoft.Azure.Management.DataFactory.Models.SecureString("YourLicenseKey")
700
700
$setup = New-Object Microsoft.Azure.Management.DataFactory.Models.ComponentSetup($ExpressCustomSetup, $licenseKey)
701
- }
702
- if($ExpressCustomSetup -eq "oh22is.SQLPhonetics.NET")
703
- {
701
+ }
702
+ if($ExpressCustomSetup -eq "oh22is.SQLPhonetics.NET")
703
+ {
704
704
$licenseKey = New-Object Microsoft.Azure.Management.DataFactory.Models.SecureString("YourLicenseKey")
705
705
$setup = New-Object Microsoft.Azure.Management.DataFactory.Models.ComponentSetup($ExpressCustomSetup, $licenseKey)
706
- }
707
- if($ExpressCustomSetup -eq "oh22is.HEDDA.IO")
708
- {
706
+ }
707
+ if($ExpressCustomSetup -eq "oh22is.HEDDA.IO")
708
+ {
709
709
$setup = New-Object Microsoft.Azure.Management.DataFactory.Models.ComponentSetup($ExpressCustomSetup)
710
- }
710
+ }
711
711
# Create an array of one or more express custom setups
712
712
$setups = New-Object System.Collections.ArrayList
713
713
$setups.Add($setup)
714
714
715
- Set-AzDataFactoryV2IntegrationRuntime -ResourceGroupName $ResourceGroupName `
715
+ Set-AzDataFactoryV2IntegrationRuntime -ResourceGroupName $ResourceGroupName `
716
716
-DataFactoryName $DataFactoryName `
717
717
-Name $AzureSSISName `
718
718
-ExpressCustomSetup $setups
@@ -721,29 +721,29 @@ if(![string]::IsNullOrEmpty($ExpressCustomSetup))
721
721
# Add self-hosted integration runtime parameters if you configure a proxy for on-premises data accesss
722
722
if(![string]::IsNullOrEmpty($DataProxyIntegrationRuntimeName) -and ![string]::IsNullOrEmpty($DataProxyStagingLinkedServiceName))
723
723
{
724
- Set-AzDataFactoryV2IntegrationRuntime -ResourceGroupName $ResourceGroupName `
724
+ Set-AzDataFactoryV2IntegrationRuntime -ResourceGroupName $ResourceGroupName `
725
725
-DataFactoryName $DataFactoryName `
726
726
-Name $AzureSSISName `
727
727
-DataProxyIntegrationRuntimeName $DataProxyIntegrationRuntimeName `
728
728
-DataProxyStagingLinkedServiceName $DataProxyStagingLinkedServiceName
729
729
730
- if(![string]::IsNullOrEmpty($DataProxyStagingPath))
731
- {
732
- Set-AzDataFactoryV2IntegrationRuntime -ResourceGroupName $ResourceGroupName `
733
- -DataFactoryName $DataFactoryName `
734
- -Name $AzureSSISName `
735
- -DataProxyStagingPath $DataProxyStagingPath
736
- }
730
+ if(![string]::IsNullOrEmpty($DataProxyStagingPath))
731
+ {
732
+ Set-AzDataFactoryV2IntegrationRuntime -ResourceGroupName $ResourceGroupName `
733
+ -DataFactoryName $DataFactoryName `
734
+ -Name $AzureSSISName `
735
+ -DataProxyStagingPath $DataProxyStagingPath
736
+ }
737
737
}
738
738
739
739
# Add public IP address parameters if you bring your own static public IP addresses
740
740
if(![string]::IsNullOrEmpty($FirstPublicIP) -and ![string]::IsNullOrEmpty($SecondPublicIP))
741
741
{
742
742
$publicIPs = @($FirstPublicIP, $SecondPublicIP)
743
- Set-AzDataFactoryV2IntegrationRuntime -ResourceGroupName $ResourceGroupName `
743
+ Set-AzDataFactoryV2IntegrationRuntime -ResourceGroupName $ResourceGroupName `
744
744
-DataFactoryName $DataFactoryName `
745
745
-Name $AzureSSISName `
746
- -PublicIPs $publicIPs
746
+ -PublicIPs $publicIPs
747
747
}
748
748
749
749
### Start the integration runtime
0 commit comments