@@ -43,7 +43,7 @@ param location string
4343 }
4444})
4545@description ('Required. Location for all AI service resources. This should be one of the supported Azure AI Service locations.' )
46- param aiDeploymentsLocation string
46+ param azureAiServiceLocation string
4747
4848@minLength (1 )
4949@description ('Optional. Name of the GPT model to deploy:' )
@@ -53,8 +53,12 @@ param gptModelName string = 'gpt-4o'
5353param gptModelVersion string = '2024-08-06'
5454
5555@minLength (1 )
56+ @allowed ([
57+ 'Standard'
58+ 'GlobalStandard'
59+ ])
5660@description ('Optional. GPT model deployment type. Defaults to GlobalStandard.' )
57- param modelDeploymentType string = 'GlobalStandard'
61+ param gptModelDeploymentType string = 'GlobalStandard'
5862
5963@description ('Optional. AI model deployment token capacity. Defaults to 150 for optimal performance.' )
6064param gptModelCapacity int = 150
@@ -927,7 +931,7 @@ var aiFoundryAiServicesModelDeployment = {
927931 name : gptModelName
928932 version : gptModelVersion
929933 sku : {
930- name : modelDeploymentType
934+ name : gptModelDeploymentType
931935 capacity : gptModelCapacity
932936 }
933937 raiPolicyName : 'Microsoft.Default'
@@ -938,7 +942,7 @@ module aiFoundryAiServices 'modules/ai-services.bicep' = if (aiFoundryAIservices
938942 name : take ('avm.res.cognitive-services.account.${aiFoundryAiServicesResourceName }' , 64 )
939943 params : {
940944 name : aiFoundryAiServicesResourceName
941- location : aiDeploymentsLocation
945+ location : azureAiServiceLocation
942946 tags : tags
943947 projectName : aiFoundryAiServicesAiProjectResourceName
944948 projectDescription : 'AI Foundry Project'
@@ -1169,7 +1173,7 @@ module containerAppEnvironment 'br/public:avm/res/app/managed-environment:0.11.2
11691173 destination : 'log-analytics'
11701174 logAnalyticsConfiguration : {
11711175 customerId : logAnalyticsWorkspace !.outputs .logAnalyticsWorkspaceId
1172- sharedKey : logAnalyticsWorkspace ! .outputs .primarySharedKey
1176+ sharedKey : logAnalyticsWorkspace .outputs .primarySharedKey
11731177 }
11741178 }
11751179 : null
0 commit comments