Azure Bot Web App
This page shows how to write Terraform and Azure Resource Manager for Bot Web App and write them securely.
azurerm_bot_web_app (Terraform)
The Web App in Bot can be configured in Terraform with the resource name azurerm_bot_web_app. The following sections describe 2 examples of how to use the resource and its parameters.
Example Usage from GitHub
resource "azurerm_bot_web_app" "this" {
developer_app_insights_api_key = var.developer_app_insights_api_key
developer_app_insights_application_id = var.developer_app_insights_application_id
developer_app_insights_key = var.developer_app_insights_key
display_name = var.display_name
endpoint = var.endpoint
resource "azurerm_bot_web_app" "this" {
developer_app_insights_api_key = var.developer_app_insights_api_key
developer_app_insights_application_id = var.developer_app_insights_application_id
developer_app_insights_key = var.developer_app_insights_key
display_name = var.display_name
endpoint = var.endpoint
Parameters
-
developer_app_insights_api_keyoptional computed - string -
developer_app_insights_application_idoptional computed - string -
developer_app_insights_keyoptional computed - string -
display_nameoptional computed - string -
endpointoptional - string -
idoptional computed - string -
locationrequired - string -
luis_app_idsoptional - list of string -
luis_keyoptional - string -
microsoft_app_idrequired - string -
namerequired - string -
resource_group_namerequired - string -
skurequired - string -
tagsoptional - map from string to string -
timeoutssingle block
Explanation in Terraform Registry
Manages a Bot Web App.
Microsoft.BotService/botServices (Azure Resource Manager)
The botServices in Microsoft.BotService can be configured in Azure Resource Manager with the resource name Microsoft.BotService/botServices. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
apiVersionrequired - stringetagoptional - stringEntity Tag
kindoptional - stringRequired. Gets or sets the Kind of the resource.
locationoptional - stringSpecifies the location of the resource.
namerequired - stringThe name of the Bot resource.
propertiesrequiredallSettingsoptional - stringContains resource all settings defined as key/value pairs.
appPasswordHintoptional - stringThe hint (e.g. keyVault secret resourceId) on how to fetch the app secret
cmekEncryptionStatusoptional - stringThe CMK encryption status
cmekKeyVaultUrloptional - stringThe CMK Url
descriptionoptional - stringThe description of the bot
developerAppInsightKeyoptional - stringThe Application Insights key
developerAppInsightsApiKeyoptional - stringThe Application Insights Api Key
developerAppInsightsApplicationIdoptional - stringThe Application Insights App Id
disableLocalAuthoptional - booleanOpt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.
displayNamerequired - stringThe Name of the bot
endpointrequired - stringThe bot's endpoint
iconUrloptional - stringThe Icon Url of the bot
isCmekEnabledoptional - booleanWhether Cmek is enabled
isDeveloperAppInsightsApiKeySetoptional - booleanWhether the bot is developerAppInsightsApiKey set
isStreamingSupportedoptional - booleanWhether the bot is streaming supported
luisAppIdsoptional - arrayCollection of LUIS App Ids
luisKeyoptional - stringThe LUIS Key
manifestUrloptional - stringThe bot's manifest url
msaAppIdrequired - stringMicrosoft App Id for the bot
msaAppMSIResourceIdoptional - stringMicrosoft App Managed Identity Resource Id for the bot
msaAppTenantIdoptional - stringMicrosoft App Tenant Id for the bot
msaAppTypeoptional - stringMicrosoft App Type for the bot.
openWithHintoptional - stringThe hint to browser (e.g. protocol handler) on how to open the bot for authoring
parametersoptional - stringContains resource parameters defined as key/value pairs.
publicNetworkAccessoptional - stringWhether the bot is in an isolated network.
publishingCredentialsoptional - stringPublishing credentials of the resource
schemaTransformationVersionoptional - stringThe channel schema transformation version for the bot
storageResourceIdoptional - stringThe storage resourceId for the bot
skuoptionalnamerequired - stringThe sku name.
tagsoptional - stringContains resource tags defined as key/value pairs.
typerequired - string
Frequently asked questions
What is Azure Bot Web App?
Azure Bot Web App is a resource for Bot of Microsoft Azure. Settings can be wrote in Terraform.
Where can I find the example code for the Azure Bot Web App?
For Terraform, the kevinhead/azurerm and niveklabs/azurerm source code examples are useful. See the Terraform Example section for further details.