Skip to content

Commit 6a2727e

Browse files
authored
Update clustermanager-jsonc-example.md
Update CM template for UAMI
1 parent 1339932 commit 6a2727e

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

articles/operator-nexus/clustermanager-jsonc-example.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,14 @@ ms.custom: template-how-to, devx-track-arm-template
1212
# Example of clusterManager.jsonc template file.
1313

1414
```clusterManager.jsonc
15-
1615
{
1716
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
1817
"contentVersion": "1.0.0.0",
1918
"parameters": {
2019
"environment": {
2120
"type": "string",
2221
"metadata": {
23-
"description": "Name of the environment"
22+
"description": "Name of the Environment"
2423
}
2524
},
2625
"name": {
@@ -49,20 +48,26 @@ ms.custom: template-how-to, devx-track-arm-template
4948
"resourceGroupName": {
5049
"type": "string",
5150
"metadata": {
52-
"description": "Specify the resource group for the resources."
51+
"description": "Specify the Resource Group for the resources."
5352
},
5453
"defaultValue": ""
5554
},
5655
"managedResourceGroupName": {
5756
"type": "string",
5857
"metadata": {
59-
"description": "Specify a managed resource group for the resource."
58+
"description": "Specify a Managed Resource Group for the resource."
6059
}
6160
},
6261
"clusterManagerTags": {
6362
"type": "object",
6463
"metadata": {
65-
"description": "Additional tags to pass to the cluster manager on creation"
64+
"description": "Additional tags to pass to the Cluster Manager on creation"
65+
}
66+
},
67+
"assignedIdentities": {
68+
"type": "object",
69+
"metadata": {
70+
"description": "The assigned identities for the Cluster Manager"
6671
}
6772
}
6873
},
@@ -72,7 +77,7 @@ ms.custom: template-how-to, devx-track-arm-template
7277
"type": "Microsoft.Resources/deployments",
7378
"apiVersion": "2021-04-01",
7479
"name": "[concat(parameters('environment'), '-lab-cm-deployment')]",
75-
"resourceGroup": "[parameters('resourceGroupName')]",
80+
"resourceGroup": "[parameters('resourceGroupName')]",
7681
"tags": {},
7782
"properties": {
7883
"debugSetting": {
@@ -112,16 +117,20 @@ ms.custom: template-how-to, devx-track-arm-template
112117
},
113118
"clusterManagerTags": {
114119
"type": "object"
120+
},
121+
"assignedIdentities": {
122+
"type": "object"
115123
}
116124
},
117125
"variables": {},
118126
"resources": [
119127
{
120128
"type": "Microsoft.NetworkCloud/clusterManagers",
121-
"apiVersion": "2023-07-01",
129+
"apiVersion": "2024-07-01",
122130
"name": "[parameters('name')]",
123131
"location": "[parameters('location')]",
124132
"tags": "[parameters('clusterManagerTags')]",
133+
"identity": "[parameters('assignedIdentities')]",
125134
"properties": {
126135
"fabricControllerId": "[parameters('fabricControllerId')]",
127136
"vmSize": "[if(equals(parameters('vmSize'), ''), json('null'), parameters('vmSize'))]",
@@ -157,6 +166,9 @@ ms.custom: template-how-to, devx-track-arm-template
157166
"resourceGroupName": {
158167
"value": "[parameters('resourceGroupName')]"
159168
},
169+
"assignedIdentities": {
170+
"value": "[parameters('assignedIdentities')]"
171+
},
160172
"managedResourceGroupConfiguration": {
161173
"value": {
162174
"location": "[parameters('location')]",

0 commit comments

Comments
 (0)