Skip to content

Commit 4286d8f

Browse files
added agent supported region
1 parent 09b67ea commit 4286d8f

2 files changed

Lines changed: 41 additions & 2 deletions

File tree

infra/main.bicep

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,26 @@ param secondaryLocation string = 'eastus2'
1313
@description('Azure location for the solution. If not provided, it defaults to the resource group location.')
1414
param AZURE_LOCATION string = ''
1515

16+
@allowed([
17+
'australiaeast'
18+
'canadaeast'
19+
'centraluseuap'
20+
'eastus'
21+
'eastus2'
22+
'francecentral'
23+
'japaneast'
24+
'koreacentral'
25+
'norwayeast'
26+
'polandcentral'
27+
'southeastasia'
28+
'southindia'
29+
'swedencentral'
30+
'switzerlandnorth'
31+
'uaenorth'
32+
'uksouth'
33+
'westus'
34+
'westus3'
35+
])
1636
// ========== AI Deployments Location ========== //
1737
@description('Location for AI deployments. This should be a valid Azure region where OpenAI services are available.')
1838
@metadata({
@@ -43,7 +63,6 @@ param gptModelVersion string = '2025-04-14'
4363
@description('API version for Azure OpenAI service. This should be a valid API version supported by the service.')
4464
param azureOpenaiAPIVersion string = '2025-01-01-preview'
4565

46-
4766
@description('API version for Azure AI Agent service. This should be a valid API version supported by the service.')
4867
param azureAiAgentApiVersion string = '2025-05-01'
4968

infra/main.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"_generator": {
66
"name": "bicep",
77
"version": "0.36.177.2456",
8-
"templateHash": "7421251462011771854"
8+
"templateHash": "845392095832943834"
99
}
1010
},
1111
"parameters": {
@@ -34,6 +34,26 @@
3434
},
3535
"aiDeploymentsLocation": {
3636
"type": "string",
37+
"allowedValues": [
38+
"australiaeast",
39+
"canadaeast",
40+
"centraluseuap",
41+
"eastus",
42+
"eastus2",
43+
"francecentral",
44+
"japaneast",
45+
"koreacentral",
46+
"norwayeast",
47+
"polandcentral",
48+
"southeastasia",
49+
"southindia",
50+
"swedencentral",
51+
"switzerlandnorth",
52+
"uaenorth",
53+
"uksouth",
54+
"westus",
55+
"westus3"
56+
],
3757
"metadata": {
3858
"azd": {
3959
"type": "location",

0 commit comments

Comments
 (0)