Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 44 additions & 34 deletions infra/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.40.2.10011",
"templateHash": "91469570804589345"
"version": "0.39.26.7824",
"templateHash": "10482866727832640498"
},
"name": "Content Processing Solution Accelerator",
"description": "Bicep template to deploy the Content Processing Solution Accelerator with AVM compliance."
Expand Down Expand Up @@ -58,6 +58,16 @@
},
"aiServiceLocation": {
"type": "string",
"allowedValues": [
"australiaeast",
"centralus",
"eastasia",
"eastus2",
"japaneast",
"northeurope",
"southeastasia",
"uksouth"
],
"metadata": {
"azd": {
"type": "location",
Expand Down Expand Up @@ -338,8 +348,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.40.2.10011",
"templateHash": "637986880127430337"
"version": "0.39.26.7824",
"templateHash": "2779842231546071291"
}
},
"definitions": {
Expand Down Expand Up @@ -19215,8 +19225,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.40.2.10011",
"templateHash": "3741201002953968110"
"version": "0.39.26.7824",
"templateHash": "9967760373683235080"
}
},
"parameters": {
Expand Down Expand Up @@ -23221,8 +23231,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.40.2.10011",
"templateHash": "10844547551448610415"
"version": "0.39.26.7824",
"templateHash": "11438993289824448790"
}
},
"parameters": {
Expand Down Expand Up @@ -23813,8 +23823,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.40.2.10011",
"templateHash": "7885429842089695683"
"version": "0.39.26.7824",
"templateHash": "18073394536155497558"
},
"name": "Container Registry Module"
},
Expand Down Expand Up @@ -35177,8 +35187,8 @@
"avmContainerApp_API",
"avmContainerApp_Workflow",
"avmManagedIdentity",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageQueue)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageQueue)]",
"virtualNetwork"
]
},
Expand Down Expand Up @@ -35298,8 +35308,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.40.2.10011",
"templateHash": "7557665774149769517"
"version": "0.39.26.7824",
"templateHash": "11365341673325597162"
},
"name": "Cognitive Services",
"description": "This module deploys a Cognitive Service."
Expand Down Expand Up @@ -36548,8 +36558,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.40.2.10011",
"templateHash": "6588447351857766372"
"version": "0.39.26.7824",
"templateHash": "15006072223125242147"
}
},
"definitions": {
Expand Down Expand Up @@ -37512,7 +37522,7 @@
"condition": "[and(not(empty(coalesce(parameters('lock'), createObject()))), not(equals(tryGet(parameters('lock'), 'kind'), 'None')))]",
"type": "Microsoft.Authorization/locks",
"apiVersion": "2020-05-01",
"scope": "[resourceId('Microsoft.CognitiveServices/accounts', parameters('name'))]",
"scope": "[format('Microsoft.CognitiveServices/accounts/{0}', parameters('name'))]",
"name": "[coalesce(tryGet(parameters('lock'), 'name'), format('lock-{0}', parameters('name')))]",
"properties": {
"level": "[coalesce(tryGet(parameters('lock'), 'kind'), '')]",
Expand All @@ -37526,7 +37536,7 @@
},
"type": "Microsoft.Insights/diagnosticSettings",
"apiVersion": "2021-05-01-preview",
"scope": "[resourceId('Microsoft.CognitiveServices/accounts', parameters('name'))]",
"scope": "[format('Microsoft.CognitiveServices/accounts/{0}', parameters('name'))]",
"name": "[coalesce(tryGet(coalesce(parameters('diagnosticSettings'), createArray())[copyIndex()], 'name'), format('{0}-diagnosticSettings', parameters('name')))]",
"properties": {
"copy": [
Expand Down Expand Up @@ -37564,7 +37574,7 @@
},
"type": "Microsoft.Authorization/roleAssignments",
"apiVersion": "2022-04-01",
"scope": "[resourceId('Microsoft.CognitiveServices/accounts', parameters('name'))]",
"scope": "[format('Microsoft.CognitiveServices/accounts/{0}', parameters('name'))]",
"name": "[coalesce(tryGet(coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()], 'name'), guid(resourceId('Microsoft.CognitiveServices/accounts', parameters('name')), coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()].principalId, coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()].roleDefinitionId))]",
"properties": {
"roleDefinitionId": "[coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()].roleDefinitionId]",
Expand Down Expand Up @@ -38357,8 +38367,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.40.2.10011",
"templateHash": "14939823368517410024"
"version": "0.39.26.7824",
"templateHash": "12797226417049698978"
}
},
"definitions": {
Expand Down Expand Up @@ -38511,8 +38521,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.40.2.10011",
"templateHash": "13151306134286549002"
"version": "0.39.26.7824",
"templateHash": "422299638943108486"
}
},
"definitions": {
Expand Down Expand Up @@ -38729,8 +38739,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.40.2.10011",
"templateHash": "6588447351857766372"
"version": "0.39.26.7824",
"templateHash": "15006072223125242147"
}
},
"definitions": {
Expand Down Expand Up @@ -39693,7 +39703,7 @@
"condition": "[and(not(empty(coalesce(parameters('lock'), createObject()))), not(equals(tryGet(parameters('lock'), 'kind'), 'None')))]",
"type": "Microsoft.Authorization/locks",
"apiVersion": "2020-05-01",
"scope": "[resourceId('Microsoft.CognitiveServices/accounts', parameters('name'))]",
"scope": "[format('Microsoft.CognitiveServices/accounts/{0}', parameters('name'))]",
"name": "[coalesce(tryGet(parameters('lock'), 'name'), format('lock-{0}', parameters('name')))]",
"properties": {
"level": "[coalesce(tryGet(parameters('lock'), 'kind'), '')]",
Expand All @@ -39707,7 +39717,7 @@
},
"type": "Microsoft.Insights/diagnosticSettings",
"apiVersion": "2021-05-01-preview",
"scope": "[resourceId('Microsoft.CognitiveServices/accounts', parameters('name'))]",
"scope": "[format('Microsoft.CognitiveServices/accounts/{0}', parameters('name'))]",
"name": "[coalesce(tryGet(coalesce(parameters('diagnosticSettings'), createArray())[copyIndex()], 'name'), format('{0}-diagnosticSettings', parameters('name')))]",
"properties": {
"copy": [
Expand Down Expand Up @@ -39745,7 +39755,7 @@
},
"type": "Microsoft.Authorization/roleAssignments",
"apiVersion": "2022-04-01",
"scope": "[resourceId('Microsoft.CognitiveServices/accounts', parameters('name'))]",
"scope": "[format('Microsoft.CognitiveServices/accounts/{0}', parameters('name'))]",
"name": "[coalesce(tryGet(coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()], 'name'), guid(resourceId('Microsoft.CognitiveServices/accounts', parameters('name')), coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()].principalId, coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()].roleDefinitionId))]",
"properties": {
"roleDefinitionId": "[coalesce(variables('formattedRoleAssignments'), createArray())[copyIndex()].roleDefinitionId]",
Expand Down Expand Up @@ -40538,8 +40548,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.40.2.10011",
"templateHash": "14939823368517410024"
"version": "0.39.26.7824",
"templateHash": "12797226417049698978"
}
},
"definitions": {
Expand Down Expand Up @@ -40692,8 +40702,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.40.2.10011",
"templateHash": "13151306134286549002"
"version": "0.39.26.7824",
"templateHash": "422299638943108486"
}
},
"definitions": {
Expand Down Expand Up @@ -41711,10 +41721,10 @@
},
"dependsOn": [
"avmAiServices",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').contentUnderstanding)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').contentUnderstanding)]",
"virtualNetwork"
]
},
Expand Down Expand Up @@ -45013,8 +45023,8 @@
"dependsOn": [
"avmAiServices_cu",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').contentUnderstanding)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]",
"virtualNetwork"
]
},
Expand Down
Loading