|
6 | 6 | "_generator": { |
7 | 7 | "name": "bicep", |
8 | 8 | "version": "0.37.4.10188", |
9 | | - "templateHash": "6682056177373814634" |
| 9 | + "templateHash": "10045374231657176554" |
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": { |
@@ -38703,10 +38710,10 @@ |
38703 | 38710 | "dependsOn": [ |
38704 | 38711 | "avmContainerApp", |
38705 | 38712 | "avmManagedIdentity", |
38706 | | - "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').contentUnderstanding)]", |
38707 | | - "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]", |
38708 | 38713 | "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]", |
38709 | 38714 | "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]", |
| 38715 | + "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]", |
| 38716 | + "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').contentUnderstanding)]", |
38710 | 38717 | "logAnalyticsWorkspace", |
38711 | 38718 | "virtualNetwork" |
38712 | 38719 | ] |
|
41044 | 41051 | "dependsOn": [ |
41045 | 41052 | "avmContainerApp", |
41046 | 41053 | "avmManagedIdentity", |
41047 | | - "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').contentUnderstanding)]", |
41048 | 41054 | "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]", |
| 41055 | + "[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').contentUnderstanding)]", |
41049 | 41056 | "virtualNetwork" |
41050 | 41057 | ] |
41051 | 41058 | }, |
|
50941 | 50948 | "value": "[parameters('resourceGroupLocation')]" |
50942 | 50949 | }, |
50943 | 50950 | "enablePurgeProtection": { |
50944 | | - "value": false |
| 50951 | + "value": "[parameters('enablePurgeProtection')]" |
50945 | 50952 | }, |
50946 | 50953 | "tags": { |
50947 | 50954 | "value": { |
|
51060 | 51067 | }, |
51061 | 51068 | { |
51062 | 51069 | "name": "APP_AI_PROJECT_ENDPOINT", |
51063 | | - "value": "[reference('avmAiServices').outputs.aiProjectInfo.value.apiEndpoint]" |
| 51070 | + "value": "[coalesce(tryGet(reference('avmAiServices').outputs.aiProjectInfo.value, 'apiEndpoint'), '')]" |
51064 | 51071 | }, |
51065 | 51072 | { |
51066 | 51073 | "name": "APP_COSMOS_CONNSTR", |
|
58237 | 58244 | }, |
58238 | 58245 | "value": "[reference('avmContainerRegistry').outputs.loginServer.value]" |
58239 | 58246 | }, |
58240 | | - "resourceGroupName": { |
| 58247 | + "AZURE_RESOURCE_GROUP": { |
58241 | 58248 | "type": "string", |
58242 | 58249 | "metadata": { |
58243 | 58250 | "description": "The resource group the resources were deployed into." |
|
0 commit comments