Azure Bot Channel Directline
This page shows how to write Terraform and Azure Resource Manager for Bot Channel Directline and write them securely.
azurerm_bot_channel_directline (Terraform)
The Channel Directline in Bot can be configured in Terraform with the resource name azurerm_bot_channel_directline
. The following sections describe 1 example of how to use the resource and its parameters.
Example Usage from GitHub
resource "azurerm_bot_channel_directline" "this" {
bot_name = var.bot_name
location = var.location
resource_group_name = var.resource_group_name
dynamic "site" {
Parameters
-
bot_name
required - string -
id
optional computed - string -
location
required - string -
resource_group_name
required - string -
site
set block-
enabled
optional - bool -
enhanced_authentication_enabled
optional - bool -
id
optional computed - string -
key
optional computed - string -
key2
optional computed - string -
name
required - string -
trusted_origins
optional - set of string -
v1_allowed
optional - bool -
v3_allowed
optional - bool
-
-
timeouts
single block
Explanation in Terraform Registry
Manages a Directline integration for a Bot Channel
Microsoft.BotService/botServices/channels (Azure Resource Manager)
The botServices/channels in Microsoft.BotService can be configured in Azure Resource Manager with the resource name Microsoft.BotService/botServices/channels
. 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
apiVersion
required - stringetag
optional - stringEntity Tag
kind
optional - stringRequired. Gets or sets the Kind of the resource.
location
optional - stringSpecifies the location of the resource.
name
required - stringThe name of the Channel resource.
properties
requiredetag
optional - stringEntity Tag of the resource
location
optional - stringSpecifies the location of the resource.
sku
optionalname
required - stringThe sku name.
tags
optional - stringContains resource tags defined as key/value pairs.
type
required - string
Frequently asked questions
What is Azure Bot Channel Directline?
Azure Bot Channel Directline 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 Channel Directline?
For Terraform, the niveklabs/azurerm source code example is useful. See the Terraform Example section for further details.