Skip to content

Commit 7ea3ce6

Browse files
authored
Merge pull request #10 from Azure-Samples/zhihuan/allowed_location
fix: change the allowed location list to full list in availability table
2 parents 953d5b5 + 3b6684a commit 7ea3ce6

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

infra/main.bicep

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,33 @@ param storageSkuName string // Set in main.parameters.json
2222

2323
param openAiServiceName string = ''
2424
param openAiResourceGroupName string = ''
25+
// Look for the desired model in availability table. Default model is gpt-4o-mini:
26+
// https://learn.microsoft.com/azure/ai-services/openai/concepts/models#standard-deployment-model-availability
2527
@description('Location for the OpenAI resource group')
26-
@allowed(['eastus', 'swedencentral'])
28+
@allowed([
29+
'australiaeast'
30+
'brazilsouth'
31+
'canadaeast'
32+
'eastus'
33+
'eastus2'
34+
'francecentral'
35+
'germanywestcentral'
36+
'japaneast'
37+
'koreacentral'
38+
'northcentralus'
39+
'norwayeast'
40+
'polandcentral'
41+
'southafricanorth'
42+
'southcentralus'
43+
'southindia'
44+
'spaincentral'
45+
'swedencentral'
46+
'switzerlandnorth'
47+
'uksouth'
48+
'westeurope'
49+
'westu'
50+
'westus3'
51+
])
2752
@metadata({
2853
azd: {
2954
type: 'location'

0 commit comments

Comments
 (0)