1
1
---
2
2
title : " Azure Operator Nexus - Example of cluster.jsonc template file"
3
3
description : Example of cluster.jsonc template file to use with ARM template in creating a cluster.
4
- author : lb4368
5
- ms.author : lborgmeyer
4
+ author : bartpinto
5
+ ms.author : bpinto
6
6
ms.service : azure-operator-nexus
7
7
ms.topic : how-to
8
8
ms.date : 07/21/2025
@@ -20,7 +20,7 @@ ms.custom: template-how-to, devx-track-arm-template
20
20
" environment" : {
21
21
" type" : " string" ,
22
22
" metadata" : {
23
- " description" : " Name of the environment "
23
+ " description" : " Name of the Environment "
24
24
}
25
25
},
26
26
" name" : {
@@ -45,7 +45,31 @@ ms.custom: template-how-to, devx-track-arm-template
45
45
" managedResourceGroupName" : {
46
46
" type" : " string" ,
47
47
" metadata" : {
48
- " description" : " Specify a Managed Resource Group for the Resource."
48
+ " description" : " Managed Resource Group for the Resource."
49
+ }
50
+ },
51
+ " assignedIdentity" : {
52
+ " type" : " string" ,
53
+ " metadata" : {
54
+ " description" : " Managed identity resource ID for the Cluster."
55
+ }
56
+ },
57
+ " analyticsWorkspaceId" : {
58
+ " type" : " string" ,
59
+ " metadata" : {
60
+ " description" : " Log Analytics Workspace and Managed Identity resource IDs for the Cluster."
61
+ }
62
+ },
63
+ " containerUrl" : {
64
+ " type" : " string" ,
65
+ " metadata" : {
66
+ " description" : " Storage Account URL for Cluster command output."
67
+ }
68
+ },
69
+ " vaultUri" : {
70
+ " type" : " string" ,
71
+ " metadata" : {
72
+ " description" : " KeyVault Uri for Cluster"
49
73
}
50
74
},
51
75
" networkFabricId" : {
@@ -57,7 +81,7 @@ ms.custom: template-how-to, devx-track-arm-template
57
81
" clusterType" : {
58
82
" type" : " string" ,
59
83
" metadata" : {
60
- " description" : " The type of the cluster, whether single or multi-rack"
84
+ " description" : " The type of the Cluster, single or multi-rack"
61
85
},
62
86
" allowedValues" : [
63
87
" SingleRack" ,
@@ -67,7 +91,7 @@ ms.custom: template-how-to, devx-track-arm-template
67
91
" clusterVersion" : {
68
92
" type" : " string" ,
69
93
" metadata" : {
70
- " description" : " The version of the cluster to install"
94
+ " description" : " The version of the Cluster to install"
71
95
}
72
96
},
73
97
" clusterLocation" : {
@@ -79,49 +103,20 @@ ms.custom: template-how-to, devx-track-arm-template
79
103
" customLocation" : {
80
104
" type" : " string" ,
81
105
" metadata" : {
82
- " description" : " The custom location of the cluster manager "
106
+ " description" : " The Custom Location of the Cluster Manager "
83
107
}
84
108
},
85
109
" aggregatorOrSingleRack" : {
86
110
" type" : " object" ,
87
111
" metadata" : {
88
- " description" : " Aggregator rack or single rack definition"
112
+ " description" : " Aggregator Rack or single Rack definition"
89
113
}
90
114
},
91
115
" computeRacks" : {
92
116
" type" : " array" ,
93
117
" metadata" : {
94
118
" description" : " Compute Rack definitions"
95
119
}
96
- " secretArchiveSettings" : {
97
- " type" : " secureobject" ,
98
- " metadata" : {
99
- " description" : " SecretArchiveSettings supports the key vault URI along with the managed identity to be used for accessing the key vault"
100
- },
101
- },
102
- " analyticsWorkspaceName" : {
103
- " type" : " string" ,
104
- " metadata" : {
105
- " description" : " The name of the analytics workspace to create for the cluster"
106
- }
107
- },
108
- " analyticsOutputSettings" : {
109
- " type" : " object" ,
110
- " metadata" : {
111
- " description" : " The resource ID of the analytics workspace to create for the cluster"
112
- }
113
- },
114
- " commandOutputSettings" : {
115
- " type" : " object" ,
116
- " metadata" : {
117
- " description" : " commandOutputSettings supports the Storage Account URI along with the managed identity to be used for accessing the Storage Account"
118
- }
119
- },
120
- " assignedIdentities" : {
121
- " type" : " object" ,
122
- " metadata" : {
123
- " description" : " The assigned identities for the cluster"
124
- }
125
120
}
126
121
},
127
122
" variables" : {},
@@ -162,6 +157,27 @@ ms.custom: template-how-to, devx-track-arm-template
162
157
" description" : " Location of Cluster Resource"
163
158
}
164
159
},
160
+ " assignedIdentity" : {
161
+ " type" : " string" ,
162
+ " metadata" : {
163
+ " description" : " Managed identity resource ID for the Cluster."
164
+ }
165
+ },
166
+ " analyticsWorkspaceId" : {
167
+ " type" : " string" ,
168
+ " metadata" : {
169
+ " description" : " Log Analytics Workspace and Managed Identity resource IDs for the Cluster."
170
+ }
171
+ },
172
+ " analyticsOutputSettings" : {
173
+ " type" : " object"
174
+ },
175
+ " secretArchiveSettings" : {
176
+ " type" : " object"
177
+ },
178
+ " commandOutputSettings" : {
179
+ " type" : " object"
180
+ },
165
181
" resourceGroupName" : {
166
182
" type" : " string"
167
183
},
@@ -174,7 +190,7 @@ ms.custom: template-how-to, devx-track-arm-template
174
190
" clusterType" : {
175
191
" type" : " string" ,
176
192
" metadata" : {
177
- " description" : " The type of the cluster, whether single or multi-rack"
193
+ " description" : " The type of the Cluster, single or multi-rack"
178
194
},
179
195
" allowedValues" : [
180
196
" SingleRack" ,
@@ -196,100 +212,137 @@ ms.custom: template-how-to, devx-track-arm-template
196
212
" customLocation" : {
197
213
" type" : " string" ,
198
214
" metadata" : {
199
- " description" : " The custom location of the cluster manager "
215
+ " description" : " The Custom Location of the Cluster Manager "
200
216
}
201
217
},
202
218
" aggregatorOrSingleRack" : {
203
- " type" : " secureobject " ,
219
+ " type" : " object " ,
204
220
" metadata" : {
205
- " description" : " Aggregator rack or single rack definition"
221
+ " description" : " Aggregator Rack or single Rack definition"
206
222
}
207
223
},
208
224
" computeRacks" : {
209
225
" type" : " array" ,
210
226
" metadata" : {
211
- " description" : " Compute rack definitions"
227
+ " description" : " Compute Rack definitions"
212
228
}
213
229
},
214
230
" managedResourceGroupConfiguration" : {
215
231
" type" : " object"
216
- },
217
- " secretArchiveSettings" : {
218
- " type" : " object" ,
219
- " metadata" : {
220
- " description" : " SecretArchiveSettings supports the key vault URI along with the managed identity to be used for accessing the key vault"
221
- }
222
- },
223
- " analyticsOutputSettings" : {
224
- " type" : " object" ,
225
- " metadata" : {
226
- " description" : " The resource ID of the analytics workspace to create for the cluster"
227
- }
228
- },
229
- " commandOutputSettings" : {
230
- " type" : " object" ,
231
- " metadata" : {
232
- " description" : " commandOutputSettings supports the Storage Account URI along with the managed identity to be used for accessing the Storage Account"
233
- }
234
- },
235
- " assignedIdentities" : {
236
- " type" : " object" ,
237
- " metadata" : {
238
- " description" : " The assigned identities for the cluster"
239
- }
240
232
}
241
233
},
242
234
" variables" : {},
243
235
" resources" : [
244
236
{
245
- " type" : " Microsoft.OperationalInsights/workspaces" ,
246
- " apiVersion" : " 2021-12-01-preview" ,
247
- " name" : " [parameters('analyticsWorkspaceName')]" ,
248
- " location" : " [parameters('location')]" ,
249
- " properties" : {
250
- " sku" : {
251
- " name" : " pergb2018"
252
- },
253
- " retentionInDays" : 120 ,
254
- " features" : {
255
- " enableLogAccessUsingOnlyResourcePermissions" : true
256
- }
257
- }
258
- },
259
- {
260
- " dependsOn" : [
261
- " [resourceId('Microsoft.OperationalInsights/workspaces/', parameters('analyticsWorkspaceName'))]"
262
- ],
263
237
" type" : " Microsoft.NetworkCloud/clusters" ,
264
238
" apiVersion" : " 2025-02-01" ,
265
239
" name" : " [parameters('name')]" ,
266
240
" location" : " [parameters('location')]" ,
267
241
" tags" : {},
242
+ " identity" : {
243
+ " type" : " UserAssigned" ,
244
+ " userAssignedIdentities" : {
245
+ " [parameters('assignedIdentity')]" : {}
246
+ }
247
+ },
268
248
" extendedLocation" : {
269
249
" name" : " [parameters('customLocation')]" ,
270
250
" type" : " CustomLocation"
271
251
},
272
- " identity" : " [parameters('assignedIdentities')]" ,
273
252
" properties" : {
274
253
" networkFabricId" : " [parameters('networkFabricId')]" ,
275
254
" clusterType" : " [parameters('clusterType')]" ,
276
255
" clusterVersion" : " [parameters('clusterVersion')]" ,
277
256
" clusterLocation" : " [parameters('clusterLocation')]" ,
257
+ " analyticsWorkspaceId" : " [parameters('analyticsWorkspaceId')]" ,
278
258
" aggregatorOrSingleRackDefinition" : " [parameters('aggregatorOrSingleRack')]" ,
279
259
" computeRackDefinitions" : " [parameters('computeRacks')]" ,
280
260
" managedResourceGroupConfiguration" : " [parameters('managedResourceGroupConfiguration')]" ,
281
- " analyticsWorkspaceId" : " [resourceId('Microsoft.OperationalInsights/workspaces/', parameters('analyticsWorkspaceName'))]" ,
282
261
" analyticsOutputSettings" : " [parameters('analyticsOutputSettings')]" ,
283
262
" secretArchiveSettings" : " [parameters('secretArchiveSettings')]" ,
284
263
" commandOutputSettings" : " [parameters('commandOutputSettings')]"
285
264
}
286
265
}
287
266
],
288
267
" outputs" : {}
268
+ },
269
+ " parameters" : {
270
+ " environment" : {
271
+ " value" : " [parameters('environment')]"
272
+ },
273
+ " name" : {
274
+ " value" : " [parameters('name')]"
275
+ },
276
+ " location" : {
277
+ " value" : " [parameters('location')]"
278
+ },
279
+ " resourceGroupName" : {
280
+ " value" : " [parameters('resourceGroupName')]"
281
+ },
282
+ " managedResourceGroupConfiguration" : {
283
+ " value" : {
284
+ " location" : " [parameters('location')]" ,
285
+ " name" : " [parameters('managedResourceGroupName')]"
286
+ }
287
+ },
288
+ " assignedIdentity" : {
289
+ " value" : " [parameters('assignedIdentity')]"
290
+ },
291
+ " analyticsWorkspaceId" : {
292
+ " value" : " [parameters('analyticsWorkspaceId')]"
293
+ },
294
+ " networkFabricId" : {
295
+ " value" : " [parameters('networkFabricId')]"
296
+ },
297
+ " clusterType" : {
298
+ " value" : " [parameters('clusterType')]"
299
+ },
300
+ " clusterVersion" : {
301
+ " value" : " [parameters('clusterVersion')]"
302
+ },
303
+ " clusterLocation" : {
304
+ " value" : " [parameters('clusterLocation')]"
305
+ },
306
+ " customLocation" : {
307
+ " value" : " [parameters('customLocation')]"
308
+ },
309
+ " aggregatorOrSingleRack" : {
310
+ " value" : " [parameters('aggregatorOrSingleRack')]"
311
+ },
312
+ " analyticsOutputSettings" : {
313
+ " value" : {
314
+ " analyticsWorkspaceId" : " [parameters('analyticsWorkspaceId')]" ,
315
+ " associatedIdentity" : {
316
+ " identityType" : " UserAssignedIdentity" ,
317
+ " userAssignedIdentityResourceId" : " [parameters('assignedIdentity')]"
318
+ }
319
+ }
320
+ },
321
+ " commandOutputSettings" : {
322
+ " value" : {
323
+ " containerUrl" : " [parameters('containerUrl')]" ,
324
+ " associatedIdentity" : {
325
+ " identityType" : " UserAssignedIdentity" ,
326
+ " userAssignedIdentityResourceId" : " [parameters('assignedIdentity')]"
327
+ }
328
+ }
329
+ },
330
+ " secretArchiveSettings" : {
331
+ " value" : {
332
+ " vaultUri" : " [parameters('vaultUri')]" ,
333
+ " associatedIdentity" : {
334
+ " identityType" : " UserAssignedIdentity" ,
335
+ " userAssignedIdentityResourceId" : " [parameters('assignedIdentity')]"
336
+ }
337
+ }
338
+ },
339
+ " computeRacks" : {
340
+ " value" : " [parameters('computeRacks')]"
341
+ }
289
342
}
290
343
}
291
344
}
292
- } ,
345
+ ] ,
293
346
" outputs" : {}
294
347
}
295
348
```
0 commit comments