Skip to content

Commit 82b1732

Browse files
committed
adding thread storage api fix
1 parent 0279564 commit 82b1732

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

scenarios/Agents/setup/standard-agent-with-threadstorage/azuredeploy.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"_generator": {
66
"name": "bicep",
77
"version": "0.33.93.31351",
8-
"templateHash": "8527508992869683277"
8+
"templateHash": "637602810862498010"
99
}
1010
},
1111
"parameters": {
@@ -849,7 +849,7 @@
849849
"_generator": {
850850
"name": "bicep",
851851
"version": "0.33.93.31351",
852-
"templateHash": "10108960257155829972"
852+
"templateHash": "7642176966055642334"
853853
}
854854
},
855855
"parameters": {
@@ -1001,7 +1001,7 @@
10011001
},
10021002
{
10031003
"type": "Microsoft.MachineLearningServices/workspaces",
1004-
"apiVersion": "2024-10-01-preview",
1004+
"apiVersion": "2025-01-01-preview",
10051005
"name": "[parameters('aiHubName')]",
10061006
"location": "[parameters('location')]",
10071007
"tags": "[parameters('tags')]",
@@ -1087,7 +1087,7 @@
10871087
"_generator": {
10881088
"name": "bicep",
10891089
"version": "0.33.93.31351",
1090-
"templateHash": "2930065960155969856"
1090+
"templateHash": "18311793081093335135"
10911091
}
10921092
},
10931093
"parameters": {
@@ -1156,7 +1156,7 @@
11561156
"resources": [
11571157
{
11581158
"type": "Microsoft.MachineLearningServices/workspaces",
1159-
"apiVersion": "2024-10-01-preview",
1159+
"apiVersion": "2025-01-01-preview",
11601160
"name": "[parameters('aiProjectName')]",
11611161
"location": "[parameters('location')]",
11621162
"tags": "[union(parameters('tags'), createObject('ProjectConnectionString', variables('projectConnectionString')))]",
@@ -1176,7 +1176,7 @@
11761176
"name": "[format('{0}/{1}', parameters('aiProjectName'), variables('cosmosConnectionName'))]",
11771177
"properties": {
11781178
"category": "CosmosDB",
1179-
"target": "[format('https://{0}documents.azure.com:443/', parameters('cosmosDBName'))]",
1179+
"target": "[format('https://{0}.documents.azure.com:443/', parameters('cosmosDBName'))]",
11801180
"authType": "AAD",
11811181
"metadata": {
11821182
"ApiType": "Azure",
@@ -1204,15 +1204,15 @@
12041204
},
12051205
"aiProjectPrincipalId": {
12061206
"type": "string",
1207-
"value": "[reference(resourceId('Microsoft.MachineLearningServices/workspaces', parameters('aiProjectName')), '2024-10-01-preview', 'full').identity.principalId]"
1207+
"value": "[reference(resourceId('Microsoft.MachineLearningServices/workspaces', parameters('aiProjectName')), '2025-01-01-preview', 'full').identity.principalId]"
12081208
},
12091209
"aiProjectWorkspaceId": {
12101210
"type": "string",
1211-
"value": "[reference(resourceId('Microsoft.MachineLearningServices/workspaces', parameters('aiProjectName')), '2024-10-01-preview').workspaceId]"
1211+
"value": "[reference(resourceId('Microsoft.MachineLearningServices/workspaces', parameters('aiProjectName')), '2025-01-01-preview').workspaceId]"
12121212
},
12131213
"projectConnectionString": {
12141214
"type": "string",
1215-
"value": "[reference(resourceId('Microsoft.MachineLearningServices/workspaces', parameters('aiProjectName')), '2024-10-01-preview', 'full').tags.ProjectConnectionString]"
1215+
"value": "[reference(resourceId('Microsoft.MachineLearningServices/workspaces', parameters('aiProjectName')), '2025-01-01-preview', 'full').tags.ProjectConnectionString]"
12161216
}
12171217
}
12181218
}

scenarios/Agents/setup/standard-agent-with-threadstorage/modules-standard/standard-ai-hub.bicep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ resource searchService 'Microsoft.Search/searchServices@2024-06-01-preview' exis
6969
scope: resourceGroup(aiSearchServiceSubscriptionId, aiSearchServiceResourceGroupName)
7070
}
7171

72+
#disable-next-line BCP081
7273
resource aiHub 'Microsoft.MachineLearningServices/workspaces@2025-01-01-preview' = {
7374
name: aiHubName
7475
location: location

scenarios/Agents/setup/standard-agent-with-threadstorage/modules-standard/standard-ai-project.bicep

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ resource cosmosDBAccount 'Microsoft.DocumentDB/databaseAccounts@2024-12-01-previ
4040
scope: resourceGroup(cosmosDBSubscriptionId,cosmosDBResourceGroupName)
4141
}
4242

43+
#disable-next-line BCP081
4344
resource aiProject 'Microsoft.MachineLearningServices/workspaces@2025-01-01-preview' = {
4445
name: aiProjectName
4546
location: location
@@ -61,6 +62,7 @@ resource aiProject 'Microsoft.MachineLearningServices/workspaces@2025-01-01-prev
6162
kind: 'project'
6263
}
6364

65+
#disable-next-line BCP081
6466
resource project_connection_cosmosdb 'Microsoft.MachineLearningServices/workspaces/connections@2025-01-01-preview' = {
6567
name: cosmosConnectionName
6668
parent: aiProject

0 commit comments

Comments
 (0)