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
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
Parameters
-
bot_namerequired - string -
client_idrequired - string -
client_secretrequired - string -
idoptional computed - string -
locationrequired - string -
namerequired - string -
parametersoptional - map from string to string -
resource_group_namerequired - string -
scopesoptional - string -
service_provider_namerequired - string -
tagsoptional - map from string to string -
timeoutssingle block
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
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 Service Connection Setting resource.
propertiesrequiredclientIdoptional - stringClient Id associated with the Connection Setting.
clientSecretoptional - stringClient Secret associated with the Connection Setting
idoptional - stringId associated with the Connection Setting.
nameoptional - stringName associated with the Connection Setting.
parametersoptional arraykeyoptional - stringKey for the Connection Setting Parameter.
valueoptional - stringValue associated with the Connection Setting Parameter.
provisioningStateoptional - stringProvisioning state of the resource
scopesoptional - stringScopes associated with the Connection Setting
serviceProviderDisplayNameoptional - stringService Provider Display Name associated with the Connection Setting
serviceProviderIdoptional - stringService Provider Id associated with the Connection Setting
skuoptionalnamerequired - stringThe sku name.
tagsoptional - stringContains resource tags defined as key/value pairs.
typerequired - 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.