File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
samples/agent-catalog/msft-agent-samples/foundry-agent-service-sdk/travel-planner/deployments Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ param account_name string
2+ param location string = 'global'
3+ var bingSearchName = 'bingsearch-${account_name }'
4+
5+ resource accountResource 'Microsoft.CognitiveServices/accounts@2025-04-01-preview' existing = {
6+ name : account_name
7+ scope : resourceGroup ()
8+ }
9+
10+ resource bingSearch 'Microsoft.Bing/accounts@2020-06-10' = {
11+ name : bingSearchName
12+ location : location
13+ sku : {
14+ name : 'G1'
15+ }
16+ kind : 'Bing.Grounding'
17+ }
18+
19+ resource bingConnection 'Microsoft.CognitiveServices/accounts/connections@2025-04-01-preview' = {
20+ name : '${account_name }-bingsearchconnection'
21+ parent : accountResource
22+ properties : {
23+ category : 'ApiKey'
24+ target : 'https://api.bing.microsoft.com/'
25+ authType : 'ApiKey'
26+ credentials : {
27+ key : listKeys (bingSearch .id , '2020-06-10' ).key1
28+ }
29+ isSharedToAll : true
30+ metadata : {
31+ ApiType : 'Azure'
32+ Location : bingSearch .location
33+ ResourceId : bingSearch .id
34+ }
35+ }
36+ }
You can’t perform that action at this time.
0 commit comments