Skip to content

Commit 0ca5cb8

Browse files
Merge pull request #111983 from omidm1/patch-53
Added Template
2 parents e2f2307 + 8221597 commit 0ca5cb8

File tree

1 file changed

+41
-1
lines changed

1 file changed

+41
-1
lines changed

articles/hdinsight/domain-joined/identity-broker.md

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,46 @@ The ID Broker feature will add one extra VM to the cluster. This VM is the ID Br
4141

4242
![Option to enable ID Broker](./media/identity-broker/identity-broker-enable.png)
4343

44+
### Using Azure Resource Manager templates
45+
If you add a new role called `idbrokernode` with the following attributes to the compute profile of your template, then the cluster will get created with the ID broker node enabled:
46+
47+
```json
48+
.
49+
.
50+
.
51+
"computeProfile": {
52+
"roles": [
53+
{
54+
"autoscale": null,
55+
"name": "headnode",
56+
....
57+
},
58+
{
59+
"autoscale": null,
60+
"name": "workernode",
61+
....
62+
},
63+
{
64+
"autoscale": null,
65+
"name": "idbrokernode",
66+
"targetInstanceCount": 1,
67+
"hardwareProfile": {
68+
"vmSize": "Standard_A2_V2"
69+
},
70+
"virtualNetworkProfile": {
71+
"id": "string",
72+
"subnet": "string"
73+
},
74+
"scriptActions": [],
75+
"dataDisksGroups": null
76+
}
77+
]
78+
}
79+
.
80+
.
81+
.
82+
```
83+
4484
## Tool integration
4585

4686
The HDInsight [IntelliJ plug-in](https://docs.microsoft.com/azure/hdinsight/spark/apache-spark-intellij-tool-plugin#integrate-with-hdinsight-identity-broker-hib) is updated to support OAuth. You can use this plug-in to connect to the cluster and submit jobs.
@@ -57,7 +97,7 @@ In the ID broker setup, custom apps and clients connecting to the gateway can be
5797

5898
* OAuth resource uri: https://hib.azurehdinsight.net
5999
* AppId: 7865c1d2-f040-46cc-875f-831a1ef6a28a
60-
* Permission: (name: Cluster.ReadWrite, id:8f89faa0-ffef-4007-974d-4989b39ad77d)
100+
* Permission: (name: Cluster.ReadWrite, id: 8f89faa0-ffef-4007-974d-4989b39ad77d)
61101

62102
## Next steps
63103

0 commit comments

Comments
 (0)