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 엔터티 태그입니다. string
kind Required. 리소스의 종류를 가져오거나 설정합니다. 'azurebot'
'bot'
'designer'
'function'
'sdk'
location 리소스의 위치를 지정합니다. string
name 리소스 이름 'AcsChatChannel'
'AlexaChannel'
'DirectLineChannel'
'DirectLineSpeechChannel'
'EmailChannel'
'FacebookChannel'
'KikChannel'
'LineChannel'
'M365Extensions'
'MsTeamsChannel'
'Omnichannel'
'OutlookChannel'
'SearchAssistant'
'SkypeChannel'
'SlackChannel'
'SmsChannel'
'TelegramChannel'
'TelephonyChannel'
'WebChatChannel'(필수)
parent 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 string(필수)
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 리소스의 엔터티 태그 string
location 리소스의 위치를 지정합니다. string

DirectLineChannel

Name Description Value
channelName 채널 이름 'DirectLineChannel'(필수)
properties 직접 회선 채널 리소스와 관련된 속성 집합 DirectLineChannelProperties

DirectLineChannelProperties

Name Description Value
DirectLineEmbedCode 리소스의 직접 회선 포함 코드 string
extensionKey1 extensionKey1 string
extensionKey2 extensionKey2 string
sites 직접 회선 사이트 목록 DirectLineSite[]

DirectLineSite

Name Description Value
appId DirectLine 애플리케이션 ID string
eTag 엔터티 태그 string
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 이 사이트가 Webchat의 미리 보기 버전에 사용할 수 있는지 여부 bool
isWebChatSpeechEnabled 이 사이트를 Webchat Speech에 사용할 수 있는지 여부 bool
siteName 사이트 이름 string(필수)
tenantId 테넌트 ID string
trustedOrigins 이 사이트의 신뢰할 수 있는 원본 URL 목록입니다. 이 필드는 isSecureSiteEnabled가 True인 경우에만 적용됩니다. string[]

DirectLineSpeechChannel

Name Description Value
channelName 채널 이름 'DirectLineSpeechChannel'(필수)
properties DirectLine Speech 채널 리소스와 관련된 속성 집합 DirectLineSpeechChannelProperties

DirectLineSpeechChannelProperties

Name Description Value
cognitiveServiceRegion 이 채널 등록을 사용하는 인식 서비스 지역입니다. string
cognitiveServiceResourceId 이 채널 등록을 사용하는 인식 서비스 ID입니다. string
cognitiveServiceSubscriptionKey 이 채널 등록에 사용할 Cognitive Service 구독 키입니다. string

Constraints:
중요한 값입니다. 보안 매개 변수로 전달합니다.
customSpeechModelId 사용자 지정 음성 배포 ID(선택 사항). string
customVoiceDeploymentId 사용자 지정 음성 모델 ID(선택 사항). string
isDefaultBotForCogSvcAccount 이 봇을 선택한 Cognitive Service 계정의 기본 봇으로 만듭니다. bool
isEnabled 이 채널의 사용 여부입니다. bool

EmailChannel

Name Description Value
channelName 채널 이름 'EmailChannel'(필수)
properties 전자 메일 채널 리소스와 관련된 속성 집합 EmailChannelProperties

EmailChannelProperties

Name Description Value
authMethod 전자 메일 채널 인증 방법입니다. 0 암호(기본값); 1 그래프. int
emailAddress 전자 메일 주소 string(필수)
isEnabled 봇에 대해 이 채널을 사용할 수 있는지 여부 bool(필수)
magicCode 최신 인증을 설정하기 위한 매직 코드입니다. string
password 전자 메일 주소의 암호입니다. POST를 통해 작업 채널 목록 API로만 반환되는 값입니다. 그렇지 않으면 비어 있습니다. string

FacebookChannel

Name Description Value
channelName 채널 이름 'FacebookChannel'(필수)
properties 봇 Facebook 채널과 관련된 속성 집합 FacebookChannelProperties

FacebookChannelProperties

Name Description Value
appId Facebook 애플리케이션 ID string(필수)
appSecret 페이스 북 응용 프로그램 비밀. POST를 통해 작업 채널 목록 API로만 반환되는 값입니다. 그렇지 않으면 비어 있습니다. string

Constraints:
중요한 값입니다. 보안 매개 변수로 전달합니다.
isEnabled 봇에 대해 이 채널을 사용할 수 있는지 여부 bool(필수)
pages Facebook 페이지 목록 FacebookPage[]

FacebookPage

Name Description Value
accessToken Facebook 애플리케이션 액세스 토큰. POST를 통해 작업 채널 목록 API로만 반환되는 값입니다. 그렇지 않으면 비어 있습니다. string

Constraints:
중요한 값입니다. 보안 매개 변수로 전달합니다.
id 페이지 ID string(필수)

KikChannel

Name Description Value
channelName 채널 이름 'KikChannel'(필수)
properties Kik 채널 리소스와 관련된 속성 집합 KikChannelProperties

KikChannelProperties

Name Description Value
apiKey Kik API 키입니다. POST를 통해 작업 채널 목록 API로만 반환되는 값입니다. 그렇지 않으면 비어 있습니다. string
isEnabled 봇에 대해 이 채널을 사용할 수 있는지 여부 bool(필수)
isValidated 이 채널이 봇에 대해 유효성을 검사하는지 여부 bool
userName Kik 사용자 이름 string(필수)

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 채널 호출에 대한 웹후크 string
deploymentEnvironment Microsoft Teams 채널 호출을 위한 배포 환경 string
enableCalling Microsoft Teams 채널에 대한 통화 사용 bool
incomingCallRoute Microsoft Teams 채널 호출에 대한 웹후크 string
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 채널에 대한 웹 후크 호출 string
enableCalling Skype 채널에 대한 통화 사용 bool
enableGroups Skype 채널에 그룹 사용 bool
enableMediaCards Skype 채널에 미디어 카드 사용 bool
enableMessaging Skype 채널에 메시징 사용 bool
enableScreenSharing Skype 채널에 화면 공유 사용 bool
enableVideo Skype 채널에 비디오 사용 bool
groupsMode Skype 채널의 그룹 모드 string
incomingCallRoute Skype 채널의 수신 통화 경로 string
isEnabled 봇에 대해 이 채널을 사용할 수 있는지 여부 bool(필수)

SlackChannel

Name Description Value
channelName 채널 이름 'SlackChannel'(필수)
properties Slack 채널 리소스와 관련된 속성 집합 SlackChannelProperties

SlackChannelProperties

Name Description Value
clientId Slack 클라이언트 ID string
clientSecret Slack 클라이언트 암호입니다. POST를 통해 작업 채널 목록 API로만 반환되는 값입니다. 그렇지 않으면 비어 있습니다. string

Constraints:
중요한 값입니다. 보안 매개 변수로 전달합니다.
isEnabled 봇에 대해 이 채널을 사용할 수 있는지 여부 bool(필수)
landingPageUrl Slack 방문 페이지 URL string
registerBeforeOAuthFlow OAuth 유효성 검사를 수행하기 전에 설정을 등록할지 여부입니다. True로 권장됩니다. bool
scopes Slack 권한 범위입니다. string
signingSecret Slack 서명 비밀입니다. string

Constraints:
중요한 값입니다. 보안 매개 변수로 전달합니다.
verificationToken Slack 확인 토큰입니다. POST를 통해 작업 채널 목록 API로만 반환되는 값입니다. 그렇지 않으면 비어 있습니다. string

Constraints:
중요한 값입니다. 보안 매개 변수로 전달합니다.

SmsChannel

Name Description Value
channelName 채널 이름 'SmsChannel'(필수)
properties Sms 채널 리소스와 관련된 속성 집합 SmsChannelProperties

SmsChannelProperties

Name Description Value
accountSID Sms 계정 SID입니다. POST를 통해 작업 채널 목록 API로만 반환되는 값입니다. 그렇지 않으면 비어 있습니다. string(필수)
authToken Sms 인증 토큰입니다. POST를 통해 작업 채널 목록 API로만 반환되는 값입니다. 그렇지 않으면 비어 있습니다. string

Constraints:
중요한 값입니다. 보안 매개 변수로 전달합니다.
isEnabled 봇에 대해 이 채널을 사용할 수 있는지 여부 bool(필수)
isValidated 이 채널이 봇에 대해 유효성을 검사하는지 여부 bool
phone Sms 휴대폰 string(필수)

TelegramChannel

Name Description Value
channelName 채널 이름 'TelegramChannel'(필수)
properties Telegram 채널 리소스와 관련된 속성 집합 TelegramChannelProperties

TelegramChannelProperties

Name Description Value
accessToken Telegram 액세스 토큰입니다. POST를 통해 작업 채널 목록 API로만 반환되는 값입니다. 그렇지 않으면 비어 있습니다. string

Constraints:
중요한 값입니다. 보안 매개 변수로 전달합니다.
isEnabled 봇에 대해 이 채널을 사용할 수 있는지 여부 bool(필수)
isValidated 이 채널이 봇에 대해 유효성을 검사하는지 여부 bool

TelephonyChannel

Name Description Value
channelName 채널 이름 'TelephonyChannel'(필수)
properties 전화 통신 채널 리소스와 관련된 속성 집합 TelephonyChannelProperties

TelephonyChannelProperties

Name Description Value
apiConfigurations 전화 통신 API 구성 목록 TelephonyChannelResourceApiConfiguration[]
cognitiveServiceRegion extensionKey2 string
cognitiveServiceSubscriptionKey extensionKey1 string
defaultLocale 채널의 기본 로캘 string
isEnabled 채널 사용 여부 bool
phoneNumbers 전화 통신 전화 번호 목록 TelephonyPhoneNumbers[]
premiumSKU 채널에 적용되는 프리미엄 SKU string

TelephonyChannelResourceApiConfiguration

Name Description Value
cognitiveServiceRegion 인지 서비스 지역입니다. string
cognitiveServiceResourceId Cognitive Service resourceId입니다. string
cognitiveServiceSubscriptionKey Cognitive Service 구독 키입니다. string
defaultLocale 기본 로캘입니다. string
id 구성의 ID입니다. string
providerName 공급자 이름입니다. string

TelephonyPhoneNumbers

Name Description Value
acsEndpoint ACS의 엔드포인트입니다. string
acsResourceId ACS의 리소스 ID입니다. string
acsSecret ACS의 비밀입니다. string
cognitiveServiceRegion Cognitive Service의 서비스 지역입니다. string
cognitiveServiceResourceId Cognitive Service의 리소스 ID입니다. string
cognitiveServiceSubscriptionKey Cognitive Service의 구독 키입니다. string
defaultLocale 전화 번호의 기본 로캘입니다. string
id 요소 ID입니다. string
offerType 휴대폰의 제품 유형을 결정하는 선택적 속성입니다. string
phoneNumber 전화 번호입니다. string

WebChatChannel

Name Description Value
channelName 채널 이름 'WebChatChannel'(필수)
properties 웹 채팅 채널 리소스와 관련된 속성 집합 WebChatChannelProperties

WebChatChannelProperties

Name Description Value
sites 웹 채팅 사이트 목록 WebChatSite[]

WebChatSite

Name Description Value
appId DirectLine 애플리케이션 ID string
eTag 엔터티 태그 string
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 이 사이트가 Webchat의 미리 보기 버전에 사용할 수 있는지 여부 bool
isWebChatSpeechEnabled 이 사이트를 Webchat Speech에 사용할 수 있는지 여부 bool
siteName 사이트 이름 string(필수)
tenantId 테넌트 ID string
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 엔터티 태그입니다. string
kind Required. 리소스의 종류를 가져오거나 설정합니다. 'azurebot'
'bot'
'designer'
'function'
'sdk'
location 리소스의 위치를 지정합니다. string
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 리소스 태그 태그 이름 및 값의 사전입니다. 템플릿 태그를 참조하세요.
type 리소스 종류 '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 string(필수)
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 리소스의 엔터티 태그 string
location 리소스의 위치를 지정합니다. string

DirectLineChannel

Name Description Value
channelName 채널 이름 'DirectLineChannel'(필수)
properties 직접 회선 채널 리소스와 관련된 속성 집합 DirectLineChannelProperties

DirectLineChannelProperties

Name Description Value
DirectLineEmbedCode 리소스의 직접 회선 포함 코드 string
extensionKey1 extensionKey1 string
extensionKey2 extensionKey2 string
sites 직접 회선 사이트 목록 DirectLineSite[]

DirectLineSite

Name Description Value
appId DirectLine 애플리케이션 ID string
eTag 엔터티 태그 string
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 이 사이트가 Webchat의 미리 보기 버전에 사용할 수 있는지 여부 bool
isWebChatSpeechEnabled 이 사이트를 Webchat Speech에 사용할 수 있는지 여부 bool
siteName 사이트 이름 string(필수)
tenantId 테넌트 ID string
trustedOrigins 이 사이트의 신뢰할 수 있는 원본 URL 목록입니다. 이 필드는 isSecureSiteEnabled가 True인 경우에만 적용됩니다. string[]

DirectLineSpeechChannel

Name Description Value
channelName 채널 이름 'DirectLineSpeechChannel'(필수)
properties DirectLine Speech 채널 리소스와 관련된 속성 집합 DirectLineSpeechChannelProperties

DirectLineSpeechChannelProperties

Name Description Value
cognitiveServiceRegion 이 채널 등록을 사용하는 인식 서비스 지역입니다. string
cognitiveServiceResourceId 이 채널 등록을 사용하는 인식 서비스 ID입니다. string
cognitiveServiceSubscriptionKey 이 채널 등록에 사용할 Cognitive Service 구독 키입니다. string

Constraints:
중요한 값입니다. 보안 매개 변수로 전달합니다.
customSpeechModelId 사용자 지정 음성 배포 ID(선택 사항). string
customVoiceDeploymentId 사용자 지정 음성 모델 ID(선택 사항). string
isDefaultBotForCogSvcAccount 이 봇을 선택한 Cognitive Service 계정의 기본 봇으로 만듭니다. bool
isEnabled 이 채널의 사용 여부입니다. bool

EmailChannel

Name Description Value
channelName 채널 이름 'EmailChannel'(필수)
properties 전자 메일 채널 리소스와 관련된 속성 집합 EmailChannelProperties

EmailChannelProperties

Name Description Value
authMethod 전자 메일 채널 인증 방법입니다. 0 암호(기본값); 1 그래프. int
emailAddress 전자 메일 주소 string(필수)
isEnabled 봇에 대해 이 채널을 사용할 수 있는지 여부 bool(필수)
magicCode 최신 인증을 설정하기 위한 매직 코드입니다. string
password 전자 메일 주소의 암호입니다. POST를 통해 작업 채널 목록 API로만 반환되는 값입니다. 그렇지 않으면 비어 있습니다. string

FacebookChannel

Name Description Value
channelName 채널 이름 'FacebookChannel'(필수)
properties 봇 Facebook 채널과 관련된 속성 집합 FacebookChannelProperties

FacebookChannelProperties

Name Description Value
appId Facebook 애플리케이션 ID string(필수)
appSecret 페이스 북 응용 프로그램 비밀. POST를 통해 작업 채널 목록 API로만 반환되는 값입니다. 그렇지 않으면 비어 있습니다. string

Constraints:
중요한 값입니다. 보안 매개 변수로 전달합니다.
isEnabled 봇에 대해 이 채널을 사용할 수 있는지 여부 bool(필수)
pages Facebook 페이지 목록 FacebookPage[]

FacebookPage

Name Description Value
accessToken Facebook 애플리케이션 액세스 토큰. POST를 통해 작업 채널 목록 API로만 반환되는 값입니다. 그렇지 않으면 비어 있습니다. string

Constraints:
중요한 값입니다. 보안 매개 변수로 전달합니다.
id 페이지 ID string(필수)

KikChannel

Name Description Value
channelName 채널 이름 'KikChannel'(필수)
properties Kik 채널 리소스와 관련된 속성 집합 KikChannelProperties

KikChannelProperties

Name Description Value
apiKey Kik API 키입니다. POST를 통해 작업 채널 목록 API로만 반환되는 값입니다. 그렇지 않으면 비어 있습니다. string
isEnabled 봇에 대해 이 채널을 사용할 수 있는지 여부 bool(필수)
isValidated 이 채널이 봇에 대해 유효성을 검사하는지 여부 bool
userName Kik 사용자 이름 string(필수)

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 채널 호출에 대한 웹후크 string
deploymentEnvironment Microsoft Teams 채널 호출을 위한 배포 환경 string
enableCalling Microsoft Teams 채널에 대한 통화 사용 bool
incomingCallRoute Microsoft Teams 채널 호출에 대한 웹후크 string
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 채널에 대한 웹 후크 호출 string
enableCalling Skype 채널에 대한 통화 사용 bool
enableGroups Skype 채널에 그룹 사용 bool
enableMediaCards Skype 채널에 미디어 카드 사용 bool
enableMessaging Skype 채널에 메시징 사용 bool
enableScreenSharing Skype 채널에 화면 공유 사용 bool
enableVideo Skype 채널에 비디오 사용 bool
groupsMode Skype 채널의 그룹 모드 string
incomingCallRoute Skype 채널의 수신 통화 경로 string
isEnabled 봇에 대해 이 채널을 사용할 수 있는지 여부 bool(필수)

SlackChannel

Name Description Value
channelName 채널 이름 'SlackChannel'(필수)
properties Slack 채널 리소스와 관련된 속성 집합 SlackChannelProperties

SlackChannelProperties

Name Description Value
clientId Slack 클라이언트 ID string
clientSecret Slack 클라이언트 암호입니다. POST를 통해 작업 채널 목록 API로만 반환되는 값입니다. 그렇지 않으면 비어 있습니다. string

Constraints:
중요한 값입니다. 보안 매개 변수로 전달합니다.
isEnabled 봇에 대해 이 채널을 사용할 수 있는지 여부 bool(필수)
landingPageUrl Slack 방문 페이지 URL string
registerBeforeOAuthFlow OAuth 유효성 검사를 수행하기 전에 설정을 등록할지 여부입니다. True로 권장됩니다. bool
scopes Slack 권한 범위입니다. string
signingSecret Slack 서명 비밀입니다. string

Constraints:
중요한 값입니다. 보안 매개 변수로 전달합니다.
verificationToken Slack 확인 토큰입니다. POST를 통해 작업 채널 목록 API로만 반환되는 값입니다. 그렇지 않으면 비어 있습니다. string

Constraints:
중요한 값입니다. 보안 매개 변수로 전달합니다.

SmsChannel

Name Description Value
channelName 채널 이름 'SmsChannel'(필수)
properties Sms 채널 리소스와 관련된 속성 집합 SmsChannelProperties

SmsChannelProperties

Name Description Value
accountSID Sms 계정 SID입니다. POST를 통해 작업 채널 목록 API로만 반환되는 값입니다. 그렇지 않으면 비어 있습니다. string(필수)
authToken Sms 인증 토큰입니다. POST를 통해 작업 채널 목록 API로만 반환되는 값입니다. 그렇지 않으면 비어 있습니다. string

Constraints:
중요한 값입니다. 보안 매개 변수로 전달합니다.
isEnabled 봇에 대해 이 채널을 사용할 수 있는지 여부 bool(필수)
isValidated 이 채널이 봇에 대해 유효성을 검사하는지 여부 bool
phone Sms 휴대폰 string(필수)

TelegramChannel

Name Description Value
channelName 채널 이름 'TelegramChannel'(필수)
properties Telegram 채널 리소스와 관련된 속성 집합 TelegramChannelProperties

TelegramChannelProperties

Name Description Value
accessToken Telegram 액세스 토큰입니다. POST를 통해 작업 채널 목록 API로만 반환되는 값입니다. 그렇지 않으면 비어 있습니다. string

Constraints:
중요한 값입니다. 보안 매개 변수로 전달합니다.
isEnabled 봇에 대해 이 채널을 사용할 수 있는지 여부 bool(필수)
isValidated 이 채널이 봇에 대해 유효성을 검사하는지 여부 bool

TelephonyChannel

Name Description Value
channelName 채널 이름 'TelephonyChannel'(필수)
properties 전화 통신 채널 리소스와 관련된 속성 집합 TelephonyChannelProperties

TelephonyChannelProperties

Name Description Value
apiConfigurations 전화 통신 API 구성 목록 TelephonyChannelResourceApiConfiguration[]
cognitiveServiceRegion extensionKey2 string
cognitiveServiceSubscriptionKey extensionKey1 string
defaultLocale 채널의 기본 로캘 string
isEnabled 채널 사용 여부 bool
phoneNumbers 전화 통신 전화 번호 목록 TelephonyPhoneNumbers[]
premiumSKU 채널에 적용되는 프리미엄 SKU string

TelephonyChannelResourceApiConfiguration

Name Description Value
cognitiveServiceRegion 인지 서비스 지역입니다. string
cognitiveServiceResourceId Cognitive Service resourceId입니다. string
cognitiveServiceSubscriptionKey Cognitive Service 구독 키입니다. string
defaultLocale 기본 로캘입니다. string
id 구성의 ID입니다. string
providerName 공급자 이름입니다. string

TelephonyPhoneNumbers

Name Description Value
acsEndpoint ACS의 엔드포인트입니다. string
acsResourceId ACS의 리소스 ID입니다. string
acsSecret ACS의 비밀입니다. string
cognitiveServiceRegion Cognitive Service의 서비스 지역입니다. string
cognitiveServiceResourceId Cognitive Service의 리소스 ID입니다. string
cognitiveServiceSubscriptionKey Cognitive Service의 구독 키입니다. string
defaultLocale 전화 번호의 기본 로캘입니다. string
id 요소 ID입니다. string
offerType 휴대폰의 제품 유형을 결정하는 선택적 속성입니다. string
phoneNumber 전화 번호입니다. string

WebChatChannel

Name Description Value
channelName 채널 이름 'WebChatChannel'(필수)
properties 웹 채팅 채널 리소스와 관련된 속성 집합 WebChatChannelProperties

WebChatChannelProperties

Name Description Value
sites 웹 채팅 사이트 목록 WebChatSite[]

WebChatSite

Name Description Value
appId DirectLine 애플리케이션 ID string
eTag 엔터티 태그 string
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 이 사이트가 Webchat의 미리 보기 버전에 사용할 수 있는지 여부 bool
isWebChatSpeechEnabled 이 사이트를 Webchat Speech에 사용할 수 있는지 여부 bool
siteName 사이트 이름 string(필수)
tenantId 테넌트 ID string
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 엔터티 태그입니다. string
kind Required. 리소스의 종류를 가져오거나 설정합니다. 'azurebot'
'bot'
'designer'
'function'
'sdk'
location 리소스의 위치를 지정합니다. string
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 리소스 태그 태그 이름 및 값의 사전입니다.
type 리소스 종류 "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 string(필수)
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 리소스의 엔터티 태그 string
location 리소스의 위치를 지정합니다. string

DirectLineChannel

Name Description Value
channelName 채널 이름 'DirectLineChannel'(필수)
properties 직접 회선 채널 리소스와 관련된 속성 집합 DirectLineChannelProperties

DirectLineChannelProperties

Name Description Value
DirectLineEmbedCode 리소스의 직접 회선 포함 코드 string
extensionKey1 extensionKey1 string
extensionKey2 extensionKey2 string
sites 직접 회선 사이트 목록 DirectLineSite[]

DirectLineSite

Name Description Value
appId DirectLine 애플리케이션 ID string
eTag 엔터티 태그 string
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 이 사이트가 Webchat의 미리 보기 버전에 사용할 수 있는지 여부 bool
isWebChatSpeechEnabled 이 사이트를 Webchat Speech에 사용할 수 있는지 여부 bool
siteName 사이트 이름 string(필수)
tenantId 테넌트 ID string
trustedOrigins 이 사이트의 신뢰할 수 있는 원본 URL 목록입니다. 이 필드는 isSecureSiteEnabled가 True인 경우에만 적용됩니다. string[]

DirectLineSpeechChannel

Name Description Value
channelName 채널 이름 'DirectLineSpeechChannel'(필수)
properties DirectLine Speech 채널 리소스와 관련된 속성 집합 DirectLineSpeechChannelProperties

DirectLineSpeechChannelProperties

Name Description Value
cognitiveServiceRegion 이 채널 등록을 사용하는 인식 서비스 지역입니다. string
cognitiveServiceResourceId 이 채널 등록을 사용하는 인식 서비스 ID입니다. string
cognitiveServiceSubscriptionKey 이 채널 등록에 사용할 Cognitive Service 구독 키입니다. string

Constraints:
중요한 값입니다. 보안 매개 변수로 전달합니다.
customSpeechModelId 사용자 지정 음성 배포 ID(선택 사항). string
customVoiceDeploymentId 사용자 지정 음성 모델 ID(선택 사항). string
isDefaultBotForCogSvcAccount 이 봇을 선택한 Cognitive Service 계정의 기본 봇으로 만듭니다. bool
isEnabled 이 채널의 사용 여부입니다. bool

EmailChannel

Name Description Value
channelName 채널 이름 'EmailChannel'(필수)
properties 전자 메일 채널 리소스와 관련된 속성 집합 EmailChannelProperties

EmailChannelProperties

Name Description Value
authMethod 전자 메일 채널 인증 방법입니다. 0 암호(기본값); 1 그래프. int
emailAddress 전자 메일 주소 string(필수)
isEnabled 봇에 대해 이 채널을 사용할 수 있는지 여부 bool(필수)
magicCode 최신 인증을 설정하기 위한 매직 코드입니다. string
password 전자 메일 주소의 암호입니다. POST를 통해 작업 채널 목록 API로만 반환되는 값입니다. 그렇지 않으면 비어 있습니다. string

FacebookChannel

Name Description Value
channelName 채널 이름 'FacebookChannel'(필수)
properties 봇 Facebook 채널과 관련된 속성 집합 FacebookChannelProperties

FacebookChannelProperties

Name Description Value
appId Facebook 애플리케이션 ID string(필수)
appSecret 페이스 북 응용 프로그램 비밀. POST를 통해 작업 채널 목록 API로만 반환되는 값입니다. 그렇지 않으면 비어 있습니다. string

Constraints:
중요한 값입니다. 보안 매개 변수로 전달합니다.
isEnabled 봇에 대해 이 채널을 사용할 수 있는지 여부 bool(필수)
pages Facebook 페이지 목록 FacebookPage[]

FacebookPage

Name Description Value
accessToken Facebook 애플리케이션 액세스 토큰. POST를 통해 작업 채널 목록 API로만 반환되는 값입니다. 그렇지 않으면 비어 있습니다. string

Constraints:
중요한 값입니다. 보안 매개 변수로 전달합니다.
id 페이지 ID string(필수)

KikChannel

Name Description Value
channelName 채널 이름 'KikChannel'(필수)
properties Kik 채널 리소스와 관련된 속성 집합 KikChannelProperties

KikChannelProperties

Name Description Value
apiKey Kik API 키입니다. POST를 통해 작업 채널 목록 API로만 반환되는 값입니다. 그렇지 않으면 비어 있습니다. string
isEnabled 봇에 대해 이 채널을 사용할 수 있는지 여부 bool(필수)
isValidated 이 채널이 봇에 대해 유효성을 검사하는지 여부 bool
userName Kik 사용자 이름 string(필수)

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 채널 호출에 대한 웹후크 string
deploymentEnvironment Microsoft Teams 채널 호출을 위한 배포 환경 string
enableCalling Microsoft Teams 채널에 대한 통화 사용 bool
incomingCallRoute Microsoft Teams 채널 호출에 대한 웹후크 string
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 채널에 대한 웹 후크 호출 string
enableCalling Skype 채널에 대한 통화 사용 bool
enableGroups Skype 채널에 그룹 사용 bool
enableMediaCards Skype 채널에 미디어 카드 사용 bool
enableMessaging Skype 채널에 메시징 사용 bool
enableScreenSharing Skype 채널에 화면 공유 사용 bool
enableVideo Skype 채널에 비디오 사용 bool
groupsMode Skype 채널의 그룹 모드 string
incomingCallRoute Skype 채널의 수신 통화 경로 string
isEnabled 봇에 대해 이 채널을 사용할 수 있는지 여부 bool(필수)

SlackChannel

Name Description Value
channelName 채널 이름 'SlackChannel'(필수)
properties Slack 채널 리소스와 관련된 속성 집합 SlackChannelProperties

SlackChannelProperties

Name Description Value
clientId Slack 클라이언트 ID string
clientSecret Slack 클라이언트 암호입니다. POST를 통해 작업 채널 목록 API로만 반환되는 값입니다. 그렇지 않으면 비어 있습니다. string

Constraints:
중요한 값입니다. 보안 매개 변수로 전달합니다.
isEnabled 봇에 대해 이 채널을 사용할 수 있는지 여부 bool(필수)
landingPageUrl Slack 방문 페이지 URL string
registerBeforeOAuthFlow OAuth 유효성 검사를 수행하기 전에 설정을 등록할지 여부입니다. True로 권장됩니다. bool
scopes Slack 권한 범위입니다. string
signingSecret Slack 서명 비밀입니다. string

Constraints:
중요한 값입니다. 보안 매개 변수로 전달합니다.
verificationToken Slack 확인 토큰입니다. POST를 통해 작업 채널 목록 API로만 반환되는 값입니다. 그렇지 않으면 비어 있습니다. string

Constraints:
중요한 값입니다. 보안 매개 변수로 전달합니다.

SmsChannel

Name Description Value
channelName 채널 이름 'SmsChannel'(필수)
properties Sms 채널 리소스와 관련된 속성 집합 SmsChannelProperties

SmsChannelProperties

Name Description Value
accountSID Sms 계정 SID입니다. POST를 통해 작업 채널 목록 API로만 반환되는 값입니다. 그렇지 않으면 비어 있습니다. string(필수)
authToken Sms 인증 토큰입니다. POST를 통해 작업 채널 목록 API로만 반환되는 값입니다. 그렇지 않으면 비어 있습니다. string

Constraints:
중요한 값입니다. 보안 매개 변수로 전달합니다.
isEnabled 봇에 대해 이 채널을 사용할 수 있는지 여부 bool(필수)
isValidated 이 채널이 봇에 대해 유효성을 검사하는지 여부 bool
phone Sms 휴대폰 string(필수)

TelegramChannel

Name Description Value
channelName 채널 이름 'TelegramChannel'(필수)
properties Telegram 채널 리소스와 관련된 속성 집합 TelegramChannelProperties

TelegramChannelProperties

Name Description Value
accessToken Telegram 액세스 토큰입니다. POST를 통해 작업 채널 목록 API로만 반환되는 값입니다. 그렇지 않으면 비어 있습니다. string

Constraints:
중요한 값입니다. 보안 매개 변수로 전달합니다.
isEnabled 봇에 대해 이 채널을 사용할 수 있는지 여부 bool(필수)
isValidated 이 채널이 봇에 대해 유효성을 검사하는지 여부 bool

TelephonyChannel

Name Description Value
channelName 채널 이름 'TelephonyChannel'(필수)
properties 전화 통신 채널 리소스와 관련된 속성 집합 TelephonyChannelProperties

TelephonyChannelProperties

Name Description Value
apiConfigurations 전화 통신 API 구성 목록 TelephonyChannelResourceApiConfiguration[]
cognitiveServiceRegion extensionKey2 string
cognitiveServiceSubscriptionKey extensionKey1 string
defaultLocale 채널의 기본 로캘 string
isEnabled 채널 사용 여부 bool
phoneNumbers 전화 통신 전화 번호 목록 TelephonyPhoneNumbers[]
premiumSKU 채널에 적용되는 프리미엄 SKU string

TelephonyChannelResourceApiConfiguration

Name Description Value
cognitiveServiceRegion 인지 서비스 지역입니다. string
cognitiveServiceResourceId Cognitive Service resourceId입니다. string
cognitiveServiceSubscriptionKey Cognitive Service 구독 키입니다. string
defaultLocale 기본 로캘입니다. string
id 구성의 ID입니다. string
providerName 공급자 이름입니다. string

TelephonyPhoneNumbers

Name Description Value
acsEndpoint ACS의 엔드포인트입니다. string
acsResourceId ACS의 리소스 ID입니다. string
acsSecret ACS의 비밀입니다. string
cognitiveServiceRegion Cognitive Service의 서비스 지역입니다. string
cognitiveServiceResourceId Cognitive Service의 리소스 ID입니다. string
cognitiveServiceSubscriptionKey Cognitive Service의 구독 키입니다. string
defaultLocale 전화 번호의 기본 로캘입니다. string
id 요소 ID입니다. string
offerType 휴대폰의 제품 유형을 결정하는 선택적 속성입니다. string
phoneNumber 전화 번호입니다. string

WebChatChannel

Name Description Value
channelName 채널 이름 'WebChatChannel'(필수)
properties 웹 채팅 채널 리소스와 관련된 속성 집합 WebChatChannelProperties

WebChatChannelProperties

Name Description Value
sites 웹 채팅 사이트 목록 WebChatSite[]

WebChatSite

Name Description Value
appId DirectLine 애플리케이션 ID string
eTag 엔터티 태그 string
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 이 사이트가 Webchat의 미리 보기 버전에 사용할 수 있는지 여부 bool
isWebChatSpeechEnabled 이 사이트를 Webchat Speech에 사용할 수 있는지 여부 bool
siteName 사이트 이름 string(필수)
tenantId 테넌트 ID string
trustedOrigins 이 사이트의 신뢰할 수 있는 원본 URL 목록입니다. 이 필드는 isSecureSiteEnabled가 True인 경우에만 적용됩니다. string[]