Microsoft.BotService botServices 2017-12-01

Template format

To create a Microsoft.BotService/botServices resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.BotService/botServices",
  "apiVersion": "2017-12-01",
  "location": "string",
  "tags": {},
  "sku": {
    "name": "string"
  },
  "kind": "string",
  "properties": {
    "displayName": "string",
    "description": "string",
    "iconUrl": "string",
    "endpoint": "string",
    "msaAppId": "string",
    "developerAppInsightKey": "string",
    "developerAppInsightsApiKey": "string",
    "developerAppInsightsApplicationId": "string",
    "luisAppIds": [
      "string"
    ],
    "luisKey": "string"
  },
  "resources": []
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.BotService/botServices object

Note

In Bicep, type and apiVersion are specified in the first line of the resource declaration. Use the format <type>@<apiVersion>. Don't set those properties in the resource body.

Name Type Required Value
name string Yes The name of the Bot resource.
type enum Yes For JSON - Microsoft.BotService/botServices
apiVersion enum Yes For JSON - 2017-12-01
location string No Specifies the location of the resource.
tags object No Contains resource tags defined as key/value pairs.
sku object No Gets or sets the SKU of the resource. - Sku object
kind enum No Required. Gets or sets the Kind of the resource. - sdk, designer, bot, function
properties object Yes The set of properties specific to bot resource - BotProperties object
resources array No Connections channels

Sku object

Name Type Required Value
name enum Yes The sku name. - F0 or S1

BotProperties object

Name Type Required Value
displayName string Yes The Name of the bot
description string No The description of the bot
iconUrl string No The Icon Url of the bot
endpoint string Yes The bot's endpoint
msaAppId string Yes Microsoft App Id for the bot
developerAppInsightKey string No The Application Insights key
developerAppInsightsApiKey string No The Application Insights Api Key
developerAppInsightsApplicationId string No The Application Insights App Id
luisAppIds array No Collection of LUIS App Ids - string
luisKey string No The LUIS Key