@@ -2,6 +2,9 @@ metadata name = 'Modernize Your Code Solution Accelerator'
22metadata description = '''CSA CTO Gold Standard Solution Accelerator for Modernize Your Code.
33'''
44
5+ @description ('Set to true if you want to deploy WAF-aligned infrastructure.' )
6+ param useWafAlignedArchitecture bool
7+
58@minLength (3 )
69@maxLength (16 )
710@description ('Required. A unique application/solution name for all resources in this deployment. This should be 3-16 characters long.' )
@@ -29,19 +32,25 @@ param location string = resourceGroup().location
2932 'westus'
3033 'westus3'
3134])
32- @metadata ({ azd : { type : 'location' } })
35+ @metadata ({
36+ azd : {
37+ type : 'location'
38+ usageName : [
39+ 'OpenAI.GlobalStandard.gpt-4o, 150'
40+ ]
41+ }
42+ })
3343@description ('Optional. Location for all AI service resources. This location can be different from the resource group location.' )
34- param azureAiServiceLocation string = location
35-
44+ param azureAiServiceLocation string
3645
37- @description ('Optional. AI model deployment token capacity. Defaults to 5K tokens per minute.' )
38- param capacity int = 5 // was 5 before = 5K
46+ @description ('Optional. AI model deployment token capacity. Defaults to 150K tokens per minute.' )
47+ param capacity int = 150
3948
4049@description ('Optional. Enable monitoring for the resources. This will enable Application Insights and Log Analytics. Defaults to false.' )
41- param enableMonitoring bool = false
50+ param enableMonitoring bool = useWafAlignedArchitecture ? true : false
4251
4352@description ('Optional. Enable scaling for the container apps. Defaults to false.' )
44- param enableScaling bool = false
53+ param enableScaling bool = useWafAlignedArchitecture ? true : false
4554
4655@description ('Optional. Enable redundancy for applicable resources. Defaults to false.' )
4756param enableRedundancy bool = false
@@ -50,7 +59,7 @@ param enableRedundancy bool = false
5059param secondaryLocation string ?
5160
5261@description ('Optional. Enable private networking for the resources. Set to true to enable private networking. Defaults to false.' )
53- param enablePrivateNetworking bool = false
62+ param enablePrivateNetworking bool = useWafAlignedArchitecture ? true : false
5463
5564@description ('Optional. Admin username for the Jumpbox Virtual Machine. Set to custom value if enablePrivateNetworking is true.' )
5665@secure ()
0 commit comments