Skip to content

Add Parameters for Set-AzDataFactoryV2IntegrationRuntime #9757

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 12, 2019
Merged
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
Expand Up @@ -104,7 +104,21 @@ function Test-SsisAzure-IntegrationRuntime
-Name $dfname `
-Location $dflocation `
-Force


# Prepare proxy selfhsoted IR
$proxyIrName = "proxy-selfhosted-integrationruntime"
$actualProxyIr = Set-AzDataFactoryV2IntegrationRuntime -ResourceGroupName $rgname `
-DataFactoryName $dfname `
-Name $proxyIrName `
-Type 'SelfHosted' `
-Force
Assert-AreEqual $actualProxyIr.Name $proxyIrName

# Prepare proxy linked service
$lsname = "proxy-linkedservice"
$actualProxyLs = Set-AzDataFactoryV2LinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -Name $lsname -File .\Resources\linkedService.json -Force
Assert-AreEqual $actualProxyLs.Name $lsname

$irname = "ssis-azure-ir"
$description = "SSIS-Azure integration runtime"

Expand Down Expand Up @@ -143,6 +157,8 @@ function Test-SsisAzure-IntegrationRuntime
-MaxParallelExecutionsPerNode 1 `
-LicenseType LicenseIncluded `
-Edition Enterprise `
-DataProxyIntegrationRuntimeName $proxyIrName `
-DataProxyStagingLinkedServiceName $lsname `
-Force

$expected = Get-AzDataFactoryV2IntegrationRuntime -ResourceGroupName $rgname `
Expand All @@ -156,6 +172,10 @@ function Test-SsisAzure-IntegrationRuntime

Wait-Seconds 15
Remove-AzDataFactoryV2IntegrationRuntime -ResourceGroupName $rgname -DataFactoryName $dfname -Name $irname -Force

Remove-AzDataFactoryV2LinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -Name $lsname -Force

Remove-AzDataFactoryV2IntegrationRuntime -ResourceId $actualProxyIr.Id -Force
}
finally
{
Expand Down
Loading