Azure Bot Channel Line

This page shows how to write Terraform and Azure Resource Manager for Bot Channel Line and write them securely.

azurerm_bot_channel_line (Terraform)

The Channel Line in Bot can be configured in Terraform with the resource name azurerm_bot_channel_line. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Review your Terraform file for Azure best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

The following arguments are supported:

  • resource_group_name - (Required) The name of the resource group where the Line Channel should be created. Changing this forces a new resource to be created.

  • location - (Required) Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • bot_name - (Required) The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.

  • line_channel - (Required) One or more line_channel blocks as defined below.


The line_channel block supports the following:

  • access_token - (Required) The access token which is used to call the Line Channel API.

  • secret - (Required) The secret which is used to access the Line Channel.

The following attributes are exported:

  • id - The ID of the Line Integration for a Bot Channel.

Explanation in Terraform Registry

Manages a Line integration for a Bot Channel

Note A bot can only have a single Line Channel associated with it.

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 - string
  • etag optional - string

    Entity Tag

  • kind optional - string

    Required. Gets or sets the Kind of the resource.

  • location optional - string

    Specifies the location of the resource.

  • name required - string

    The name of the Channel resource.

  • properties required
      • etag optional - string

        Entity Tag of the resource

      • location optional - string

        Specifies the location of the resource.

  • sku optional
      • name required - string

        The sku name.

  • tags optional - string

    Contains resource tags defined as key/value pairs.

  • type required - string

Frequently asked questions

What is Azure Bot Channel Line?

Azure Bot Channel Line is a resource for Bot of Microsoft Azure. Settings can be wrote in Terraform.