File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -827,7 +827,7 @@ module avmAiServices_cu 'br/public:avm/res/cognitive-services/account:0.13.2' =
827827 enableTelemetry : enableTelemetry
828828 networkAcls : {
829829 bypass : 'AzureServices'
830- defaultAction : 'Allow' // Always allow for AI Services
830+ defaultAction : ( enablePrivateNetworking ) ? 'Deny' : 'Allow'
831831 }
832832 roleAssignments : [
833833 {
Original file line number Diff line number Diff line change 66 "_generator": {
77 "name": "bicep",
88 "version": "0.40.2.10011",
9- "templateHash": "4821257159531769907 "
9+ "templateHash": "16588330151933076270 "
1010 },
1111 "name": "Content Processing Solution Accelerator",
1212 "description": "Bicep template to deploy the Content Processing Solution Accelerator with AVM compliance."
4092540925 "dependsOn": [
4092640926 "avmContainerApp",
4092740927 "avmManagedIdentity",
40928- "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]",
4092940928 "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]",
4093040929 "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]",
40930+ "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]",
4093140931 "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').contentUnderstanding)]",
4093240932 "logAnalyticsWorkspace",
4093340933 "virtualNetwork"
4098140981 "networkAcls": {
4098240982 "value": {
4098340983 "bypass": "AzureServices",
40984- "defaultAction": "Allow"
40984+ "defaultAction": "[if(parameters('enablePrivateNetworking'), 'Deny', ' Allow')] "
4098540985 }
4098640986 },
4098740987 "roleAssignments": {
You can’t perform that action at this time.
0 commit comments