Microsoft.BotService 봇서비스

Bicep 리소스 정의

botServices 리소스 종류는 다음을 대상으로 하는 작업으로 배포할 수 있습니다.

각 API 버전에서 변경된 속성 목록은 변경 로그참조하세요.

사용 예제

Bicep 샘플

Azure Bot Service 배포의 기본 예제입니다.

param resourceName string = 'acctest0001'
param location string = 'westeurope'

param clientId string

resource botService 'Microsoft.BotService/botServices@2021-05-01-preview' = {
  name: resourceName
  location: 'global'
  sku: {
    name: 'F0'
  }
  kind: 'sdk'
  properties: {
    developerAppInsightKey: ''
    developerAppInsightsApiKey: ''
    developerAppInsightsApplicationId: ''
    displayName: resourceName
    endpoint: ''
    luisAppIds: []
    luisKey: ''
    msaAppId: clientId
  }
  tags: {
    environment: 'production'
  }
}

리소스 형식

Microsoft.BotService/botServices 리소스를 만들려면 템플릿에 다음 Bicep을 추가합니다.

resource symbolicname 'Microsoft.BotService/botServices@2023-09-15-preview' = {
  etag: 'string'
  kind: 'string'
  location: 'string'
  name: 'string'
  properties: {
    allSettings: {
      {customized property}: 'string'
    }
    appPasswordHint: 'string'
    cmekKeyVaultUrl: 'string'
    description: 'string'
    developerAppInsightKey: 'string'
    developerAppInsightsApiKey: 'string'
    developerAppInsightsApplicationId: 'string'
    disableLocalAuth: bool
    displayName: 'string'
    endpoint: 'string'
    iconUrl: 'string'
    isCmekEnabled: bool
    isStreamingSupported: bool
    luisAppIds: [
      'string'
    ]
    luisKey: 'string'
    manifestUrl: 'string'
    msaAppId: 'string'
    msaAppMSIResourceId: 'string'
    msaAppTenantId: 'string'
    msaAppType: 'string'
    openWithHint: 'string'
    parameters: {
      {customized property}: 'string'
    }
    publicNetworkAccess: 'string'
    publishingCredentials: 'string'
    schemaTransformationVersion: 'string'
    storageResourceId: 'string'
    tenantId: 'string'
  }
  sku: {
    name: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

속성 값

Microsoft.BotService/봇서비스

이름 묘사 값
etag 엔터티 태그입니다. 문자열
종류 필수. 리소스의 종류를 가져오거나 설정합니다. '애저봇'
'봇'
'디자이너'
'기능'
'SDK'
위치 리소스의 위치를 지정합니다. 문자열
이름 리소스 이름 문자열

제약 조건:
최소 길이 = 2
최대 길이 = 64
패턴 = ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$(필수)
속성 봇 리소스와 관련된 속성 집합 봇속성
SKU (재고 관리 코드) 리소스의 SKU를 가져오거나 설정합니다. 스쿠
태그 리소스 태그 태그 이름 및 값의 사전입니다. 템플릿 태그를 참조하세요.

봇속성

이름 묘사 값
모두설정 키/값 쌍으로 정의된 모든 리소스 설정을 포함합니다. BotPropertiesAllSettings
앱패스워드힌트 앱 비밀을 가져오는 방법에 대한 힌트(예: keyVault secret resourceId) 문자열
cmekKeyVaultUrl The CMK Url 문자열
묘사 봇에 대한 설명 문자열
developerAppInsight키 Application Insights 키 문자열
developerAppInsightsApi키 Application Insights API 키 문자열
developerAppInsightsApplicationId Application Insights 앱 ID 문자열
disableLocalAuth 로컬 인증을 옵트아웃하고 MSI 및 AAD만 인증에만 사용할 수 있는지 확인합니다. bool
디스플레이 이름 봇의 이름 string(필수)
끝점 봇의 엔드포인트 string(필수)
아이콘 URL 봇의 아이콘 URL 문자열
isCmekEnabled Cmek 사용 여부 bool
isStreamingSupported 봇이 스트리밍 지원되는지 여부 bool
luisAppIds LUIS 앱 ID 컬렉션 문자열[]
루이키 LUIS 키 문자열
매니페스트 URL 봇의 매니페스트 URL 문자열
msaAppId 봇에 대한 Microsoft 앱 ID string(필수)
msaAppMSIResourceId 봇에 대한 Microsoft 앱 관리 ID 리소스 ID 문자열
msaAppTenantId 봇에 대한 Microsoft 앱 테넌트 ID 문자열
msaAppType 봇용 Microsoft 앱 유형 '멀티테넌트'
'싱글테넌트'
'사용자 할당MSI'
오픈위드힌트 작성을 위해 봇을 여는 방법에 대한 브라우저 힌트(예: 프로토콜 처리기) 문자열
매개 변수 키/값 쌍으로 정의된 리소스 매개 변수를 포함합니다. BotProperties매개 변수
공공 네트워크 접근 봇이 격리된 네트워크에 있는지 여부 '사용 안 함'
'사용'
'SecuredByPerimeter'
publishing자격 증명 리소스의 자격 증명 게시 문자열
스키마변환버전 봇의 채널 스키마 변환 버전 문자열
'storageResourceId'입니다 봇의 스토리지 resourceId 문자열
테넌트ID 봇의 테넌트 ID 문자열

BotPropertiesAllSettings

이름 묘사 값

BotProperties매개 변수

이름 묘사 값

봇태그

이름 묘사 값

SKU (재고 관리 코드)

이름 묘사 값
이름 sku 이름 'F0'
'S1'(필수)

ARM 템플릿 리소스 정의

botServices 리소스 종류는 다음을 대상으로 하는 작업으로 배포할 수 있습니다.

사용 예제

리소스 형식

Microsoft.BotService/botServices 리소스를 만들려면 템플릿에 다음 JSON을 추가합니다.

{
  "type": "Microsoft.BotService/botServices",
  "apiVersion": "2023-09-15-preview",
  "name": "string",
  "etag": "string",
  "kind": "string",
  "location": "string",
  "properties": {
    "allSettings": {
      "{customized property}": "string"
    },
    "appPasswordHint": "string",
    "cmekKeyVaultUrl": "string",
    "description": "string",
    "developerAppInsightKey": "string",
    "developerAppInsightsApiKey": "string",
    "developerAppInsightsApplicationId": "string",
    "disableLocalAuth": "bool",
    "displayName": "string",
    "endpoint": "string",
    "iconUrl": "string",
    "isCmekEnabled": "bool",
    "isStreamingSupported": "bool",
    "luisAppIds": [ "string" ],
    "luisKey": "string",
    "manifestUrl": "string",
    "msaAppId": "string",
    "msaAppMSIResourceId": "string",
    "msaAppTenantId": "string",
    "msaAppType": "string",
    "openWithHint": "string",
    "parameters": {
      "{customized property}": "string"
    },
    "publicNetworkAccess": "string",
    "publishingCredentials": "string",
    "schemaTransformationVersion": "string",
    "storageResourceId": "string",
    "tenantId": "string"
  },
  "sku": {
    "name": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

속성 값

Microsoft.BotService/봇서비스

이름 묘사 값
API버전 api 버전 '2023-09-15-미리보기'
etag 엔터티 태그입니다. 문자열
종류 필수. 리소스의 종류를 가져오거나 설정합니다. '애저봇'
'봇'
'디자이너'
'기능'
'SDK'
위치 리소스의 위치를 지정합니다. 문자열
이름 리소스 이름 문자열

제약 조건:
최소 길이 = 2
최대 길이 = 64
패턴 = ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$(필수)
속성 봇 리소스와 관련된 속성 집합 봇속성
SKU (재고 관리 코드) 리소스의 SKU를 가져오거나 설정합니다. 스쿠
태그 리소스 태그 태그 이름 및 값의 사전입니다. 템플릿 태그를 참조하세요.
형 리소스 종류 'Microsoft.BotService/봇서비스'

봇속성

이름 묘사 값
모두설정 키/값 쌍으로 정의된 모든 리소스 설정을 포함합니다. BotPropertiesAllSettings
앱패스워드힌트 앱 비밀을 가져오는 방법에 대한 힌트(예: keyVault secret resourceId) 문자열
cmekKeyVaultUrl The CMK Url 문자열
묘사 봇에 대한 설명 문자열
developerAppInsight키 Application Insights 키 문자열
developerAppInsightsApi키 Application Insights API 키 문자열
developerAppInsightsApplicationId Application Insights 앱 ID 문자열
disableLocalAuth 로컬 인증을 옵트아웃하고 MSI 및 AAD만 인증에만 사용할 수 있는지 확인합니다. bool
디스플레이 이름 봇의 이름 string(필수)
끝점 봇의 엔드포인트 string(필수)
아이콘 URL 봇의 아이콘 URL 문자열
isCmekEnabled Cmek 사용 여부 bool
isStreamingSupported 봇이 스트리밍 지원되는지 여부 bool
luisAppIds LUIS 앱 ID 컬렉션 문자열[]
루이키 LUIS 키 문자열
매니페스트 URL 봇의 매니페스트 URL 문자열
msaAppId 봇에 대한 Microsoft 앱 ID string(필수)
msaAppMSIResourceId 봇에 대한 Microsoft 앱 관리 ID 리소스 ID 문자열
msaAppTenantId 봇에 대한 Microsoft 앱 테넌트 ID 문자열
msaAppType 봇용 Microsoft 앱 유형 '멀티테넌트'
'싱글테넌트'
'사용자 할당MSI'
오픈위드힌트 작성을 위해 봇을 여는 방법에 대한 브라우저 힌트(예: 프로토콜 처리기) 문자열
매개 변수 키/값 쌍으로 정의된 리소스 매개 변수를 포함합니다. BotProperties매개 변수
공공 네트워크 접근 봇이 격리된 네트워크에 있는지 여부 '사용 안 함'
'사용'
'SecuredByPerimeter'
publishing자격 증명 리소스의 자격 증명 게시 문자열
스키마변환버전 봇의 채널 스키마 변환 버전 문자열
'storageResourceId'입니다 봇의 스토리지 resourceId 문자열
테넌트ID 봇의 테넌트 ID 문자열

BotPropertiesAllSettings

이름 묘사 값

BotProperties매개 변수

이름 묘사 값

봇태그

이름 묘사 값

SKU (재고 관리 코드)

이름 묘사 값
이름 sku 이름 'F0'
'S1'(필수)

Terraform(AzAPI 공급자) 리소스 정의

botServices 리소스 종류는 다음을 대상으로 하는 작업으로 배포할 수 있습니다.

  • 자원 그룹 각 API 버전에서 변경된 속성 목록은 변경 로그를 참조하세요.

사용 예제

Terraform 샘플

Azure Bot Service 배포의 기본 예제입니다.

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

provider "azurerm" {
  features {
  }
}

provider "azapi" {
  skip_provider_registration = false
}

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

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

data "azurerm_client_config" "current" {
}

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  = "global"
  body = {
    kind = "sdk"
    properties = {
      developerAppInsightKey            = ""
      developerAppInsightsApiKey        = ""
      developerAppInsightsApplicationId = ""
      displayName                       = var.resource_name
      endpoint                          = ""
      luisAppIds = [
      ]
      luisKey  = ""
      msaAppId = data.azurerm_client_config.current.client_id
    }
    sku = {
      name = "F0"
    }
    tags = {
      environment = "production"
    }
  }
  schema_validation_enabled = false
  response_export_values    = ["*"]
}

Azure 확인된 모듈

다음 Azure 확인된 모듈 사용하여 이 리소스 유형을 배포할 수 있습니다.

Module 묘사
Bot Service Bot Service용 AVM 리소스 모듈

리소스 형식

Microsoft.BotService/botServices 리소스를 만들려면 템플릿에 다음 Terraform을 추가합니다.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.BotService/botServices@2023-09-15-preview"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    etag = "string"
    kind = "string"
    properties = {
      allSettings = {
        {customized property} = "string"
      }
      appPasswordHint = "string"
      cmekKeyVaultUrl = "string"
      description = "string"
      developerAppInsightKey = "string"
      developerAppInsightsApiKey = "string"
      developerAppInsightsApplicationId = "string"
      disableLocalAuth = bool
      displayName = "string"
      endpoint = "string"
      iconUrl = "string"
      isCmekEnabled = bool
      isStreamingSupported = bool
      luisAppIds = [
        "string"
      ]
      luisKey = "string"
      manifestUrl = "string"
      msaAppId = "string"
      msaAppMSIResourceId = "string"
      msaAppTenantId = "string"
      msaAppType = "string"
      openWithHint = "string"
      parameters = {
        {customized property} = "string"
      }
      publicNetworkAccess = "string"
      publishingCredentials = "string"
      schemaTransformationVersion = "string"
      storageResourceId = "string"
      tenantId = "string"
    }
    sku = {
      name = "string"
    }
  }
}

속성 값

Microsoft.BotService/봇서비스

이름 묘사 값
etag 엔터티 태그입니다. 문자열
종류 필수. 리소스의 종류를 가져오거나 설정합니다. '애저봇'
'봇'
'디자이너'
'기능'
'SDK'
위치 리소스의 위치를 지정합니다. 문자열
이름 리소스 이름 문자열

제약 조건:
최소 길이 = 2
최대 길이 = 64
패턴 = ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$(필수)
속성 봇 리소스와 관련된 속성 집합 봇속성
SKU (재고 관리 코드) 리소스의 SKU를 가져오거나 설정합니다. 스쿠
태그 리소스 태그 태그 이름 및 값의 사전입니다.
형 리소스 종류 "Microsoft.BotService/botServices@2023-09-15-preview"

봇속성

이름 묘사 값
모두설정 키/값 쌍으로 정의된 모든 리소스 설정을 포함합니다. BotPropertiesAllSettings
앱패스워드힌트 앱 비밀을 가져오는 방법에 대한 힌트(예: keyVault secret resourceId) 문자열
cmekKeyVaultUrl The CMK Url 문자열
묘사 봇에 대한 설명 문자열
developerAppInsight키 Application Insights 키 문자열
developerAppInsightsApi키 Application Insights API 키 문자열
developerAppInsightsApplicationId Application Insights 앱 ID 문자열
disableLocalAuth 로컬 인증을 옵트아웃하고 MSI 및 AAD만 인증에만 사용할 수 있는지 확인합니다. bool
디스플레이 이름 봇의 이름 string(필수)
끝점 봇의 엔드포인트 string(필수)
아이콘 URL 봇의 아이콘 URL 문자열
isCmekEnabled Cmek 사용 여부 bool
isStreamingSupported 봇이 스트리밍 지원되는지 여부 bool
luisAppIds LUIS 앱 ID 컬렉션 문자열[]
루이키 LUIS 키 문자열
매니페스트 URL 봇의 매니페스트 URL 문자열
msaAppId 봇에 대한 Microsoft 앱 ID string(필수)
msaAppMSIResourceId 봇에 대한 Microsoft 앱 관리 ID 리소스 ID 문자열
msaAppTenantId 봇에 대한 Microsoft 앱 테넌트 ID 문자열
msaAppType 봇용 Microsoft 앱 유형 '멀티테넌트'
'싱글테넌트'
'사용자 할당MSI'
오픈위드힌트 작성을 위해 봇을 여는 방법에 대한 브라우저 힌트(예: 프로토콜 처리기) 문자열
매개 변수 키/값 쌍으로 정의된 리소스 매개 변수를 포함합니다. BotProperties매개 변수
공공 네트워크 접근 봇이 격리된 네트워크에 있는지 여부 '사용 안 함'
'사용'
'SecuredByPerimeter'
publishing자격 증명 리소스의 자격 증명 게시 문자열
스키마변환버전 봇의 채널 스키마 변환 버전 문자열
'storageResourceId'입니다 봇의 스토리지 resourceId 문자열
테넌트ID 봇의 테넌트 ID 문자열

BotPropertiesAllSettings

이름 묘사 값

BotProperties매개 변수

이름 묘사 값

봇태그

이름 묘사 값

SKU (재고 관리 코드)

이름 묘사 값
이름 sku 이름 'F0'
'S1'(필수)