|
6 | 6 | "_generator": { |
7 | 7 | "name": "bicep", |
8 | 8 | "version": "0.37.4.10188", |
9 | | - "templateHash": "4708808767614470236" |
| 9 | + "templateHash": "10857935115773987076" |
10 | 10 | }, |
11 | 11 | "name": "Modernize Your Code Solution Accelerator", |
12 | | - "description": "CSA CTO Gold Standard Solution Accelerator for Modernize Your Code. \n" |
| 12 | + "description": "CSA CTO Gold Standard Solution Accelerator for Modernize Your Code. \r\n" |
13 | 13 | }, |
14 | 14 | "parameters": { |
15 | 15 | "solutionName": { |
|
71 | 71 | "description": "Optional. AI model deployment token capacity. Defaults to 150K tokens per minute." |
72 | 72 | } |
73 | 73 | }, |
| 74 | + "enableMonitoring": { |
| 75 | + "type": "bool", |
| 76 | + "defaultValue": false, |
| 77 | + "metadata": { |
| 78 | + "description": "Optional. Enable monitoring for the resources. This will enable Application Insights and Log Analytics. Defaults to false." |
| 79 | + } |
| 80 | + }, |
| 81 | + "enableScaling": { |
| 82 | + "type": "bool", |
| 83 | + "defaultValue": false, |
| 84 | + "metadata": { |
| 85 | + "description": "Optional. Enable scaling for the container apps. Defaults to false." |
| 86 | + } |
| 87 | + }, |
74 | 88 | "enableRedundancy": { |
75 | 89 | "type": "bool", |
76 | 90 | "defaultValue": false, |
|
85 | 99 | "description": "Optional. The secondary location for the Cosmos DB account if redundancy is enabled." |
86 | 100 | } |
87 | 101 | }, |
| 102 | + "enablePrivateNetworking": { |
| 103 | + "type": "bool", |
| 104 | + "defaultValue": false, |
| 105 | + "metadata": { |
| 106 | + "description": "Optional. Enable private networking for the resources. Set to true to enable private networking. Defaults to false." |
| 107 | + } |
| 108 | + }, |
88 | 109 | "vmSize": { |
89 | 110 | "type": "string", |
90 | 111 | "nullable": true, |
|
165 | 186 | }, |
166 | 187 | "createdBy": { |
167 | 188 | "type": "string", |
168 | | - "defaultValue": "[if(empty(deployer().userPrincipalName), '', split(deployer().userPrincipalName, '@')[0])]", |
| 189 | + "defaultValue": "[if(contains(deployer(), 'userPrincipalName'), split(deployer().userPrincipalName, '@')[0], deployer().objectId)]", |
169 | 190 | "metadata": { |
170 | | - "description": "Optional created by user name" |
| 191 | + "description": "Tag, Created by user name" |
171 | 192 | } |
172 | 193 | } |
173 | 194 | }, |
|
430 | 451 | "apiVersion": "2021-04-01", |
431 | 452 | "name": "default", |
432 | 453 | "properties": { |
433 | | - "tags": "[shallowMerge(createArray(variables('allTags'), createObject('TemplateName', 'Code Modernization', 'CreatedBy', parameters('createdBy'))))]" |
| 454 | + "tags": "[shallowMerge(createArray(variables('allTags'), createObject('TemplateName', 'Code Modernization', 'Type', if(parameters('enablePrivateNetworking'), 'WAF', 'Non-WAF'), 'CreatedBy', parameters('createdBy'))))]" |
434 | 455 | } |
435 | 456 | }, |
436 | 457 | "avmTelemetry": { |
|
0 commit comments