|
6 | 6 | "_generator": { |
7 | 7 | "name": "bicep", |
8 | 8 | "version": "0.37.4.10188", |
9 | | - "templateHash": "14259315155038248870" |
| 9 | + "templateHash": "5583509537249625128" |
10 | 10 | }, |
11 | 11 | "name": "Content Processing Solution Accelerator", |
12 | 12 | "description": "Bicep template to deploy the Content Processing Solution Accelerator with AVM compliance." |
|
154 | 154 | "description": "Optional. Enable scalability for applicable resources, aligned with the Well Architected Framework recommendations. Defaults to false." |
155 | 155 | } |
156 | 156 | }, |
| 157 | + "enablePurgeProtection": { |
| 158 | + "type": "bool", |
| 159 | + "defaultValue": false, |
| 160 | + "metadata": { |
| 161 | + "description": "Optional. Enable purge protection. Defaults to false." |
| 162 | + } |
| 163 | + }, |
157 | 164 | "tags": { |
158 | 165 | "type": "object", |
159 | 166 | "metadata": { |
|
20454 | 20461 | "_generator": { |
20455 | 20462 | "name": "bicep", |
20456 | 20463 | "version": "0.37.4.10188", |
20457 | | - "templateHash": "16080670397776921948" |
| 20464 | + "templateHash": "251116960322750261" |
20458 | 20465 | }, |
20459 | 20466 | "name": "Key Vault Module" |
20460 | 20467 | }, |
|
20625 | 20632 | "enableTelemetry": { |
20626 | 20633 | "value": "[parameters('enableTelemetry')]" |
20627 | 20634 | }, |
20628 | | - "diagnosticSettings": { |
20629 | | - "value": [ |
20630 | | - { |
20631 | | - "workspaceResourceId": "[parameters('logAnalyticsWorkspaceResourceId')]" |
20632 | | - } |
20633 | | - ] |
20634 | | - }, |
| 20635 | + "diagnosticSettings": "[if(empty(parameters('logAnalyticsWorkspaceResourceId')), createObject('value', null()), createObject('value', createArray(createObject('workspaceResourceId', parameters('logAnalyticsWorkspaceResourceId')))))]", |
20635 | 20636 | "networkAcls": { |
20636 | 20637 | "value": "[parameters('networkAcls')]" |
20637 | 20638 | } |
|
32967 | 32968 | "avmContainerApp", |
32968 | 32969 | "avmContainerApp_API", |
32969 | 32970 | "avmManagedIdentity", |
32970 | | - "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]", |
32971 | 32971 | "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageQueue)]", |
| 32972 | + "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]", |
32972 | 32973 | "virtualNetwork" |
32973 | 32974 | ] |
32974 | 32975 | }, |
|
38710 | 38711 | "avmContainerApp", |
38711 | 38712 | "avmManagedIdentity", |
38712 | 38713 | "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]", |
38713 | | - "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]", |
38714 | 38714 | "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]", |
| 38715 | + "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]", |
38715 | 38716 | "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').contentUnderstanding)]", |
38716 | 38717 | "logAnalyticsWorkspace", |
38717 | 38718 | "virtualNetwork" |
|
41050 | 41051 | "dependsOn": [ |
41051 | 41052 | "avmContainerApp", |
41052 | 41053 | "avmManagedIdentity", |
41053 | | - "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').contentUnderstanding)]", |
41054 | 41054 | "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]", |
| 41055 | + "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').contentUnderstanding)]", |
41055 | 41056 | "virtualNetwork" |
41056 | 41057 | ] |
41057 | 41058 | }, |
|
50947 | 50948 | "value": "[parameters('resourceGroupLocation')]" |
50948 | 50949 | }, |
50949 | 50950 | "enablePurgeProtection": { |
50950 | | - "value": false |
| 50951 | + "value": "[parameters('enablePurgeProtection')]" |
50951 | 50952 | }, |
50952 | 50953 | "tags": { |
50953 | 50954 | "value": { |
|
58243 | 58244 | }, |
58244 | 58245 | "value": "[reference('avmContainerRegistry').outputs.loginServer.value]" |
58245 | 58246 | }, |
58246 | | - "resourceGroupName": { |
| 58247 | + "AZURE_RESOURCE_GROUP": { |
58247 | 58248 | "type": "string", |
58248 | 58249 | "metadata": { |
58249 | 58250 | "description": "The resource group the resources were deployed into." |
|
0 commit comments