Microsoft.BotService ボットサービス/チャネル

Bicep リソース定義

botServices/channels リソースの種類は、次を対象とする操作でデプロイできます。

  • リソース グループの - リソース グループのデプロイ コマンド 参照

各 API バージョンで変更されたプロパティの一覧については、変更ログの参照してください。

使用例

Bicep サンプル

ボットチャネルの統合をデプロイする基本的な例。

param resourceName string = 'acctest0001'
param location string = 'westus'

resource botService 'Microsoft.BotService/botServices@2021-05-01-preview' = {
  name: resourceName
  location: location
  sku: {
    name: 'F0'
  }
  kind: 'bot'
  properties: {
    cmekKeyVaultUrl: ''
    description: ''
    developerAppInsightKey: ''
    developerAppInsightsApiKey: ''
    developerAppInsightsApplicationId: ''
    displayName: resourceName
    endpoint: ''
    iconUrl: 'https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png'
    isCmekEnabled: false
    isStreamingSupported: false
    msaAppId: '12345678-1234-1234-1234-123456789012'
  }
}

resource channel 'Microsoft.BotService/botServices/channels@2021-05-01-preview' = {
  name: 'AlexaChannel'
  location: location
  parent: botService
  kind: 'bot'
  properties: {
    channelName: 'AlexaChannel'
    properties: {
      alexaSkillId: 'amzn1.ask.skill.19126e57-867f-4553-b953-ad0a720dddec'
      isEnabled: true
    }
  }
}

リソース形式

Microsoft.BotService/botServices/channels リソースを作成するには、次の Bicep をテンプレートに追加します。

resource symbolicname 'Microsoft.BotService/botServices/channels@2023-09-15-preview' = {
  parent: resourceSymbolicName
  etag: 'string'
  kind: 'string'
  location: 'string'
  name: 'string'
  properties: {
    etag: 'string'
    location: 'string'
    channelName: 'string'
    // For remaining properties, see Channel objects
  }
  sku: {
    name: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

チャネルオブジェクト

channelName プロパティを設定して、オブジェクトのタイプを指定します。

AcsChatChannel の場合は、次を使用します。

{
  channelName: 'AcsChatChannel'
}

AlexaChannelの場合は、以下を使用します。

{
  channelName: 'AlexaChannel'
  properties: {
    alexaSkillId: 'string'
    isEnabled: bool
  }
}

DirectLineChannel の場合は、次を使用します。

{
  channelName: 'DirectLineChannel'
  properties: {
    DirectLineEmbedCode: 'string'
    extensionKey1: 'string'
    extensionKey2: 'string'
    sites: [
      {
        appId: 'string'
        eTag: 'string'
        isBlockUserUploadEnabled: bool
        isDetailedLoggingEnabled: bool
        isEnabled: bool
        isEndpointParametersEnabled: bool
        isNoStorageEnabled: bool
        isSecureSiteEnabled: bool
        isV1Enabled: bool
        isV3Enabled: bool
        isWebchatPreviewEnabled: bool
        isWebChatSpeechEnabled: bool
        siteName: 'string'
        tenantId: 'string'
        trustedOrigins: [
          'string'
        ]
      }
    ]
  }
}

DirectLineSpeechChannel の場合は、次を使用します。

{
  channelName: 'DirectLineSpeechChannel'
  properties: {
    cognitiveServiceRegion: 'string'
    cognitiveServiceResourceId: 'string'
    cognitiveServiceSubscriptionKey: 'string'
    customSpeechModelId: 'string'
    customVoiceDeploymentId: 'string'
    isDefaultBotForCogSvcAccount: bool
    isEnabled: bool
  }
}

EmailChannel の場合は、次を使用します。

{
  channelName: 'EmailChannel'
  properties: {
    authMethod: int
    emailAddress: 'string'
    isEnabled: bool
    magicCode: 'string'
    password: 'string'
  }
}

FacebookChannel の場合は、次を使用します。

{
  channelName: 'FacebookChannel'
  properties: {
    appId: 'string'
    appSecret: 'string'
    isEnabled: bool
    pages: [
      {
        accessToken: 'string'
        id: 'string'
      }
    ]
  }
}

KikChannel の場合は、次を使用します。

{
  channelName: 'KikChannel'
  properties: {
    apiKey: 'string'
    isEnabled: bool
    isValidated: bool
    userName: 'string'
  }
}

LineChannel の場合は、次を使用します。

{
  channelName: 'LineChannel'
  properties: {
    lineRegistrations: [
      {
        channelAccessToken: 'string'
        channelSecret: 'string'
      }
    ]
  }
}

M365Extensions の場合は、次を使用します。

{
  channelName: 'M365Extensions'
}

MsTeamsChannel の場合は、次を使用します。

{
  channelName: 'MsTeamsChannel'
  properties: {
    acceptedTerms: bool
    callingWebhook: 'string'
    deploymentEnvironment: 'string'
    enableCalling: bool
    incomingCallRoute: 'string'
    isEnabled: bool
  }
}

オムニチャネルの場合は、次を使用します。

{
  channelName: 'Omnichannel'
}

OutlookChannel の場合は、次を使用します。

{
  channelName: 'OutlookChannel'
}

SearchAssistant の場合は、次を使用します。

{
  channelName: 'SearchAssistant'
}

SkypeChannel の場合は、次を使用します。

{
  channelName: 'SkypeChannel'
  properties: {
    callingWebHook: 'string'
    enableCalling: bool
    enableGroups: bool
    enableMediaCards: bool
    enableMessaging: bool
    enableScreenSharing: bool
    enableVideo: bool
    groupsMode: 'string'
    incomingCallRoute: 'string'
    isEnabled: bool
  }
}

SlackChannel の場合は、以下を使用します。

{
  channelName: 'SlackChannel'
  properties: {
    clientId: 'string'
    clientSecret: 'string'
    isEnabled: bool
    landingPageUrl: 'string'
    registerBeforeOAuthFlow: bool
    scopes: 'string'
    signingSecret: 'string'
    verificationToken: 'string'
  }
}

SmsChannel の場合は、次を使用します。

{
  channelName: 'SmsChannel'
  properties: {
    accountSID: 'string'
    authToken: 'string'
    isEnabled: bool
    isValidated: bool
    phone: 'string'
  }
}

TelegramChannel の場合は、以下を使用します。

{
  channelName: 'TelegramChannel'
  properties: {
    accessToken: 'string'
    isEnabled: bool
    isValidated: bool
  }
}

TelephonyChannel の場合は、次を使用します。

{
  channelName: 'TelephonyChannel'
  properties: {
    apiConfigurations: [
      {
        cognitiveServiceRegion: 'string'
        cognitiveServiceResourceId: 'string'
        cognitiveServiceSubscriptionKey: 'string'
        defaultLocale: 'string'
        id: 'string'
        providerName: 'string'
      }
    ]
    cognitiveServiceRegion: 'string'
    cognitiveServiceSubscriptionKey: 'string'
    defaultLocale: 'string'
    isEnabled: bool
    phoneNumbers: [
      {
        acsEndpoint: 'string'
        acsResourceId: 'string'
        acsSecret: 'string'
        cognitiveServiceRegion: 'string'
        cognitiveServiceResourceId: 'string'
        cognitiveServiceSubscriptionKey: 'string'
        defaultLocale: 'string'
        id: 'string'
        offerType: 'string'
        phoneNumber: 'string'
      }
    ]
    premiumSKU: 'string'
  }
}

WebChatChannel の場合は、以下を使用します。

{
  channelName: 'WebChatChannel'
  properties: {
    sites: [
      {
        appId: 'string'
        eTag: 'string'
        isBlockUserUploadEnabled: bool
        isDetailedLoggingEnabled: bool
        isEnabled: bool
        isEndpointParametersEnabled: bool
        isNoStorageEnabled: bool
        isSecureSiteEnabled: bool
        isV1Enabled: bool
        isV3Enabled: bool
        isWebchatPreviewEnabled: bool
        isWebChatSpeechEnabled: bool
        siteName: 'string'
        tenantId: 'string'
        trustedOrigins: [
          'string'
        ]
      }
    ]
  }
}

プロパティ値

Microsoft.BotService/botServices/channels

Name Description Value
etag エンティティタグ。 文字列
kind Required. リソースの種類を取得または設定します。 'azurebot'
'bot'
'designer'
'function'
'sdk'
位置 リソースの場所を指定します。 文字列
name リソース名 'AcsChatChannel'
'AlexaChannel'
'DirectLineChannel'
'DirectLineSpeechChannel'
'EmailChannel'
'FacebookChannel'
'KikChannel'
'LineChannel'
'M365Extensions'
'MsTeamsChannel'
'Omnichannel'
'OutlookChannel'
'SearchAssistant'
'SkypeChannel'
'SlackChannel'
'SmsChannel'
'TelegramChannel'
'TelephonyChannel'
'WebChatChannel' (必須)
親 Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。

詳細については、「親リソースの外部 子リソース」を参照してください。
型のリソースのシンボリック名: botServices
properties ボット チャネル リソースに固有のプロパティのセット Channel
sku リソースの SKU を取得または設定します。 Sku
tags リソース タグ タグ名と値のディクショナリ。 テンプレート の タグを参照してください

AcsChatChannel

Name Description Value
channelName チャネル名 'AcsChatChannel' (必須)

AlexaChannel

Name Description Value
channelName チャネル名 'AlexaChannel' (必須)
properties Alexa チャネル リソースに固有のプロパティのセット AlexaChannelProperties

AlexaChannelProperties

Name Description Value
alexaSkillId Alexa スキル ID 文字列 (必須)
isEnabled このチャネルがボットに対して有効になっているかどうか bool (必須)

BotChannelタグ

Name Description Value

Channel

Name Description Value
channelName AcsChatChannel 型を ' AcsChatChannel' に設定します。 AlexaChannelタイプを「AlexaChannel」に設定します。 DirectLineChannel 型を 'DirectLineChannel' に設定します。 DirectLineSpeechChannel 型の 'DirectLineSpeechChannel' に設定します。 EmailChannel タイプを 'EmailChannel' に設定します。 タイプ FacebookChannel を 'FacebookChannel' に設定します。 タイプ KikChannel を 'KikChannel' に設定します。 タイプ LineChannel を 'LineChannel' に設定します。 タイプ M365Extensions の場合は 'M365Extensions' に設定します。 MsTeamsChannel 型の場合は 'MsTeamsChannel' に設定します。 タイプ オムニチャネル を 'オムニチャネル' に設定します。 タイプ OutlookChannel を 'OutlookChannel' に設定します。 SearchAssistant タイプを ' SearchAssistant' に設定します。 SkypeChannel の種類を 'SkypeChannel' に設定します。 SlackChannel型の「SlackChannel」に設定します。 SmsChannel 型の場合は 'SmsChannel' に設定します。 タイプ TelegramChannel を 'TelegramChannel' に設定します。 TelephonyChannel 型の 'TelephonyChannel' に設定します。 WebChatChannel 型を 'WebChatChannel' に設定します。 'AcsChatChannel'
'AlexaChannel'
'DirectLineChannel'
'DirectLineSpeechChannel'
'EmailChannel'
'FacebookChannel'
'KikChannel'
'LineChannel'
'M365Extensions'
'MsTeamsChannel'
'Omnichannel'
'OutlookChannel'
'SearchAssistant'
'SkypeChannel'
'SlackChannel'
'SmsChannel'
'TelegramChannel'
'TelephonyChannel'
'WebChatChannel' (必須)
etag リソースのエンティティ タグ 文字列
位置 リソースの場所を指定します。 文字列

DirectLineChannel

Name Description Value
channelName チャネル名 'DirectLineChannel' (必須)
properties Direct Line チャネル リソースに固有のプロパティのセット DirectLineChannelProperties

DirectLineChannelProperties

Name Description Value
DirectLineEmbedCode リソースの Direct Line 埋め込みコード 文字列
extensionKey1 extensionKey1 文字列
extensionKey2 extensionKey2 文字列
sites Direct Line サイトの一覧 DirectLineSite[]

DirectLineSite

Name Description Value
appId DirectLine アプリケーション ID 文字列
eTag エンティティ タグ 文字列
isBlockUserUploadEnabled このサイトでユーザーのアップロードのブロックが有効になっているかどうか。 bool
isDetailedLoggingEnabled このサイトが無効になっているかどうかの詳細なログ記録 bool
isEnabled このサイトが DirectLine チャネルに対して有効になっているかどうか bool (必須)
isEndpointParametersEnabled このサイトが EndpointParameters でチャネルに対して有効になっているかどうか bool
isNoStorageEnabled このストレージなしサイトが無効になっているかどうかの詳細なログ記録 bool
isSecureSiteEnabled このサイトが Bot Framework での認証に対して有効になっているかどうか。 bool
isV1Enabled このサイトが Bot Framework V1 プロトコルに対して有効になっているかどうか。 bool
isV3Enabled このサイトが Bot Framework V3 プロトコルに対して有効になっているかどうか。 bool
isWebchatPreviewEnabled このサイトが Web チャットのプレビュー バージョンに対して有効になっているかどうか bool
isWebChatSpeechEnabled このサイトが Webchat Speech に対して有効になっているかどうか bool
siteName サイト名 文字列 (必須)
tenantId テナント ID 文字列
trustedOrigins このサイトの信頼できる配信元 URL の一覧。 このフィールドは、isSecureSiteEnabled が True の場合にのみ適用されます。 string[]

DirectLineSpeechChannel

Name Description Value
channelName チャネル名 'DirectLineSpeechChannel' (必須)
properties DirectLine Speech チャネル リソースに固有のプロパティのセット DirectLineSpeechChannelProperties

DirectLineSpeechChannelProperties

Name Description Value
cognitiveServiceRegion このチャネル登録を使用するコグニティブ サービス リージョン。 文字列
cognitiveServiceResourceId このチャネル登録のコグニティブ サービス ID。 文字列
cognitiveServiceSubscriptionKey このチャネル登録で使用するコグニティブ サービス サブスクリプション キー。 string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。
customSpeechModelId カスタム音声展開 ID (省略可能)。 文字列
customVoiceDeploymentId カスタム音声モデル ID (省略可能)。 文字列
isDefaultBotForCogSvcAccount これを、選択したコグニティブ サービス アカウントの既定のボットにします。 bool
isEnabled このチャネルが有効かどうか。 bool

EmailChannel

Name Description Value
channelName チャネル名 'EmailChannel' (必須)
properties 電子メール チャネル リソースに固有のプロパティのセット EmailChannelProperties

EmailChannelProperties

Name Description Value
authMethod 電子メール チャネルの認証方法。 0 パスワード (既定値);1 グラフ。 int
emailAddress 電子メール アドレス 文字列 (必須)
isEnabled このチャネルがボットに対して有効になっているかどうか bool (必須)
magicCode 先進認証を設定するためのマジック コード。 文字列
パスワード メール アドレスのパスワード。 アクション チャネル リスト API に対して POST 経由でのみ返される値。それ以外の場合は空です。 文字列

FacebookChannel

Name Description Value
channelName チャネル名 'FacebookChannel' (必須)
properties ボット facebook チャネルに固有のプロパティのセット FacebookChannelProperties

FacebookChannelProperties

Name Description Value
appId Facebook アプリケーション ID 文字列 (必須)
appSecret Facebook アプリケーション シークレット。 アクション チャネル リスト API に対して POST 経由でのみ返される値。それ以外の場合は空です。 string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。
isEnabled このチャネルがボットに対して有効になっているかどうか bool (必須)
pages Facebook ページの一覧 FacebookPage[]

FacebookPage

Name Description Value
accessToken Facebook アプリケーション アクセス トークン。 アクション チャネル リスト API に対して POST 経由でのみ返される値。それ以外の場合は空です。 string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。
id ページ ID 文字列 (必須)

KikChannel

Name Description Value
channelName チャネル名 'KikChannel' (必須)
properties Kik チャネル リソースに固有のプロパティのセット KikChannelProperties

KikChannelProperties

Name Description Value
apiKey Kik API キー。 アクション チャネル リスト API に対して POST 経由でのみ返される値。それ以外の場合は空です。 文字列
isEnabled このチャネルがボットに対して有効になっているかどうか bool (必須)
isValidated このチャネルがボットに対して検証されるかどうか bool
userName Kik ユーザー名 文字列 (必須)

LineChannel

Name Description Value
channelName チャネル名 'LineChannel' (必須)
properties ライン チャネル リソースに固有のプロパティのセット LineChannelProperties

LineChannelProperties

Name Description Value
lineRegistrations 回線チャネル登録の一覧 LineRegistration[] (必須)

LineRegistration

Name Description Value
channelAccessToken 回線チャネル登録のアクセス トークン string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。
channelSecret 回線チャネル登録のシークレット string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。

M365Extensions

Name Description Value
channelName チャネル名 'M365Extensions' (必須)

MsTeamsChannel

Name Description Value
channelName チャネル名 'MsTeamsChannel' (必須)
properties チャネル リソースに固有のプロパティのセットMicrosoft Teams MsTeamsChannelProperties

MsTeamsChannelProperties

Name Description Value
acceptedTerms このチャネルが条件に同意したかどうか bool
callingWebhook Microsoft Teams チャネル呼び出し用の Webhook 文字列
deploymentEnvironment Microsoft Teams チャネル呼び出しのデプロイ環境 文字列
enableCalling Microsoft Teams チャネルの呼び出しを有効にする bool
incomingCallRoute Microsoft Teams チャネル呼び出し用の Webhook 文字列
isEnabled このチャネルがボットに対して有効になっているかどうか bool (必須)

Omnichannel

Name Description Value
channelName チャネル名 「オムニチャネル」(必須)

OutlookChannel

Name Description Value
channelName チャネル名 'OutlookChannel' (必須)

SearchAssistant

Name Description Value
channelName チャネル名 'SearchAssistant' (必須)

Sku

Name Description Value
name SKU 名 'F0'
'S1' (必須)

SkypeChannel

Name Description Value
channelName チャネル名 'SkypeChannel' (必須)
properties Skype チャネル リソースに固有のプロパティのセット SkypeChannelProperties

SkypeChannelProperties

Name Description Value
callingWebHook Skype チャネルの Web フックの呼び出し 文字列
enableCalling Skype チャネルの通話を有効にする bool
enableGroups Skype チャネルのグループを有効にする bool
enableMediaCards Skype チャネルのメディア カードを有効にする bool
enableMessaging Skype チャネルのメッセージングを有効にする bool
enableScreenSharing Skype チャネルの画面共有を有効にする bool
enableVideo Skype チャネルのビデオを有効にする bool
groupsMode Skype チャネルのグループ モード 文字列
incomingCallRoute Skype チャネルの着信通話ルート 文字列
isEnabled このチャネルがボットに対して有効になっているかどうか bool (必須)

SlackChannel

Name Description Value
channelName チャネル名 'SlackChannel' (必須)
properties Slack チャネル リソースに固有のプロパティのセット SlackChannelProperties

SlackChannelProperties

Name Description Value
clientId Slack クライアント ID 文字列
clientSecret Slack クライアント シークレット。 アクション チャネル リスト API に対して POST 経由でのみ返される値。それ以外の場合は空です。 string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。
isEnabled このチャネルがボットに対して有効になっているかどうか bool (必須)
landingPageUrl Slack ランディング ページの URL 文字列
registerBeforeOAuthFlow OAuth 検証を実行する前に設定を登録するかどうか。 True に推奨されます。 bool
scopes Slack のアクセス許可スコープ。 文字列
signingSecret Slack 署名シークレット。 string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。
verificationToken Slack 検証トークン。 アクション チャネル リスト API に対して POST 経由でのみ返される値。それ以外の場合は空です。 string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。

SmsChannel

Name Description Value
channelName チャネル名 'SmsChannel' (必須)
properties Sms チャネル リソースに固有のプロパティのセット SmsChannelProperties

SmsChannelProperties

Name Description Value
accountSID Sms アカウント SID。 アクション チャネル リスト API に対して POST 経由でのみ返される値。それ以外の場合は空です。 文字列 (必須)
authToken Sms 認証トークン。 アクション チャネル リスト API に対して POST 経由でのみ返される値。それ以外の場合は空です。 string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。
isEnabled このチャネルがボットに対して有効になっているかどうか bool (必須)
isValidated このチャネルがボットに対して検証されるかどうか bool
phone SMS 電話 文字列 (必須)

TelegramChannel

Name Description Value
channelName チャネル名 'TelegramChannel' (必須)
properties Telegram チャネル リソースに固有のプロパティのセット TelegramChannelProperties

TelegramChannelProperties

Name Description Value
accessToken Telegram アクセス トークン。 アクション チャネル リスト API に対して POST 経由でのみ返される値。それ以外の場合は空です。 string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。
isEnabled このチャネルがボットに対して有効になっているかどうか bool (必須)
isValidated このチャネルがボットに対して検証されるかどうか bool

TelephonyChannel

Name Description Value
channelName チャネル名 'TelephonyChannel' (必須)
properties テレフォニー チャネル リソースに固有のプロパティのセット TelephonyChannelProperties

TelephonyChannelProperties

Name Description Value
apiConfigurations テレフォニー API 構成の一覧 TelephonyChannelResourceApiConfiguration[]
cognitiveServiceRegion extensionKey2 文字列
cognitiveServiceSubscriptionKey extensionKey1 文字列
defaultLocale チャネルの既定のロケール 文字列
isEnabled チャネルが有効になっているかどうか bool
phoneNumbers テレフォニー電話番号の一覧 TelephonyPhoneNumbers[]
premiumSKU チャネルに適用される Premium SKU 文字列

TelephonyChannelResourceApiConfiguration

Name Description Value
cognitiveServiceRegion コグニティブ サービス リージョン。 文字列
cognitiveServiceResourceId コグニティブ サービス resourceId。 文字列
cognitiveServiceSubscriptionKey コグニティブ サービス サブスクリプション キー。 文字列
defaultLocale 既定のロケール。 文字列
id 構成の ID。 文字列
providerName プロバイダー名。 文字列

TelephonyPhoneNumbers

Name Description Value
acsEndpoint ACS のエンドポイント。 文字列
acsResourceId ACS のリソース ID。 文字列
acsSecret ACS のシークレット。 文字列
cognitiveServiceRegion コグニティブ サービスのサービス リージョン。 文字列
cognitiveServiceResourceId コグニティブ サービスのリソース ID。 文字列
cognitiveServiceSubscriptionKey コグニティブ サービスのサブスクリプション キー。 文字列
defaultLocale 電話番号の既定のロケール。 文字列
id 要素 ID。 文字列
offerType 電話のオファリングの種類を決定する省略可能なプロパティ。 文字列
phoneNumber 電話番号。 文字列

WebChatChannel

Name Description Value
channelName チャネル名 'WebChatChannel' (必須)
properties Web チャット チャネル リソースに固有のプロパティのセット WebChatChannelProperties

WebChatChannelProperties

Name Description Value
sites Web チャット サイトの一覧 WebChatSite[]

WebChatSite

Name Description Value
appId DirectLine アプリケーション ID 文字列
eTag エンティティ タグ 文字列
isBlockUserUploadEnabled このサイトでユーザーのアップロードのブロックが有効になっているかどうか。 bool
isDetailedLoggingEnabled このサイトが無効になっているかどうかの詳細なログ記録 bool
isEnabled このサイトが DirectLine チャネルに対して有効になっているかどうか bool (必須)
isEndpointParametersEnabled このサイトが EndpointParameters でチャネルに対して有効になっているかどうか bool
isNoStorageEnabled このストレージなしサイトが無効になっているかどうかの詳細なログ記録 bool
isSecureSiteEnabled このサイトが Bot Framework での認証に対して有効になっているかどうか。 bool
isV1Enabled このサイトが Bot Framework V1 プロトコルに対して有効になっているかどうか。 bool
isV3Enabled このサイトが Bot Framework V3 プロトコルに対して有効になっているかどうか。 bool
isWebchatPreviewEnabled このサイトが Web チャットのプレビュー バージョンに対して有効になっているかどうか bool
isWebChatSpeechEnabled このサイトが Webchat Speech に対して有効になっているかどうか bool
siteName サイト名 文字列 (必須)
tenantId テナント ID 文字列
trustedOrigins このサイトの信頼できる配信元 URL の一覧。 このフィールドは、isSecureSiteEnabled が True の場合にのみ適用されます。 string[]

ARM テンプレート リソース定義

botServices/channels リソースの種類は、次を対象とする操作でデプロイできます。

使用例

リソース形式

Microsoft.BotService/botServices/channels リソースを作成するには、次の JSON をテンプレートに追加します。

{
  "type": "Microsoft.BotService/botServices/channels",
  "apiVersion": "2023-09-15-preview",
  "name": "string",
  "etag": "string",
  "kind": "string",
  "location": "string",
  "properties": {
    "etag": "string",
    "location": "string",
    "channelName": "string"
    // For remaining properties, see Channel objects
  },
  "sku": {
    "name": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

チャネルオブジェクト

channelName プロパティを設定して、オブジェクトのタイプを指定します。

AcsChatChannel の場合は、次を使用します。

{
  "channelName": "AcsChatChannel"
}

AlexaChannelの場合は、以下を使用します。

{
  "channelName": "AlexaChannel",
  "properties": {
    "alexaSkillId": "string",
    "isEnabled": "bool"
  }
}

DirectLineChannel の場合は、次を使用します。

{
  "channelName": "DirectLineChannel",
  "properties": {
    "DirectLineEmbedCode": "string",
    "extensionKey1": "string",
    "extensionKey2": "string",
    "sites": [
      {
        "appId": "string",
        "eTag": "string",
        "isBlockUserUploadEnabled": "bool",
        "isDetailedLoggingEnabled": "bool",
        "isEnabled": "bool",
        "isEndpointParametersEnabled": "bool",
        "isNoStorageEnabled": "bool",
        "isSecureSiteEnabled": "bool",
        "isV1Enabled": "bool",
        "isV3Enabled": "bool",
        "isWebchatPreviewEnabled": "bool",
        "isWebChatSpeechEnabled": "bool",
        "siteName": "string",
        "tenantId": "string",
        "trustedOrigins": [ "string" ]
      }
    ]
  }
}

DirectLineSpeechChannel の場合は、次を使用します。

{
  "channelName": "DirectLineSpeechChannel",
  "properties": {
    "cognitiveServiceRegion": "string",
    "cognitiveServiceResourceId": "string",
    "cognitiveServiceSubscriptionKey": "string",
    "customSpeechModelId": "string",
    "customVoiceDeploymentId": "string",
    "isDefaultBotForCogSvcAccount": "bool",
    "isEnabled": "bool"
  }
}

EmailChannel の場合は、次を使用します。

{
  "channelName": "EmailChannel",
  "properties": {
    "authMethod": "int",
    "emailAddress": "string",
    "isEnabled": "bool",
    "magicCode": "string",
    "password": "string"
  }
}

FacebookChannel の場合は、次を使用します。

{
  "channelName": "FacebookChannel",
  "properties": {
    "appId": "string",
    "appSecret": "string",
    "isEnabled": "bool",
    "pages": [
      {
        "accessToken": "string",
        "id": "string"
      }
    ]
  }
}

KikChannel の場合は、次を使用します。

{
  "channelName": "KikChannel",
  "properties": {
    "apiKey": "string",
    "isEnabled": "bool",
    "isValidated": "bool",
    "userName": "string"
  }
}

LineChannel の場合は、次を使用します。

{
  "channelName": "LineChannel",
  "properties": {
    "lineRegistrations": [
      {
        "channelAccessToken": "string",
        "channelSecret": "string"
      }
    ]
  }
}

M365Extensions の場合は、次を使用します。

{
  "channelName": "M365Extensions"
}

MsTeamsChannel の場合は、次を使用します。

{
  "channelName": "MsTeamsChannel",
  "properties": {
    "acceptedTerms": "bool",
    "callingWebhook": "string",
    "deploymentEnvironment": "string",
    "enableCalling": "bool",
    "incomingCallRoute": "string",
    "isEnabled": "bool"
  }
}

オムニチャネルの場合は、次を使用します。

{
  "channelName": "Omnichannel"
}

OutlookChannel の場合は、次を使用します。

{
  "channelName": "OutlookChannel"
}

SearchAssistant の場合は、次を使用します。

{
  "channelName": "SearchAssistant"
}

SkypeChannel の場合は、次を使用します。

{
  "channelName": "SkypeChannel",
  "properties": {
    "callingWebHook": "string",
    "enableCalling": "bool",
    "enableGroups": "bool",
    "enableMediaCards": "bool",
    "enableMessaging": "bool",
    "enableScreenSharing": "bool",
    "enableVideo": "bool",
    "groupsMode": "string",
    "incomingCallRoute": "string",
    "isEnabled": "bool"
  }
}

SlackChannel の場合は、以下を使用します。

{
  "channelName": "SlackChannel",
  "properties": {
    "clientId": "string",
    "clientSecret": "string",
    "isEnabled": "bool",
    "landingPageUrl": "string",
    "registerBeforeOAuthFlow": "bool",
    "scopes": "string",
    "signingSecret": "string",
    "verificationToken": "string"
  }
}

SmsChannel の場合は、次を使用します。

{
  "channelName": "SmsChannel",
  "properties": {
    "accountSID": "string",
    "authToken": "string",
    "isEnabled": "bool",
    "isValidated": "bool",
    "phone": "string"
  }
}

TelegramChannel の場合は、以下を使用します。

{
  "channelName": "TelegramChannel",
  "properties": {
    "accessToken": "string",
    "isEnabled": "bool",
    "isValidated": "bool"
  }
}

TelephonyChannel の場合は、次を使用します。

{
  "channelName": "TelephonyChannel",
  "properties": {
    "apiConfigurations": [
      {
        "cognitiveServiceRegion": "string",
        "cognitiveServiceResourceId": "string",
        "cognitiveServiceSubscriptionKey": "string",
        "defaultLocale": "string",
        "id": "string",
        "providerName": "string"
      }
    ],
    "cognitiveServiceRegion": "string",
    "cognitiveServiceSubscriptionKey": "string",
    "defaultLocale": "string",
    "isEnabled": "bool",
    "phoneNumbers": [
      {
        "acsEndpoint": "string",
        "acsResourceId": "string",
        "acsSecret": "string",
        "cognitiveServiceRegion": "string",
        "cognitiveServiceResourceId": "string",
        "cognitiveServiceSubscriptionKey": "string",
        "defaultLocale": "string",
        "id": "string",
        "offerType": "string",
        "phoneNumber": "string"
      }
    ],
    "premiumSKU": "string"
  }
}

WebChatChannel の場合は、以下を使用します。

{
  "channelName": "WebChatChannel",
  "properties": {
    "sites": [
      {
        "appId": "string",
        "eTag": "string",
        "isBlockUserUploadEnabled": "bool",
        "isDetailedLoggingEnabled": "bool",
        "isEnabled": "bool",
        "isEndpointParametersEnabled": "bool",
        "isNoStorageEnabled": "bool",
        "isSecureSiteEnabled": "bool",
        "isV1Enabled": "bool",
        "isV3Enabled": "bool",
        "isWebchatPreviewEnabled": "bool",
        "isWebChatSpeechEnabled": "bool",
        "siteName": "string",
        "tenantId": "string",
        "trustedOrigins": [ "string" ]
      }
    ]
  }
}

プロパティ値

Microsoft.BotService/botServices/channels

Name Description Value
apiVersion API のバージョン '2023-09-15-preview'
etag エンティティタグ。 文字列
kind Required. リソースの種類を取得または設定します。 'azurebot'
'bot'
'designer'
'function'
'sdk'
位置 リソースの場所を指定します。 文字列
name リソース名 'AcsChatChannel'
'AlexaChannel'
'DirectLineChannel'
'DirectLineSpeechChannel'
'EmailChannel'
'FacebookChannel'
'KikChannel'
'LineChannel'
'M365Extensions'
'MsTeamsChannel'
'Omnichannel'
'OutlookChannel'
'SearchAssistant'
'SkypeChannel'
'SlackChannel'
'SmsChannel'
'TelegramChannel'
'TelephonyChannel'
'WebChatChannel' (必須)
properties ボット チャネル リソースに固有のプロパティのセット Channel
sku リソースの SKU を取得または設定します。 Sku
tags リソース タグ タグ名と値のディクショナリ。 テンプレート の タグを参照してください
型 リソースの種類 'Microsoft.BotService/botServices/channels'

AcsChatChannel

Name Description Value
channelName チャネル名 'AcsChatChannel' (必須)

AlexaChannel

Name Description Value
channelName チャネル名 'AlexaChannel' (必須)
properties Alexa チャネル リソースに固有のプロパティのセット AlexaChannelProperties

AlexaChannelProperties

Name Description Value
alexaSkillId Alexa スキル ID 文字列 (必須)
isEnabled このチャネルがボットに対して有効になっているかどうか bool (必須)

BotChannelタグ

Name Description Value

Channel

Name Description Value
channelName AcsChatChannel 型を ' AcsChatChannel' に設定します。 AlexaChannelタイプを「AlexaChannel」に設定します。 DirectLineChannel 型を 'DirectLineChannel' に設定します。 DirectLineSpeechChannel 型の 'DirectLineSpeechChannel' に設定します。 EmailChannel タイプを 'EmailChannel' に設定します。 タイプ FacebookChannel を 'FacebookChannel' に設定します。 タイプ KikChannel を 'KikChannel' に設定します。 タイプ LineChannel を 'LineChannel' に設定します。 タイプ M365Extensions の場合は 'M365Extensions' に設定します。 MsTeamsChannel 型の場合は 'MsTeamsChannel' に設定します。 タイプ オムニチャネル を 'オムニチャネル' に設定します。 タイプ OutlookChannel を 'OutlookChannel' に設定します。 SearchAssistant タイプを ' SearchAssistant' に設定します。 SkypeChannel の種類を 'SkypeChannel' に設定します。 SlackChannel型の「SlackChannel」に設定します。 SmsChannel 型の場合は 'SmsChannel' に設定します。 タイプ TelegramChannel を 'TelegramChannel' に設定します。 TelephonyChannel 型の 'TelephonyChannel' に設定します。 WebChatChannel 型を 'WebChatChannel' に設定します。 'AcsChatChannel'
'AlexaChannel'
'DirectLineChannel'
'DirectLineSpeechChannel'
'EmailChannel'
'FacebookChannel'
'KikChannel'
'LineChannel'
'M365Extensions'
'MsTeamsChannel'
'Omnichannel'
'OutlookChannel'
'SearchAssistant'
'SkypeChannel'
'SlackChannel'
'SmsChannel'
'TelegramChannel'
'TelephonyChannel'
'WebChatChannel' (必須)
etag リソースのエンティティ タグ 文字列
位置 リソースの場所を指定します。 文字列

DirectLineChannel

Name Description Value
channelName チャネル名 'DirectLineChannel' (必須)
properties Direct Line チャネル リソースに固有のプロパティのセット DirectLineChannelProperties

DirectLineChannelProperties

Name Description Value
DirectLineEmbedCode リソースの Direct Line 埋め込みコード 文字列
extensionKey1 extensionKey1 文字列
extensionKey2 extensionKey2 文字列
sites Direct Line サイトの一覧 DirectLineSite[]

DirectLineSite

Name Description Value
appId DirectLine アプリケーション ID 文字列
eTag エンティティ タグ 文字列
isBlockUserUploadEnabled このサイトでユーザーのアップロードのブロックが有効になっているかどうか。 bool
isDetailedLoggingEnabled このサイトが無効になっているかどうかの詳細なログ記録 bool
isEnabled このサイトが DirectLine チャネルに対して有効になっているかどうか bool (必須)
isEndpointParametersEnabled このサイトが EndpointParameters でチャネルに対して有効になっているかどうか bool
isNoStorageEnabled このストレージなしサイトが無効になっているかどうかの詳細なログ記録 bool
isSecureSiteEnabled このサイトが Bot Framework での認証に対して有効になっているかどうか。 bool
isV1Enabled このサイトが Bot Framework V1 プロトコルに対して有効になっているかどうか。 bool
isV3Enabled このサイトが Bot Framework V3 プロトコルに対して有効になっているかどうか。 bool
isWebchatPreviewEnabled このサイトが Web チャットのプレビュー バージョンに対して有効になっているかどうか bool
isWebChatSpeechEnabled このサイトが Webchat Speech に対して有効になっているかどうか bool
siteName サイト名 文字列 (必須)
tenantId テナント ID 文字列
trustedOrigins このサイトの信頼できる配信元 URL の一覧。 このフィールドは、isSecureSiteEnabled が True の場合にのみ適用されます。 string[]

DirectLineSpeechChannel

Name Description Value
channelName チャネル名 'DirectLineSpeechChannel' (必須)
properties DirectLine Speech チャネル リソースに固有のプロパティのセット DirectLineSpeechChannelProperties

DirectLineSpeechChannelProperties

Name Description Value
cognitiveServiceRegion このチャネル登録を使用するコグニティブ サービス リージョン。 文字列
cognitiveServiceResourceId このチャネル登録のコグニティブ サービス ID。 文字列
cognitiveServiceSubscriptionKey このチャネル登録で使用するコグニティブ サービス サブスクリプション キー。 string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。
customSpeechModelId カスタム音声展開 ID (省略可能)。 文字列
customVoiceDeploymentId カスタム音声モデル ID (省略可能)。 文字列
isDefaultBotForCogSvcAccount これを、選択したコグニティブ サービス アカウントの既定のボットにします。 bool
isEnabled このチャネルが有効かどうか。 bool

EmailChannel

Name Description Value
channelName チャネル名 'EmailChannel' (必須)
properties 電子メール チャネル リソースに固有のプロパティのセット EmailChannelProperties

EmailChannelProperties

Name Description Value
authMethod 電子メール チャネルの認証方法。 0 パスワード (既定値);1 グラフ。 int
emailAddress 電子メール アドレス 文字列 (必須)
isEnabled このチャネルがボットに対して有効になっているかどうか bool (必須)
magicCode 先進認証を設定するためのマジック コード。 文字列
パスワード メール アドレスのパスワード。 アクション チャネル リスト API に対して POST 経由でのみ返される値。それ以外の場合は空です。 文字列

FacebookChannel

Name Description Value
channelName チャネル名 'FacebookChannel' (必須)
properties ボット facebook チャネルに固有のプロパティのセット FacebookChannelProperties

FacebookChannelProperties

Name Description Value
appId Facebook アプリケーション ID 文字列 (必須)
appSecret Facebook アプリケーション シークレット。 アクション チャネル リスト API に対して POST 経由でのみ返される値。それ以外の場合は空です。 string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。
isEnabled このチャネルがボットに対して有効になっているかどうか bool (必須)
pages Facebook ページの一覧 FacebookPage[]

FacebookPage

Name Description Value
accessToken Facebook アプリケーション アクセス トークン。 アクション チャネル リスト API に対して POST 経由でのみ返される値。それ以外の場合は空です。 string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。
id ページ ID 文字列 (必須)

KikChannel

Name Description Value
channelName チャネル名 'KikChannel' (必須)
properties Kik チャネル リソースに固有のプロパティのセット KikChannelProperties

KikChannelProperties

Name Description Value
apiKey Kik API キー。 アクション チャネル リスト API に対して POST 経由でのみ返される値。それ以外の場合は空です。 文字列
isEnabled このチャネルがボットに対して有効になっているかどうか bool (必須)
isValidated このチャネルがボットに対して検証されるかどうか bool
userName Kik ユーザー名 文字列 (必須)

LineChannel

Name Description Value
channelName チャネル名 'LineChannel' (必須)
properties ライン チャネル リソースに固有のプロパティのセット LineChannelProperties

LineChannelProperties

Name Description Value
lineRegistrations 回線チャネル登録の一覧 LineRegistration[] (必須)

LineRegistration

Name Description Value
channelAccessToken 回線チャネル登録のアクセス トークン string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。
channelSecret 回線チャネル登録のシークレット string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。

M365Extensions

Name Description Value
channelName チャネル名 'M365Extensions' (必須)

MsTeamsChannel

Name Description Value
channelName チャネル名 'MsTeamsChannel' (必須)
properties チャネル リソースに固有のプロパティのセットMicrosoft Teams MsTeamsChannelProperties

MsTeamsChannelProperties

Name Description Value
acceptedTerms このチャネルが条件に同意したかどうか bool
callingWebhook Microsoft Teams チャネル呼び出し用の Webhook 文字列
deploymentEnvironment Microsoft Teams チャネル呼び出しのデプロイ環境 文字列
enableCalling Microsoft Teams チャネルの呼び出しを有効にする bool
incomingCallRoute Microsoft Teams チャネル呼び出し用の Webhook 文字列
isEnabled このチャネルがボットに対して有効になっているかどうか bool (必須)

Omnichannel

Name Description Value
channelName チャネル名 「オムニチャネル」(必須)

OutlookChannel

Name Description Value
channelName チャネル名 'OutlookChannel' (必須)

SearchAssistant

Name Description Value
channelName チャネル名 'SearchAssistant' (必須)

Sku

Name Description Value
name SKU 名 'F0'
'S1' (必須)

SkypeChannel

Name Description Value
channelName チャネル名 'SkypeChannel' (必須)
properties Skype チャネル リソースに固有のプロパティのセット SkypeChannelProperties

SkypeChannelProperties

Name Description Value
callingWebHook Skype チャネルの Web フックの呼び出し 文字列
enableCalling Skype チャネルの通話を有効にする bool
enableGroups Skype チャネルのグループを有効にする bool
enableMediaCards Skype チャネルのメディア カードを有効にする bool
enableMessaging Skype チャネルのメッセージングを有効にする bool
enableScreenSharing Skype チャネルの画面共有を有効にする bool
enableVideo Skype チャネルのビデオを有効にする bool
groupsMode Skype チャネルのグループ モード 文字列
incomingCallRoute Skype チャネルの着信通話ルート 文字列
isEnabled このチャネルがボットに対して有効になっているかどうか bool (必須)

SlackChannel

Name Description Value
channelName チャネル名 'SlackChannel' (必須)
properties Slack チャネル リソースに固有のプロパティのセット SlackChannelProperties

SlackChannelProperties

Name Description Value
clientId Slack クライアント ID 文字列
clientSecret Slack クライアント シークレット。 アクション チャネル リスト API に対して POST 経由でのみ返される値。それ以外の場合は空です。 string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。
isEnabled このチャネルがボットに対して有効になっているかどうか bool (必須)
landingPageUrl Slack ランディング ページの URL 文字列
registerBeforeOAuthFlow OAuth 検証を実行する前に設定を登録するかどうか。 True に推奨されます。 bool
scopes Slack のアクセス許可スコープ。 文字列
signingSecret Slack 署名シークレット。 string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。
verificationToken Slack 検証トークン。 アクション チャネル リスト API に対して POST 経由でのみ返される値。それ以外の場合は空です。 string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。

SmsChannel

Name Description Value
channelName チャネル名 'SmsChannel' (必須)
properties Sms チャネル リソースに固有のプロパティのセット SmsChannelProperties

SmsChannelProperties

Name Description Value
accountSID Sms アカウント SID。 アクション チャネル リスト API に対して POST 経由でのみ返される値。それ以外の場合は空です。 文字列 (必須)
authToken Sms 認証トークン。 アクション チャネル リスト API に対して POST 経由でのみ返される値。それ以外の場合は空です。 string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。
isEnabled このチャネルがボットに対して有効になっているかどうか bool (必須)
isValidated このチャネルがボットに対して検証されるかどうか bool
phone SMS 電話 文字列 (必須)

TelegramChannel

Name Description Value
channelName チャネル名 'TelegramChannel' (必須)
properties Telegram チャネル リソースに固有のプロパティのセット TelegramChannelProperties

TelegramChannelProperties

Name Description Value
accessToken Telegram アクセス トークン。 アクション チャネル リスト API に対して POST 経由でのみ返される値。それ以外の場合は空です。 string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。
isEnabled このチャネルがボットに対して有効になっているかどうか bool (必須)
isValidated このチャネルがボットに対して検証されるかどうか bool

TelephonyChannel

Name Description Value
channelName チャネル名 'TelephonyChannel' (必須)
properties テレフォニー チャネル リソースに固有のプロパティのセット TelephonyChannelProperties

TelephonyChannelProperties

Name Description Value
apiConfigurations テレフォニー API 構成の一覧 TelephonyChannelResourceApiConfiguration[]
cognitiveServiceRegion extensionKey2 文字列
cognitiveServiceSubscriptionKey extensionKey1 文字列
defaultLocale チャネルの既定のロケール 文字列
isEnabled チャネルが有効になっているかどうか bool
phoneNumbers テレフォニー電話番号の一覧 TelephonyPhoneNumbers[]
premiumSKU チャネルに適用される Premium SKU 文字列

TelephonyChannelResourceApiConfiguration

Name Description Value
cognitiveServiceRegion コグニティブ サービス リージョン。 文字列
cognitiveServiceResourceId コグニティブ サービス resourceId。 文字列
cognitiveServiceSubscriptionKey コグニティブ サービス サブスクリプション キー。 文字列
defaultLocale 既定のロケール。 文字列
id 構成の ID。 文字列
providerName プロバイダー名。 文字列

TelephonyPhoneNumbers

Name Description Value
acsEndpoint ACS のエンドポイント。 文字列
acsResourceId ACS のリソース ID。 文字列
acsSecret ACS のシークレット。 文字列
cognitiveServiceRegion コグニティブ サービスのサービス リージョン。 文字列
cognitiveServiceResourceId コグニティブ サービスのリソース ID。 文字列
cognitiveServiceSubscriptionKey コグニティブ サービスのサブスクリプション キー。 文字列
defaultLocale 電話番号の既定のロケール。 文字列
id 要素 ID。 文字列
offerType 電話のオファリングの種類を決定する省略可能なプロパティ。 文字列
phoneNumber 電話番号。 文字列

WebChatChannel

Name Description Value
channelName チャネル名 'WebChatChannel' (必須)
properties Web チャット チャネル リソースに固有のプロパティのセット WebChatChannelProperties

WebChatChannelProperties

Name Description Value
sites Web チャット サイトの一覧 WebChatSite[]

WebChatSite

Name Description Value
appId DirectLine アプリケーション ID 文字列
eTag エンティティ タグ 文字列
isBlockUserUploadEnabled このサイトでユーザーのアップロードのブロックが有効になっているかどうか。 bool
isDetailedLoggingEnabled このサイトが無効になっているかどうかの詳細なログ記録 bool
isEnabled このサイトが DirectLine チャネルに対して有効になっているかどうか bool (必須)
isEndpointParametersEnabled このサイトが EndpointParameters でチャネルに対して有効になっているかどうか bool
isNoStorageEnabled このストレージなしサイトが無効になっているかどうかの詳細なログ記録 bool
isSecureSiteEnabled このサイトが Bot Framework での認証に対して有効になっているかどうか。 bool
isV1Enabled このサイトが Bot Framework V1 プロトコルに対して有効になっているかどうか。 bool
isV3Enabled このサイトが Bot Framework V3 プロトコルに対して有効になっているかどうか。 bool
isWebchatPreviewEnabled このサイトが Web チャットのプレビュー バージョンに対して有効になっているかどうか bool
isWebChatSpeechEnabled このサイトが Webchat Speech に対して有効になっているかどうか bool
siteName サイト名 文字列 (必須)
tenantId テナント ID 文字列
trustedOrigins このサイトの信頼できる配信元 URL の一覧。 このフィールドは、isSecureSiteEnabled が True の場合にのみ適用されます。 string[]

Terraform (AzAPI プロバイダー) リソース定義

botServices/channels リソースの種類は、次を対象とする操作でデプロイできます。

  • リソースグループ 各APIバージョンの変更プロパティ一覧については、 変更ログをご覧ください。

使用例

Terraformサンプル

ボットチャネルの統合をデプロイする基本的な例。

terraform {
  required_providers {
    azapi = {
      source = "Azure/azapi"
    }
  }
}

provider "azapi" {
  skip_provider_registration = false
}

variable "resource_name" {
  type    = string
  default = "acctest0001"
}

variable "location" {
  type    = string
  default = "westus"
}

resource "azapi_resource" "resourceGroup" {
  type     = "Microsoft.Resources/resourceGroups@2020-06-01"
  name     = var.resource_name
  location = var.location
}

resource "azapi_resource" "botService" {
  type      = "Microsoft.BotService/botServices@2021-05-01-preview"
  parent_id = azapi_resource.resourceGroup.id
  name      = var.resource_name
  location  = var.location
  body = {
    kind = "bot"
    properties = {
      cmekKeyVaultUrl                   = ""
      description                       = ""
      developerAppInsightKey            = ""
      developerAppInsightsApiKey        = ""
      developerAppInsightsApplicationId = ""
      displayName                       = var.resource_name
      endpoint                          = ""
      iconUrl                           = "https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png"
      isCmekEnabled                     = false
      isStreamingSupported              = false
      msaAppId                          = "12345678-1234-1234-1234-123456789012"
    }
    sku = {
      name = "F0"
    }
  }
  tags = {
    environment = "production"
  }
}

resource "azapi_resource" "channel" {
  type      = "Microsoft.BotService/botServices/channels@2021-05-01-preview"
  parent_id = azapi_resource.botService.id
  name      = "AlexaChannel"
  location  = var.location
  body = {
    kind = "bot"
    properties = {
      channelName = "AlexaChannel"
      properties = {
        alexaSkillId = "amzn1.ask.skill.19126e57-867f-4553-b953-ad0a720dddec"
        isEnabled    = true
      }
    }
  }
}

リソース形式

Microsoft.BotService/botServices/channels リソースを作成するには、次の Terraform をテンプレートに追加します。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.BotService/botServices/channels@2023-09-15-preview"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    etag = "string"
    kind = "string"
    properties = {
      etag = "string"
      location = "string"
      channelName = "string"
      // For remaining properties, see Channel objects
    }
    sku = {
      name = "string"
    }
  }
}

チャネルオブジェクト

channelName プロパティを設定して、オブジェクトのタイプを指定します。

AcsChatChannel の場合は、次を使用します。

{
  channelName = "AcsChatChannel"
}

AlexaChannelの場合は、以下を使用します。

{
  channelName = "AlexaChannel"
  properties = {
    alexaSkillId = "string"
    isEnabled = bool
  }
}

DirectLineChannel の場合は、次を使用します。

{
  channelName = "DirectLineChannel"
  properties = {
    DirectLineEmbedCode = "string"
    extensionKey1 = "string"
    extensionKey2 = "string"
    sites = [
      {
        appId = "string"
        eTag = "string"
        isBlockUserUploadEnabled = bool
        isDetailedLoggingEnabled = bool
        isEnabled = bool
        isEndpointParametersEnabled = bool
        isNoStorageEnabled = bool
        isSecureSiteEnabled = bool
        isV1Enabled = bool
        isV3Enabled = bool
        isWebchatPreviewEnabled = bool
        isWebChatSpeechEnabled = bool
        siteName = "string"
        tenantId = "string"
        trustedOrigins = [
          "string"
        ]
      }
    ]
  }
}

DirectLineSpeechChannel の場合は、次を使用します。

{
  channelName = "DirectLineSpeechChannel"
  properties = {
    cognitiveServiceRegion = "string"
    cognitiveServiceResourceId = "string"
    cognitiveServiceSubscriptionKey = "string"
    customSpeechModelId = "string"
    customVoiceDeploymentId = "string"
    isDefaultBotForCogSvcAccount = bool
    isEnabled = bool
  }
}

EmailChannel の場合は、次を使用します。

{
  channelName = "EmailChannel"
  properties = {
    authMethod = int
    emailAddress = "string"
    isEnabled = bool
    magicCode = "string"
    password = "string"
  }
}

FacebookChannel の場合は、次を使用します。

{
  channelName = "FacebookChannel"
  properties = {
    appId = "string"
    appSecret = "string"
    isEnabled = bool
    pages = [
      {
        accessToken = "string"
        id = "string"
      }
    ]
  }
}

KikChannel の場合は、次を使用します。

{
  channelName = "KikChannel"
  properties = {
    apiKey = "string"
    isEnabled = bool
    isValidated = bool
    userName = "string"
  }
}

LineChannel の場合は、次を使用します。

{
  channelName = "LineChannel"
  properties = {
    lineRegistrations = [
      {
        channelAccessToken = "string"
        channelSecret = "string"
      }
    ]
  }
}

M365Extensions の場合は、次を使用します。

{
  channelName = "M365Extensions"
}

MsTeamsChannel の場合は、次を使用します。

{
  channelName = "MsTeamsChannel"
  properties = {
    acceptedTerms = bool
    callingWebhook = "string"
    deploymentEnvironment = "string"
    enableCalling = bool
    incomingCallRoute = "string"
    isEnabled = bool
  }
}

オムニチャネルの場合は、次を使用します。

{
  channelName = "Omnichannel"
}

OutlookChannel の場合は、次を使用します。

{
  channelName = "OutlookChannel"
}

SearchAssistant の場合は、次を使用します。

{
  channelName = "SearchAssistant"
}

SkypeChannel の場合は、次を使用します。

{
  channelName = "SkypeChannel"
  properties = {
    callingWebHook = "string"
    enableCalling = bool
    enableGroups = bool
    enableMediaCards = bool
    enableMessaging = bool
    enableScreenSharing = bool
    enableVideo = bool
    groupsMode = "string"
    incomingCallRoute = "string"
    isEnabled = bool
  }
}

SlackChannel の場合は、以下を使用します。

{
  channelName = "SlackChannel"
  properties = {
    clientId = "string"
    clientSecret = "string"
    isEnabled = bool
    landingPageUrl = "string"
    registerBeforeOAuthFlow = bool
    scopes = "string"
    signingSecret = "string"
    verificationToken = "string"
  }
}

SmsChannel の場合は、次を使用します。

{
  channelName = "SmsChannel"
  properties = {
    accountSID = "string"
    authToken = "string"
    isEnabled = bool
    isValidated = bool
    phone = "string"
  }
}

TelegramChannel の場合は、以下を使用します。

{
  channelName = "TelegramChannel"
  properties = {
    accessToken = "string"
    isEnabled = bool
    isValidated = bool
  }
}

TelephonyChannel の場合は、次を使用します。

{
  channelName = "TelephonyChannel"
  properties = {
    apiConfigurations = [
      {
        cognitiveServiceRegion = "string"
        cognitiveServiceResourceId = "string"
        cognitiveServiceSubscriptionKey = "string"
        defaultLocale = "string"
        id = "string"
        providerName = "string"
      }
    ]
    cognitiveServiceRegion = "string"
    cognitiveServiceSubscriptionKey = "string"
    defaultLocale = "string"
    isEnabled = bool
    phoneNumbers = [
      {
        acsEndpoint = "string"
        acsResourceId = "string"
        acsSecret = "string"
        cognitiveServiceRegion = "string"
        cognitiveServiceResourceId = "string"
        cognitiveServiceSubscriptionKey = "string"
        defaultLocale = "string"
        id = "string"
        offerType = "string"
        phoneNumber = "string"
      }
    ]
    premiumSKU = "string"
  }
}

WebChatChannel の場合は、以下を使用します。

{
  channelName = "WebChatChannel"
  properties = {
    sites = [
      {
        appId = "string"
        eTag = "string"
        isBlockUserUploadEnabled = bool
        isDetailedLoggingEnabled = bool
        isEnabled = bool
        isEndpointParametersEnabled = bool
        isNoStorageEnabled = bool
        isSecureSiteEnabled = bool
        isV1Enabled = bool
        isV3Enabled = bool
        isWebchatPreviewEnabled = bool
        isWebChatSpeechEnabled = bool
        siteName = "string"
        tenantId = "string"
        trustedOrigins = [
          "string"
        ]
      }
    ]
  }
}

プロパティ値

Microsoft.BotService/botServices/channels

Name Description Value
etag エンティティタグ。 文字列
kind Required. リソースの種類を取得または設定します。 'azurebot'
'bot'
'designer'
'function'
'sdk'
位置 リソースの場所を指定します。 文字列
name リソース名 'AcsChatChannel'
'AlexaChannel'
'DirectLineChannel'
'DirectLineSpeechChannel'
'EmailChannel'
'FacebookChannel'
'KikChannel'
'LineChannel'
'M365Extensions'
'MsTeamsChannel'
'Omnichannel'
'OutlookChannel'
'SearchAssistant'
'SkypeChannel'
'SlackChannel'
'SmsChannel'
'TelegramChannel'
'TelephonyChannel'
'WebChatChannel' (必須)
parent_id このリソースの親であるリソースの ID。 型のリソースの ID: botServices
properties ボット チャネル リソースに固有のプロパティのセット Channel
sku リソースの SKU を取得または設定します。 Sku
tags リソース タグ タグ名と値のディクショナリ。
型 リソースの種類 "Microsoft.BotService/botServices/channels@2023-09-15-preview"

AcsChatChannel

Name Description Value
channelName チャネル名 'AcsChatChannel' (必須)

AlexaChannel

Name Description Value
channelName チャネル名 'AlexaChannel' (必須)
properties Alexa チャネル リソースに固有のプロパティのセット AlexaChannelProperties

AlexaChannelProperties

Name Description Value
alexaSkillId Alexa スキル ID 文字列 (必須)
isEnabled このチャネルがボットに対して有効になっているかどうか bool (必須)

BotChannelタグ

Name Description Value

Channel

Name Description Value
channelName AcsChatChannel 型を ' AcsChatChannel' に設定します。 AlexaChannelタイプを「AlexaChannel」に設定します。 DirectLineChannel 型を 'DirectLineChannel' に設定します。 DirectLineSpeechChannel 型の 'DirectLineSpeechChannel' に設定します。 EmailChannel タイプを 'EmailChannel' に設定します。 タイプ FacebookChannel を 'FacebookChannel' に設定します。 タイプ KikChannel を 'KikChannel' に設定します。 タイプ LineChannel を 'LineChannel' に設定します。 タイプ M365Extensions の場合は 'M365Extensions' に設定します。 MsTeamsChannel 型の場合は 'MsTeamsChannel' に設定します。 タイプ オムニチャネル を 'オムニチャネル' に設定します。 タイプ OutlookChannel を 'OutlookChannel' に設定します。 SearchAssistant タイプを ' SearchAssistant' に設定します。 SkypeChannel の種類を 'SkypeChannel' に設定します。 SlackChannel型の「SlackChannel」に設定します。 SmsChannel 型の場合は 'SmsChannel' に設定します。 タイプ TelegramChannel を 'TelegramChannel' に設定します。 TelephonyChannel 型の 'TelephonyChannel' に設定します。 WebChatChannel 型を 'WebChatChannel' に設定します。 'AcsChatChannel'
'AlexaChannel'
'DirectLineChannel'
'DirectLineSpeechChannel'
'EmailChannel'
'FacebookChannel'
'KikChannel'
'LineChannel'
'M365Extensions'
'MsTeamsChannel'
'Omnichannel'
'OutlookChannel'
'SearchAssistant'
'SkypeChannel'
'SlackChannel'
'SmsChannel'
'TelegramChannel'
'TelephonyChannel'
'WebChatChannel' (必須)
etag リソースのエンティティ タグ 文字列
位置 リソースの場所を指定します。 文字列

DirectLineChannel

Name Description Value
channelName チャネル名 'DirectLineChannel' (必須)
properties Direct Line チャネル リソースに固有のプロパティのセット DirectLineChannelProperties

DirectLineChannelProperties

Name Description Value
DirectLineEmbedCode リソースの Direct Line 埋め込みコード 文字列
extensionKey1 extensionKey1 文字列
extensionKey2 extensionKey2 文字列
sites Direct Line サイトの一覧 DirectLineSite[]

DirectLineSite

Name Description Value
appId DirectLine アプリケーション ID 文字列
eTag エンティティ タグ 文字列
isBlockUserUploadEnabled このサイトでユーザーのアップロードのブロックが有効になっているかどうか。 bool
isDetailedLoggingEnabled このサイトが無効になっているかどうかの詳細なログ記録 bool
isEnabled このサイトが DirectLine チャネルに対して有効になっているかどうか bool (必須)
isEndpointParametersEnabled このサイトが EndpointParameters でチャネルに対して有効になっているかどうか bool
isNoStorageEnabled このストレージなしサイトが無効になっているかどうかの詳細なログ記録 bool
isSecureSiteEnabled このサイトが Bot Framework での認証に対して有効になっているかどうか。 bool
isV1Enabled このサイトが Bot Framework V1 プロトコルに対して有効になっているかどうか。 bool
isV3Enabled このサイトが Bot Framework V3 プロトコルに対して有効になっているかどうか。 bool
isWebchatPreviewEnabled このサイトが Web チャットのプレビュー バージョンに対して有効になっているかどうか bool
isWebChatSpeechEnabled このサイトが Webchat Speech に対して有効になっているかどうか bool
siteName サイト名 文字列 (必須)
tenantId テナント ID 文字列
trustedOrigins このサイトの信頼できる配信元 URL の一覧。 このフィールドは、isSecureSiteEnabled が True の場合にのみ適用されます。 string[]

DirectLineSpeechChannel

Name Description Value
channelName チャネル名 'DirectLineSpeechChannel' (必須)
properties DirectLine Speech チャネル リソースに固有のプロパティのセット DirectLineSpeechChannelProperties

DirectLineSpeechChannelProperties

Name Description Value
cognitiveServiceRegion このチャネル登録を使用するコグニティブ サービス リージョン。 文字列
cognitiveServiceResourceId このチャネル登録のコグニティブ サービス ID。 文字列
cognitiveServiceSubscriptionKey このチャネル登録で使用するコグニティブ サービス サブスクリプション キー。 string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。
customSpeechModelId カスタム音声展開 ID (省略可能)。 文字列
customVoiceDeploymentId カスタム音声モデル ID (省略可能)。 文字列
isDefaultBotForCogSvcAccount これを、選択したコグニティブ サービス アカウントの既定のボットにします。 bool
isEnabled このチャネルが有効かどうか。 bool

EmailChannel

Name Description Value
channelName チャネル名 'EmailChannel' (必須)
properties 電子メール チャネル リソースに固有のプロパティのセット EmailChannelProperties

EmailChannelProperties

Name Description Value
authMethod 電子メール チャネルの認証方法。 0 パスワード (既定値);1 グラフ。 int
emailAddress 電子メール アドレス 文字列 (必須)
isEnabled このチャネルがボットに対して有効になっているかどうか bool (必須)
magicCode 先進認証を設定するためのマジック コード。 文字列
パスワード メール アドレスのパスワード。 アクション チャネル リスト API に対して POST 経由でのみ返される値。それ以外の場合は空です。 文字列

FacebookChannel

Name Description Value
channelName チャネル名 'FacebookChannel' (必須)
properties ボット facebook チャネルに固有のプロパティのセット FacebookChannelProperties

FacebookChannelProperties

Name Description Value
appId Facebook アプリケーション ID 文字列 (必須)
appSecret Facebook アプリケーション シークレット。 アクション チャネル リスト API に対して POST 経由でのみ返される値。それ以外の場合は空です。 string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。
isEnabled このチャネルがボットに対して有効になっているかどうか bool (必須)
pages Facebook ページの一覧 FacebookPage[]

FacebookPage

Name Description Value
accessToken Facebook アプリケーション アクセス トークン。 アクション チャネル リスト API に対して POST 経由でのみ返される値。それ以外の場合は空です。 string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。
id ページ ID 文字列 (必須)

KikChannel

Name Description Value
channelName チャネル名 'KikChannel' (必須)
properties Kik チャネル リソースに固有のプロパティのセット KikChannelProperties

KikChannelProperties

Name Description Value
apiKey Kik API キー。 アクション チャネル リスト API に対して POST 経由でのみ返される値。それ以外の場合は空です。 文字列
isEnabled このチャネルがボットに対して有効になっているかどうか bool (必須)
isValidated このチャネルがボットに対して検証されるかどうか bool
userName Kik ユーザー名 文字列 (必須)

LineChannel

Name Description Value
channelName チャネル名 'LineChannel' (必須)
properties ライン チャネル リソースに固有のプロパティのセット LineChannelProperties

LineChannelProperties

Name Description Value
lineRegistrations 回線チャネル登録の一覧 LineRegistration[] (必須)

LineRegistration

Name Description Value
channelAccessToken 回線チャネル登録のアクセス トークン string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。
channelSecret 回線チャネル登録のシークレット string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。

M365Extensions

Name Description Value
channelName チャネル名 'M365Extensions' (必須)

MsTeamsChannel

Name Description Value
channelName チャネル名 'MsTeamsChannel' (必須)
properties チャネル リソースに固有のプロパティのセットMicrosoft Teams MsTeamsChannelProperties

MsTeamsChannelProperties

Name Description Value
acceptedTerms このチャネルが条件に同意したかどうか bool
callingWebhook Microsoft Teams チャネル呼び出し用の Webhook 文字列
deploymentEnvironment Microsoft Teams チャネル呼び出しのデプロイ環境 文字列
enableCalling Microsoft Teams チャネルの呼び出しを有効にする bool
incomingCallRoute Microsoft Teams チャネル呼び出し用の Webhook 文字列
isEnabled このチャネルがボットに対して有効になっているかどうか bool (必須)

Omnichannel

Name Description Value
channelName チャネル名 「オムニチャネル」(必須)

OutlookChannel

Name Description Value
channelName チャネル名 'OutlookChannel' (必須)

SearchAssistant

Name Description Value
channelName チャネル名 'SearchAssistant' (必須)

Sku

Name Description Value
name SKU 名 'F0'
'S1' (必須)

SkypeChannel

Name Description Value
channelName チャネル名 'SkypeChannel' (必須)
properties Skype チャネル リソースに固有のプロパティのセット SkypeChannelProperties

SkypeChannelProperties

Name Description Value
callingWebHook Skype チャネルの Web フックの呼び出し 文字列
enableCalling Skype チャネルの通話を有効にする bool
enableGroups Skype チャネルのグループを有効にする bool
enableMediaCards Skype チャネルのメディア カードを有効にする bool
enableMessaging Skype チャネルのメッセージングを有効にする bool
enableScreenSharing Skype チャネルの画面共有を有効にする bool
enableVideo Skype チャネルのビデオを有効にする bool
groupsMode Skype チャネルのグループ モード 文字列
incomingCallRoute Skype チャネルの着信通話ルート 文字列
isEnabled このチャネルがボットに対して有効になっているかどうか bool (必須)

SlackChannel

Name Description Value
channelName チャネル名 'SlackChannel' (必須)
properties Slack チャネル リソースに固有のプロパティのセット SlackChannelProperties

SlackChannelProperties

Name Description Value
clientId Slack クライアント ID 文字列
clientSecret Slack クライアント シークレット。 アクション チャネル リスト API に対して POST 経由でのみ返される値。それ以外の場合は空です。 string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。
isEnabled このチャネルがボットに対して有効になっているかどうか bool (必須)
landingPageUrl Slack ランディング ページの URL 文字列
registerBeforeOAuthFlow OAuth 検証を実行する前に設定を登録するかどうか。 True に推奨されます。 bool
scopes Slack のアクセス許可スコープ。 文字列
signingSecret Slack 署名シークレット。 string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。
verificationToken Slack 検証トークン。 アクション チャネル リスト API に対して POST 経由でのみ返される値。それ以外の場合は空です。 string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。

SmsChannel

Name Description Value
channelName チャネル名 'SmsChannel' (必須)
properties Sms チャネル リソースに固有のプロパティのセット SmsChannelProperties

SmsChannelProperties

Name Description Value
accountSID Sms アカウント SID。 アクション チャネル リスト API に対して POST 経由でのみ返される値。それ以外の場合は空です。 文字列 (必須)
authToken Sms 認証トークン。 アクション チャネル リスト API に対して POST 経由でのみ返される値。それ以外の場合は空です。 string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。
isEnabled このチャネルがボットに対して有効になっているかどうか bool (必須)
isValidated このチャネルがボットに対して検証されるかどうか bool
phone SMS 電話 文字列 (必須)

TelegramChannel

Name Description Value
channelName チャネル名 'TelegramChannel' (必須)
properties Telegram チャネル リソースに固有のプロパティのセット TelegramChannelProperties

TelegramChannelProperties

Name Description Value
accessToken Telegram アクセス トークン。 アクション チャネル リスト API に対して POST 経由でのみ返される値。それ以外の場合は空です。 string

Constraints:
機密値。 セキュリティで保護されたパラメーターとして渡します。
isEnabled このチャネルがボットに対して有効になっているかどうか bool (必須)
isValidated このチャネルがボットに対して検証されるかどうか bool

TelephonyChannel

Name Description Value
channelName チャネル名 'TelephonyChannel' (必須)
properties テレフォニー チャネル リソースに固有のプロパティのセット TelephonyChannelProperties

TelephonyChannelProperties

Name Description Value
apiConfigurations テレフォニー API 構成の一覧 TelephonyChannelResourceApiConfiguration[]
cognitiveServiceRegion extensionKey2 文字列
cognitiveServiceSubscriptionKey extensionKey1 文字列
defaultLocale チャネルの既定のロケール 文字列
isEnabled チャネルが有効になっているかどうか bool
phoneNumbers テレフォニー電話番号の一覧 TelephonyPhoneNumbers[]
premiumSKU チャネルに適用される Premium SKU 文字列

TelephonyChannelResourceApiConfiguration

Name Description Value
cognitiveServiceRegion コグニティブ サービス リージョン。 文字列
cognitiveServiceResourceId コグニティブ サービス resourceId。 文字列
cognitiveServiceSubscriptionKey コグニティブ サービス サブスクリプション キー。 文字列
defaultLocale 既定のロケール。 文字列
id 構成の ID。 文字列
providerName プロバイダー名。 文字列

TelephonyPhoneNumbers

Name Description Value
acsEndpoint ACS のエンドポイント。 文字列
acsResourceId ACS のリソース ID。 文字列
acsSecret ACS のシークレット。 文字列
cognitiveServiceRegion コグニティブ サービスのサービス リージョン。 文字列
cognitiveServiceResourceId コグニティブ サービスのリソース ID。 文字列
cognitiveServiceSubscriptionKey コグニティブ サービスのサブスクリプション キー。 文字列
defaultLocale 電話番号の既定のロケール。 文字列
id 要素 ID。 文字列
offerType 電話のオファリングの種類を決定する省略可能なプロパティ。 文字列
phoneNumber 電話番号。 文字列

WebChatChannel

Name Description Value
channelName チャネル名 'WebChatChannel' (必須)
properties Web チャット チャネル リソースに固有のプロパティのセット WebChatChannelProperties

WebChatChannelProperties

Name Description Value
sites Web チャット サイトの一覧 WebChatSite[]

WebChatSite

Name Description Value
appId DirectLine アプリケーション ID 文字列
eTag エンティティ タグ 文字列
isBlockUserUploadEnabled このサイトでユーザーのアップロードのブロックが有効になっているかどうか。 bool
isDetailedLoggingEnabled このサイトが無効になっているかどうかの詳細なログ記録 bool
isEnabled このサイトが DirectLine チャネルに対して有効になっているかどうか bool (必須)
isEndpointParametersEnabled このサイトが EndpointParameters でチャネルに対して有効になっているかどうか bool
isNoStorageEnabled このストレージなしサイトが無効になっているかどうかの詳細なログ記録 bool
isSecureSiteEnabled このサイトが Bot Framework での認証に対して有効になっているかどうか。 bool
isV1Enabled このサイトが Bot Framework V1 プロトコルに対して有効になっているかどうか。 bool
isV3Enabled このサイトが Bot Framework V3 プロトコルに対して有効になっているかどうか。 bool
isWebchatPreviewEnabled このサイトが Web チャットのプレビュー バージョンに対して有効になっているかどうか bool
isWebChatSpeechEnabled このサイトが Webchat Speech に対して有効になっているかどうか bool
siteName サイト名 文字列 (必須)
tenantId テナント ID 文字列
trustedOrigins このサイトの信頼できる配信元 URL の一覧。 このフィールドは、isSecureSiteEnabled が True の場合にのみ適用されます。 string[]