Azure Bot Connection

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

azurerm_bot_connection (Terraform)

The Connection in Bot can be configured in Terraform with the resource name azurerm_bot_connection. The following sections describe 1 example of how to use the resource and its parameters.

Example Usage from GitHub

main.tf#L7
resource "azurerm_bot_connection" "this" {
  bot_name              = var.bot_name
  client_id             = var.client_id
  client_secret         = var.client_secret
  location              = var.location
  name                  = var.name

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

Explanation in Terraform Registry

Manages a Bot Connection.

Microsoft.BotService/botServices/connections (Azure Resource Manager)

The botServices/connections in Microsoft.BotService can be configured in Azure Resource Manager with the resource name Microsoft.BotService/botServices/connections. 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 Bot Service Connection Setting resource.

  • properties required
      • clientId optional - string

        Client Id associated with the Connection Setting.

      • clientSecret optional - string

        Client Secret associated with the Connection Setting

      • id optional - string

        Id associated with the Connection Setting.

      • name optional - string

        Name associated with the Connection Setting.

      • parameters optional array
          • key optional - string

            Key for the Connection Setting Parameter.

          • value optional - string

            Value associated with the Connection Setting Parameter.

      • provisioningState optional - string

        Provisioning state of the resource

      • scopes optional - string

        Scopes associated with the Connection Setting

      • serviceProviderDisplayName optional - string

        Service Provider Display Name associated with the Connection Setting

      • serviceProviderId optional - string

        Service Provider Id associated with the Connection Setting

  • 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 Connection?

Azure Bot Connection 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 Connection?

For Terraform, the kevinhead/azurerm source code example is useful. See the Terraform Example section for further details.