File tree Expand file tree Collapse file tree
infra/modules/avm/cognitive-services Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -331,12 +331,7 @@ resource cognitiveService 'Microsoft.CognitiveServices/accounts@2025-04-01-previ
331331 virtualNetworkRules : networkAcls .?virtualNetworkRules ?? []
332332 ipRules : networkAcls .?ipRules ?? []
333333 }
334- // : null
335- : {
336- defaultAction : 'Deny' // Set to 'Deny' when networkAcls is null or empty
337- virtualNetworkRules : []
338- ipRules : []
339- }
334+ : null
340335 publicNetworkAccess : publicNetworkAccess != null
341336 ? publicNetworkAccess
342337 : (!empty (networkAcls ) ? 'Enabled' : 'Disabled' )
@@ -364,7 +359,7 @@ resource cognitiveService 'Microsoft.CognitiveServices/accounts@2025-04-01-previ
364359 userOwnedStorage : userOwnedStorage
365360 dynamicThrottlingEnabled : dynamicThrottlingEnabled
366361 }
367- }
362+ }
368363
369364
370365@batchSize (1 )
You can’t perform that action at this time.
0 commit comments