The following arguments are supported:
resource "azurerm_resource_group" "example" {
name = "example-resources"
location = "West Europe"
}
resource "azurerm_application_insights" "example" {
name = "example-appinsights"
location = azurerm_resource_group.example.location
resource_group_name = azurerm_resource_group.example.name
application_type = "web"
}
resource "azurerm_application_insights_api_key" "example" {
name = "example-appinsightsapikey"
application_insights_id = azurerm_application_insights.example.id
read_permissions = ["aggregate", "api", "draft", "extendqueries", "search"]
}
data "azurerm_client_config" "current" {}
resource "azurerm_bot_service_azure_bot" "example" {
name = "exampleazurebot"
resource_group_name = azurerm_resource_group.example.name
location = "global"
microsoft_app_id = data.azurerm_client_config.current.client_id
sku = "F0"
endpoint = "https://example.com"
developer_app_insights_api_key = azurerm_application_insights_api_key.example.api_key
developer_app_insights_application_id = azurerm_application_insights.example.app_id
tags = {
environment = "test"
}
}
az bot create --app-type
--appid
--name
--resource-group
[--cmk]
[--description]
[--display-name]
[--endpoint]
[--location]
[--msi-resource-id]
[--sku {F0, S1}]
[--tags]
[--tenant-id]
az bot create --name MyBot --resource-group MyBotResourceGroup --kind registration --location eastus --sku F0 --version v4 --language Csharp
Categorized by Availability, Security & Compliance and Cost