Skip to content

Commit 867055f

Browse files
authored
Merge pull request #1 from RichieBzzzt/RichieBzzzt-patch-1
Update Set-AzureRmDataFactoryV2IntegrationRuntime.md To Include Example
2 parents fdafbff + cd05fec commit 867055f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/ResourceManager/DataFactoryV2/Commands.DataFactoryV2/help/Set-AzureRmDataFactoryV2IntegrationRuntime.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,20 @@ PS C:\> Set-AzureRmDataFactoryV2IntegrationRuntime -ResourceGroupName 'rg-test-d
8282

8383
The cmdlet updates the description of integration runtime named 'test-selfhost-ir'.
8484

85+
### Example 2: Share Self-hosted integration runtime.
86+
```
87+
PS C:\> Set-AzureRmDataFactoryV2IntegrationRuntime -ResourceGroupName 'rg-test-dfv2' -DataFactoryName 'test-df-eu2' -Name 'test-selfhost-ir' `
88+
-SharedIntegrationRuntimeResourceId '/subscriptions/b3ee3a7f-7614-4644-ad07-afa832620b4b/resourceGroups/rg-test-dfv2/providers/Microsoft.DataFactory/factories/test-df-eu2/integrationruntimes/test-selfhost-ir' -Type "SelfHosted"
89+
90+
Id : /subscriptions/b3ee3a7f-7614-4644-ad07-afa832620b4b/resourceGroups/rg-test-dfv2/providers/Microsoft.DataFactory/factories/test-df-eu2/integrationruntimes/test-selfhost-ir
91+
ResourceGroupName : rg-test-dfv2
92+
DataFactoryName : test-df-eu2
93+
Name : test-selfhost-ir
94+
Description : New description
95+
```
96+
97+
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.
98+
8599
## PARAMETERS
86100

87101
### -AuthKey

0 commit comments

Comments
 (0)