From cd05fece559b7f645320311736d0323c7cde9324 Mon Sep 17 00:00:00 2001 From: Richie Lee Date: Tue, 2 Oct 2018 15:28:11 +0100 Subject: [PATCH] Update Set-AzureRmDataFactoryV2IntegrationRuntime.md --- .../Set-AzureRmDataFactoryV2IntegrationRuntime.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/ResourceManager/DataFactoryV2/Commands.DataFactoryV2/help/Set-AzureRmDataFactoryV2IntegrationRuntime.md b/src/ResourceManager/DataFactoryV2/Commands.DataFactoryV2/help/Set-AzureRmDataFactoryV2IntegrationRuntime.md index 52e97ad166c3..2c32ec72a64e 100644 --- a/src/ResourceManager/DataFactoryV2/Commands.DataFactoryV2/help/Set-AzureRmDataFactoryV2IntegrationRuntime.md +++ b/src/ResourceManager/DataFactoryV2/Commands.DataFactoryV2/help/Set-AzureRmDataFactoryV2IntegrationRuntime.md @@ -82,6 +82,20 @@ PS C:\> Set-AzureRmDataFactoryV2IntegrationRuntime -ResourceGroupName 'rg-test-d The cmdlet updates the description of integration runtime named 'test-selfhost-ir'. +### Example 2: Share Self-hosted integration runtime. +``` +PS C:\> Set-AzureRmDataFactoryV2IntegrationRuntime -ResourceGroupName 'rg-test-dfv2' -DataFactoryName 'test-df-eu2' -Name 'test-selfhost-ir' ` + -SharedIntegrationRuntimeResourceId '/subscriptions/b3ee3a7f-7614-4644-ad07-afa832620b4b/resourceGroups/rg-test-dfv2/providers/Microsoft.DataFactory/factories/test-df-eu2/integrationruntimes/test-selfhost-ir' -Type "SelfHosted" + + Id : /subscriptions/b3ee3a7f-7614-4644-ad07-afa832620b4b/resourceGroups/rg-test-dfv2/providers/Microsoft.DataFactory/factories/test-df-eu2/integrationruntimes/test-selfhost-ir + ResourceGroupName : rg-test-dfv2 + DataFactoryName : test-df-eu2 + Name : test-selfhost-ir + Description : New description +``` + +The cmdlet adds the ADF to use the shared integration runtime. When using ```-SharedIntegrationRuntimeResourceId``` parameter the ```-Type``` must also be included. Note that the data factory need to be granted permission to use the integration runtime before running cmdlet. + ## PARAMETERS ### -AuthKey