Files
microsoft--semantic-kernel/python/samples/demos/copilot_studio_skill/infra/bot.bicep
T
wehub-resource-sync b957a53def
CodeQL / Analyze (csharp) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:21:23 +08:00

38 lines
1011 B
Bicep

param uniqueId string
param prefix string
param messagesEndpoint string
param botAppId string
param botTenantId string
resource bot 'Microsoft.BotService/botServices@2023-09-15-preview' = {
name: '${prefix}bot${uniqueId}'
location: 'global'
sku: {
name: 'F0'
}
kind: 'azurebot'
properties: {
iconUrl: 'https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png'
displayName: '${prefix}bot${uniqueId}'
endpoint: messagesEndpoint
description: 'Bot created by Bicep'
publicNetworkAccess: 'Enabled'
msaAppId: botAppId
msaAppTenantId: botTenantId
msaAppType: 'SingleTenant'
msaAppMSIResourceId: null
schemaTransformationVersion: '1.3'
isStreamingSupported: false
}
}
// Connect the bot service to Microsoft Teams
resource botServiceMsTeamsChannel 'Microsoft.BotService/botServices/channels@2021-03-01' = {
parent: bot
location: 'global'
name: 'MsTeamsChannel'
properties: {
channelName: 'MsTeamsChannel'
}
}