Azure Bot Channel Facebook
This page shows how to write Terraform and Azure Resource Manager for Bot Channel Facebook and write them securely.
azurerm_bot_channel_facebook (Terraform)
The Channel Facebook in Bot can be configured in Terraform with the resource name azurerm_bot_channel_facebook
. 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
The following arguments are supported:
resource_group_name
- (Required) The name of the resource group where the Facebook 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.facebook_application_id
- (Required) The Facebook Application ID for the Facebook Channel.facebook_application_secret
- (Required) The Facebook Application Secret for the Facebook Channel.page
- (Required) One or morepage
blocks as defined below.
The page
block supports the following:
id
- (Required) The Facebook Page ID for the Facebook Channel.access_token
- (Required) The Facebook Page Access Token for the Facebook Channel.
The following attributes are exported:
id
- The ID of the Facebook Integration for a Bot Channel.
Explanation in Terraform Registry
Manages a Facebook integration for a Bot Channel
Note A bot can only have a single Facebook 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 - 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