From 666a07622dbd9f98238f8260624be57a42a32cc1 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 16 Dec 2021 03:23:40 +0000 Subject: [PATCH] CodeGen from PR 17112 in Azure/azure-rest-api-specs Merge ea2f8c72becd489e2aeae6355f619637f64a6afc into 79751e0389d7b753b5c119c8b2d796a02d3abd28 --- schemas/2017-12-01/Microsoft.BotService.json | 1519 ------------ schemas/2018-07-12/Microsoft.BotService.json | 1703 -------------- schemas/2020-06-02/Microsoft.BotService.json | 1719 -------------- schemas/2021-03-01/Microsoft.BotService.json | 1919 --------------- .../Microsoft.BotService.json | 2087 ----------------- schemas/common/autogeneratedResources.json | 51 - 6 files changed, 8998 deletions(-) delete mode 100644 schemas/2017-12-01/Microsoft.BotService.json delete mode 100644 schemas/2018-07-12/Microsoft.BotService.json delete mode 100644 schemas/2020-06-02/Microsoft.BotService.json delete mode 100644 schemas/2021-03-01/Microsoft.BotService.json delete mode 100644 schemas/2021-05-01-preview/Microsoft.BotService.json diff --git a/schemas/2017-12-01/Microsoft.BotService.json b/schemas/2017-12-01/Microsoft.BotService.json deleted file mode 100644 index 365f72eec0..0000000000 --- a/schemas/2017-12-01/Microsoft.BotService.json +++ /dev/null @@ -1,1519 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.BotService.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.BotService", - "description": "Microsoft BotService Resource Types", - "resourceDefinitions": { - "botServices": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-12-01" - ] - }, - "etag": { - "type": "string", - "description": "Entity Tag" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "sdk", - "designer", - "bot", - "function" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Required. Gets or sets the Kind of the resource." - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "minLength": 2, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the Bot resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BotProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Bot." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/botServices_channels_childResource" - }, - { - "$ref": "#/definitions/botServices_Connections_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.BotService/botServices" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/botServices" - }, - "botServices_channels": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-12-01" - ] - }, - "etag": { - "type": "string", - "description": "Entity Tag" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "sdk", - "designer", - "bot", - "function" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Required. Gets or sets the Kind of the resource." - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - }, - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "FacebookChannel", - "EmailChannel", - "KikChannel", - "TelegramChannel", - "SlackChannel", - "MsTeamsChannel", - "SkypeChannel", - "WebChatChannel", - "DirectLineChannel", - "SmsChannel" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the Channel resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/Channel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Channel definition" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.BotService/botServices/channels" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/botServices/channels" - }, - "botServices_Connections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-12-01" - ] - }, - "etag": { - "type": "string", - "description": "Entity Tag" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "sdk", - "designer", - "bot", - "function" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Required. Gets or sets the Kind of the resource." - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "minLength": 2, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the Bot Service Connection Setting resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ConnectionSettingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for a Connection Setting Item" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.BotService/botServices/Connections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/botServices/Connections" - } - }, - "definitions": { - "BotProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The description of the bot" - }, - "developerAppInsightKey": { - "type": "string", - "description": "The Application Insights key" - }, - "developerAppInsightsApiKey": { - "type": "string", - "description": "The Application Insights Api Key" - }, - "developerAppInsightsApplicationId": { - "type": "string", - "description": "The Application Insights App Id" - }, - "displayName": { - "type": "string", - "description": "The Name of the bot" - }, - "endpoint": { - "type": "string", - "description": "The bot's endpoint" - }, - "iconUrl": { - "type": "string", - "description": "The Icon Url of the bot" - }, - "luisAppIds": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Collection of LUIS App Ids" - }, - "luisKey": { - "type": "string", - "description": "The LUIS Key" - }, - "msaAppId": { - "type": "string", - "description": "Microsoft App Id for the bot" - } - }, - "required": [ - "displayName", - "endpoint", - "msaAppId" - ], - "description": "The parameters to provide for the Bot." - }, - "botServices_channels_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-12-01" - ] - }, - "etag": { - "type": "string", - "description": "Entity Tag" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "sdk", - "designer", - "bot", - "function" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Required. Gets or sets the Kind of the resource." - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - }, - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "FacebookChannel", - "EmailChannel", - "KikChannel", - "TelegramChannel", - "SlackChannel", - "MsTeamsChannel", - "SkypeChannel", - "WebChatChannel", - "DirectLineChannel", - "SmsChannel" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the Channel resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/Channel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Channel definition" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "channels" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/botServices/channels" - }, - "botServices_Connections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-12-01" - ] - }, - "etag": { - "type": "string", - "description": "Entity Tag" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "sdk", - "designer", - "bot", - "function" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Required. Gets or sets the Kind of the resource." - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "minLength": 2, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the Bot Service Connection Setting resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ConnectionSettingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for a Connection Setting Item" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "Connections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/botServices/Connections" - }, - "Channel": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/FacebookChannel" - }, - { - "$ref": "#/definitions/EmailChannel" - }, - { - "$ref": "#/definitions/MsTeamsChannel" - }, - { - "$ref": "#/definitions/SkypeChannel" - }, - { - "$ref": "#/definitions/KikChannel" - }, - { - "$ref": "#/definitions/WebChatChannel" - }, - { - "$ref": "#/definitions/DirectLineChannel" - }, - { - "$ref": "#/definitions/TelegramChannel" - }, - { - "$ref": "#/definitions/SmsChannel" - }, - { - "$ref": "#/definitions/SlackChannel" - } - ], - "properties": {}, - "description": "Channel definition" - }, - "ConnectionSettingParameter": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "Key for the Connection Setting Parameter." - }, - "value": { - "type": "string", - "description": "Value associated with the Connection Setting Parameter." - } - }, - "description": "Extra Parameter in a Connection Setting Properties to indicate service provider specific properties" - }, - "ConnectionSettingProperties": { - "type": "object", - "properties": { - "clientId": { - "type": "string", - "description": "Client Id associated with the Connection Setting." - }, - "clientSecret": { - "type": "string", - "description": "Client Secret associated with the Connection Setting" - }, - "parameters": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ConnectionSettingParameter" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Service Provider Parameters associated with the Connection Setting" - }, - "scopes": { - "type": "string", - "description": "Scopes associated with the Connection Setting" - }, - "serviceProviderDisplayName": { - "type": "string", - "description": "Service Provider Display Name associated with the Connection Setting" - }, - "serviceProviderId": { - "type": "string", - "description": "Service Provider Id associated with the Connection Setting" - } - }, - "description": "Properties for a Connection Setting Item" - }, - "DirectLineChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "DirectLineChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DirectLineChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Direct Line channel." - } - }, - "required": [ - "channelName" - ], - "description": "Direct Line channel definition" - }, - "DirectLineChannelProperties": { - "type": "object", - "properties": { - "sites": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/DirectLineSite" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of Direct Line sites" - } - }, - "description": "The parameters to provide for the Direct Line channel." - }, - "DirectLineSite": { - "type": "object", - "properties": { - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for DirectLine channel" - }, - "isV1Enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for Bot Framework V1 protocol" - }, - "isV3Enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for Bot Framework V1 protocol" - }, - "siteName": { - "type": "string", - "description": "Site name" - } - }, - "required": [ - "isEnabled", - "isV1Enabled", - "isV3Enabled", - "siteName" - ], - "description": "A site for the Direct Line channel" - }, - "EmailChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "EmailChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EmailChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Email channel." - } - }, - "required": [ - "channelName" - ], - "description": "Email channel definition" - }, - "EmailChannelProperties": { - "type": "object", - "properties": { - "emailAddress": { - "type": "string", - "description": "The email address" - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "password": { - "type": "string", - "description": "The password for the email address. Value only returned through POST to the action Channel List API, otherwise empty." - } - }, - "required": [ - "emailAddress", - "isEnabled", - "password" - ], - "description": "The parameters to provide for the Email channel." - }, - "FacebookChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "FacebookChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/FacebookChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Facebook channel." - } - }, - "required": [ - "channelName" - ], - "description": "Facebook channel definition" - }, - "FacebookChannelProperties": { - "type": "object", - "properties": { - "appId": { - "type": "string", - "description": "Facebook application id" - }, - "appSecret": { - "type": "string", - "description": "Facebook application secret. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "pages": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/FacebookPage" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of Facebook pages" - } - }, - "required": [ - "appId", - "appSecret", - "isEnabled" - ], - "description": "The parameters to provide for the Facebook channel." - }, - "FacebookPage": { - "type": "object", - "properties": { - "accessToken": { - "type": "string", - "description": "Facebook application access token. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "id": { - "type": "string", - "description": "Page id" - } - }, - "required": [ - "accessToken", - "id" - ], - "description": "A Facebook page for Facebook channel registration" - }, - "KikChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "KikChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/KikChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Kik channel." - } - }, - "required": [ - "channelName" - ], - "description": "Kik channel definition" - }, - "KikChannelProperties": { - "type": "object", - "properties": { - "apiKey": { - "type": "string", - "description": "Kik API key. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "isValidated": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is validated for the bot" - }, - "userName": { - "type": "string", - "description": "The Kik user name" - } - }, - "required": [ - "apiKey", - "isEnabled", - "userName" - ], - "description": "The parameters to provide for the Kik channel." - }, - "MsTeamsChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "MsTeamsChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MsTeamsChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Microsoft Teams channel." - } - }, - "required": [ - "channelName" - ], - "description": "Microsoft Teams channel definition" - }, - "MsTeamsChannelProperties": { - "type": "object", - "properties": { - "callMode": { - "type": "string", - "description": "Enable messaging for Microsoft Teams channel" - }, - "enableCalling": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable calling for Microsoft Teams channel" - }, - "enableMediaCards": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable media cards for Microsoft Teams channel" - }, - "enableMessaging": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable messaging for Microsoft Teams channel" - }, - "enableVideo": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable video for Microsoft Teams channel" - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - } - }, - "required": [ - "isEnabled" - ], - "description": "The parameters to provide for the Microsoft Teams channel." - }, - "Sku": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "F0", - "S1" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The sku name." - } - }, - "required": [ - "name" - ], - "description": "The SKU of the cognitive services account." - }, - "SkypeChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "SkypeChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SkypeChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Microsoft Teams channel." - } - }, - "required": [ - "channelName" - ], - "description": "Skype channel definition" - }, - "SkypeChannelProperties": { - "type": "object", - "properties": { - "callingWebHook": { - "type": "string", - "description": "Calling web hook for Skype channel" - }, - "enableCalling": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable calling for Skype channel" - }, - "enableGroups": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable groups for Skype channel" - }, - "enableMediaCards": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable media cards for Skype channel" - }, - "enableMessaging": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable messaging for Skype channel" - }, - "enableScreenSharing": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable screen sharing for Skype channel" - }, - "enableVideo": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable video for Skype channel" - }, - "groupsMode": { - "type": "string", - "description": "Group mode for Skype channel" - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - } - }, - "required": [ - "isEnabled" - ], - "description": "The parameters to provide for the Microsoft Teams channel." - }, - "SlackChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "SlackChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SlackChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Slack channel." - } - }, - "required": [ - "channelName" - ], - "description": "Slack channel definition" - }, - "SlackChannelProperties": { - "type": "object", - "properties": { - "clientId": { - "type": "string", - "description": "The Slack client id" - }, - "clientSecret": { - "type": "string", - "description": "The Slack client secret. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "landingPageUrl": { - "type": "string", - "description": "The Slack landing page Url" - }, - "verificationToken": { - "type": "string", - "description": "The Slack verification token. Value only returned through POST to the action Channel List API, otherwise empty." - } - }, - "required": [ - "clientId", - "clientSecret", - "isEnabled", - "verificationToken" - ], - "description": "The parameters to provide for the Slack channel." - }, - "SmsChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "SmsChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SmsChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Sms channel." - } - }, - "required": [ - "channelName" - ], - "description": "Sms channel definition" - }, - "SmsChannelProperties": { - "type": "object", - "properties": { - "accountSID": { - "type": "string", - "description": "The Sms account SID. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "authToken": { - "type": "string", - "description": "The Sms auth token. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "isValidated": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is validated for the bot" - }, - "phone": { - "type": "string", - "description": "The Sms phone" - } - }, - "required": [ - "accountSID", - "authToken", - "isEnabled", - "phone" - ], - "description": "The parameters to provide for the Sms channel." - }, - "TelegramChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "TelegramChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TelegramChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Telegram channel." - } - }, - "required": [ - "channelName" - ], - "description": "Telegram channel definition" - }, - "TelegramChannelProperties": { - "type": "object", - "properties": { - "accessToken": { - "type": "string", - "description": "The Telegram access token. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "isValidated": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is validated for the bot" - } - }, - "required": [ - "accessToken", - "isEnabled" - ], - "description": "The parameters to provide for the Telegram channel." - }, - "WebChatChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "WebChatChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WebChatChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Web Chat channel." - } - }, - "required": [ - "channelName" - ], - "description": "Web Chat channel definition" - }, - "WebChatChannelProperties": { - "type": "object", - "properties": { - "sites": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/WebChatSite" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of Web Chat sites" - } - }, - "description": "The parameters to provide for the Web Chat channel." - }, - "WebChatSite": { - "type": "object", - "properties": { - "enablePreview": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for preview versions of Webchat" - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for DirectLine channel" - }, - "siteName": { - "type": "string", - "description": "Site name" - } - }, - "required": [ - "enablePreview", - "isEnabled", - "siteName" - ], - "description": "A site for the Webchat channel" - } - } -} \ No newline at end of file diff --git a/schemas/2018-07-12/Microsoft.BotService.json b/schemas/2018-07-12/Microsoft.BotService.json deleted file mode 100644 index 9a9c204205..0000000000 --- a/schemas/2018-07-12/Microsoft.BotService.json +++ /dev/null @@ -1,1703 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-07-12/Microsoft.BotService.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.BotService", - "description": "Microsoft BotService Resource Types", - "resourceDefinitions": { - "botServices": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-07-12" - ] - }, - "etag": { - "type": "string", - "description": "Entity Tag" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "sdk", - "designer", - "bot", - "function" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Required. Gets or sets the Kind of the resource." - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "minLength": 2, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the Bot resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BotProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Bot." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/botServices_channels_childResource" - }, - { - "$ref": "#/definitions/botServices_Connections_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.BotService/botServices" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/botServices" - }, - "botServices_channels": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-07-12" - ] - }, - "etag": { - "type": "string", - "description": "Entity Tag" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "sdk", - "designer", - "bot", - "function" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Required. Gets or sets the Kind of the resource." - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - }, - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "FacebookChannel", - "EmailChannel", - "KikChannel", - "TelegramChannel", - "SlackChannel", - "MsTeamsChannel", - "SkypeChannel", - "WebChatChannel", - "DirectLineChannel", - "SmsChannel" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the Channel resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/Channel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Channel definition" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.BotService/botServices/channels" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/botServices/channels" - }, - "botServices_Connections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-07-12" - ] - }, - "etag": { - "type": "string", - "description": "Entity Tag" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "sdk", - "designer", - "bot", - "function" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Required. Gets or sets the Kind of the resource." - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "minLength": 2, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the Bot Service Connection Setting resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ConnectionSettingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for a Connection Setting Item" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.BotService/botServices/Connections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/botServices/Connections" - }, - "enterpriseChannels": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-07-12" - ] - }, - "etag": { - "type": "string", - "description": "Entity Tag" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "sdk", - "designer", - "bot", - "function" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Required. Gets or sets the Kind of the resource." - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "minLength": 2, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the Bot resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EnterpriseChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Enterprise Channel." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.BotService/enterpriseChannels" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/enterpriseChannels" - } - }, - "definitions": { - "BotProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The description of the bot" - }, - "developerAppInsightKey": { - "type": "string", - "description": "The Application Insights key" - }, - "developerAppInsightsApiKey": { - "type": "string", - "description": "The Application Insights Api Key" - }, - "developerAppInsightsApplicationId": { - "type": "string", - "description": "The Application Insights App Id" - }, - "displayName": { - "type": "string", - "description": "The Name of the bot" - }, - "endpoint": { - "type": "string", - "description": "The bot's endpoint" - }, - "iconUrl": { - "type": "string", - "description": "The Icon Url of the bot" - }, - "luisAppIds": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Collection of LUIS App Ids" - }, - "luisKey": { - "type": "string", - "description": "The LUIS Key" - }, - "msaAppId": { - "type": "string", - "description": "Microsoft App Id for the bot" - } - }, - "required": [ - "displayName", - "endpoint", - "msaAppId" - ], - "description": "The parameters to provide for the Bot." - }, - "botServices_channels_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-07-12" - ] - }, - "etag": { - "type": "string", - "description": "Entity Tag" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "sdk", - "designer", - "bot", - "function" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Required. Gets or sets the Kind of the resource." - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - }, - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "FacebookChannel", - "EmailChannel", - "KikChannel", - "TelegramChannel", - "SlackChannel", - "MsTeamsChannel", - "SkypeChannel", - "WebChatChannel", - "DirectLineChannel", - "SmsChannel" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the Channel resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/Channel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Channel definition" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "channels" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/botServices/channels" - }, - "botServices_Connections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-07-12" - ] - }, - "etag": { - "type": "string", - "description": "Entity Tag" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "sdk", - "designer", - "bot", - "function" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Required. Gets or sets the Kind of the resource." - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "minLength": 2, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the Bot Service Connection Setting resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ConnectionSettingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for a Connection Setting Item" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "Connections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/botServices/Connections" - }, - "Channel": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/FacebookChannel" - }, - { - "$ref": "#/definitions/EmailChannel" - }, - { - "$ref": "#/definitions/MsTeamsChannel" - }, - { - "$ref": "#/definitions/SkypeChannel" - }, - { - "$ref": "#/definitions/KikChannel" - }, - { - "$ref": "#/definitions/WebChatChannel" - }, - { - "$ref": "#/definitions/DirectLineChannel" - }, - { - "$ref": "#/definitions/TelegramChannel" - }, - { - "$ref": "#/definitions/SmsChannel" - }, - { - "$ref": "#/definitions/SlackChannel" - } - ], - "properties": {}, - "description": "Channel definition" - }, - "ConnectionSettingParameter": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "Key for the Connection Setting Parameter." - }, - "value": { - "type": "string", - "description": "Value associated with the Connection Setting Parameter." - } - }, - "description": "Extra Parameter in a Connection Setting Properties to indicate service provider specific properties" - }, - "ConnectionSettingProperties": { - "type": "object", - "properties": { - "clientId": { - "type": "string", - "description": "Client Id associated with the Connection Setting." - }, - "clientSecret": { - "type": "string", - "description": "Client Secret associated with the Connection Setting" - }, - "parameters": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ConnectionSettingParameter" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Service Provider Parameters associated with the Connection Setting" - }, - "scopes": { - "type": "string", - "description": "Scopes associated with the Connection Setting" - }, - "serviceProviderDisplayName": { - "type": "string", - "description": "Service Provider Display Name associated with the Connection Setting" - }, - "serviceProviderId": { - "type": "string", - "description": "Service Provider Id associated with the Connection Setting" - } - }, - "description": "Properties for a Connection Setting Item" - }, - "DirectLineChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "DirectLineChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DirectLineChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Direct Line channel." - } - }, - "required": [ - "channelName" - ], - "description": "Direct Line channel definition" - }, - "DirectLineChannelProperties": { - "type": "object", - "properties": { - "sites": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/DirectLineSite" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of Direct Line sites" - } - }, - "description": "The parameters to provide for the Direct Line channel." - }, - "DirectLineSite": { - "type": "object", - "properties": { - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for DirectLine channel." - }, - "isSecureSiteEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for authentication with Bot Framework." - }, - "isV1Enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for Bot Framework V1 protocol." - }, - "isV3Enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for Bot Framework V1 protocol." - }, - "siteName": { - "type": "string", - "description": "Site name" - }, - "trustedOrigins": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Trusted Origin URLs for this site. This field is applicable only if isSecureSiteEnabled is True." - } - }, - "required": [ - "isEnabled", - "isV1Enabled", - "isV3Enabled", - "siteName" - ], - "description": "A site for the Direct Line channel" - }, - "EmailChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "EmailChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EmailChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Email channel." - } - }, - "required": [ - "channelName" - ], - "description": "Email channel definition" - }, - "EmailChannelProperties": { - "type": "object", - "properties": { - "emailAddress": { - "type": "string", - "description": "The email address" - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "password": { - "type": "string", - "description": "The password for the email address. Value only returned through POST to the action Channel List API, otherwise empty." - } - }, - "required": [ - "emailAddress", - "isEnabled", - "password" - ], - "description": "The parameters to provide for the Email channel." - }, - "EnterpriseChannelNode": { - "type": "object", - "properties": { - "azureLocation": { - "type": "string", - "description": "The location of the Enterprise Channel Node." - }, - "azureSku": { - "type": "string", - "description": "The sku of the Enterprise Channel Node." - }, - "name": { - "type": "string", - "description": "The name of the Enterprise Channel Node." - }, - "state": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Creating", - "CreateFailed", - "Started", - "Starting", - "StartFailed", - "Stopped", - "Stopping", - "StopFailed", - "Deleting", - "DeleteFailed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The current state of the Enterprise Channel Node." - } - }, - "required": [ - "azureLocation", - "azureSku", - "name" - ], - "description": "The properties specific to an Enterprise Channel Node." - }, - "EnterpriseChannelProperties": { - "type": "object", - "properties": { - "nodes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/EnterpriseChannelNode" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The nodes associated with the Enterprise Channel." - }, - "state": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Creating", - "CreateFailed", - "Started", - "Starting", - "StartFailed", - "Stopped", - "Stopping", - "StopFailed", - "Deleting", - "DeleteFailed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The current state of the Enterprise Channel." - } - }, - "required": [ - "nodes" - ], - "description": "The parameters to provide for the Enterprise Channel." - }, - "FacebookChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "FacebookChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/FacebookChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Facebook channel." - } - }, - "required": [ - "channelName" - ], - "description": "Facebook channel definition" - }, - "FacebookChannelProperties": { - "type": "object", - "properties": { - "appId": { - "type": "string", - "description": "Facebook application id" - }, - "appSecret": { - "type": "string", - "description": "Facebook application secret. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "pages": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/FacebookPage" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of Facebook pages" - } - }, - "required": [ - "appId", - "appSecret", - "isEnabled" - ], - "description": "The parameters to provide for the Facebook channel." - }, - "FacebookPage": { - "type": "object", - "properties": { - "accessToken": { - "type": "string", - "description": "Facebook application access token. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "id": { - "type": "string", - "description": "Page id" - } - }, - "required": [ - "accessToken", - "id" - ], - "description": "A Facebook page for Facebook channel registration" - }, - "KikChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "KikChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/KikChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Kik channel." - } - }, - "required": [ - "channelName" - ], - "description": "Kik channel definition" - }, - "KikChannelProperties": { - "type": "object", - "properties": { - "apiKey": { - "type": "string", - "description": "Kik API key. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "isValidated": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is validated for the bot" - }, - "userName": { - "type": "string", - "description": "The Kik user name" - } - }, - "required": [ - "apiKey", - "isEnabled", - "userName" - ], - "description": "The parameters to provide for the Kik channel." - }, - "MsTeamsChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "MsTeamsChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MsTeamsChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Microsoft Teams channel." - } - }, - "required": [ - "channelName" - ], - "description": "Microsoft Teams channel definition" - }, - "MsTeamsChannelProperties": { - "type": "object", - "properties": { - "callingWebHook": { - "type": "string", - "description": "Webhook for Microsoft Teams channel calls" - }, - "enableCalling": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable calling for Microsoft Teams channel" - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - } - }, - "required": [ - "isEnabled" - ], - "description": "The parameters to provide for the Microsoft Teams channel." - }, - "Sku": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "F0", - "S1" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The sku name." - } - }, - "required": [ - "name" - ], - "description": "The SKU of the cognitive services account." - }, - "SkypeChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "SkypeChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SkypeChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Microsoft Teams channel." - } - }, - "required": [ - "channelName" - ], - "description": "Skype channel definition" - }, - "SkypeChannelProperties": { - "type": "object", - "properties": { - "callingWebHook": { - "type": "string", - "description": "Calling web hook for Skype channel" - }, - "enableCalling": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable calling for Skype channel" - }, - "enableGroups": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable groups for Skype channel" - }, - "enableMediaCards": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable media cards for Skype channel" - }, - "enableMessaging": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable messaging for Skype channel" - }, - "enableScreenSharing": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable screen sharing for Skype channel" - }, - "enableVideo": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable video for Skype channel" - }, - "groupsMode": { - "type": "string", - "description": "Group mode for Skype channel" - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - } - }, - "required": [ - "isEnabled" - ], - "description": "The parameters to provide for the Microsoft Teams channel." - }, - "SlackChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "SlackChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SlackChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Slack channel." - } - }, - "required": [ - "channelName" - ], - "description": "Slack channel definition" - }, - "SlackChannelProperties": { - "type": "object", - "properties": { - "clientId": { - "type": "string", - "description": "The Slack client id" - }, - "clientSecret": { - "type": "string", - "description": "The Slack client secret. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "landingPageUrl": { - "type": "string", - "description": "The Slack landing page Url" - }, - "verificationToken": { - "type": "string", - "description": "The Slack verification token. Value only returned through POST to the action Channel List API, otherwise empty." - } - }, - "required": [ - "clientId", - "clientSecret", - "isEnabled", - "verificationToken" - ], - "description": "The parameters to provide for the Slack channel." - }, - "SmsChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "SmsChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SmsChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Sms channel." - } - }, - "required": [ - "channelName" - ], - "description": "Sms channel definition" - }, - "SmsChannelProperties": { - "type": "object", - "properties": { - "accountSID": { - "type": "string", - "description": "The Sms account SID. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "authToken": { - "type": "string", - "description": "The Sms auth token. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "isValidated": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is validated for the bot" - }, - "phone": { - "type": "string", - "description": "The Sms phone" - } - }, - "required": [ - "accountSID", - "authToken", - "isEnabled", - "phone" - ], - "description": "The parameters to provide for the Sms channel." - }, - "TelegramChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "TelegramChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TelegramChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Telegram channel." - } - }, - "required": [ - "channelName" - ], - "description": "Telegram channel definition" - }, - "TelegramChannelProperties": { - "type": "object", - "properties": { - "accessToken": { - "type": "string", - "description": "The Telegram access token. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "isValidated": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is validated for the bot" - } - }, - "required": [ - "accessToken", - "isEnabled" - ], - "description": "The parameters to provide for the Telegram channel." - }, - "WebChatChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "WebChatChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WebChatChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Web Chat channel." - } - }, - "required": [ - "channelName" - ], - "description": "Web Chat channel definition" - }, - "WebChatChannelProperties": { - "type": "object", - "properties": { - "sites": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/WebChatSite" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of Web Chat sites" - } - }, - "description": "The parameters to provide for the Web Chat channel." - }, - "WebChatSite": { - "type": "object", - "properties": { - "enablePreview": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for preview versions of Webchat" - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for DirectLine channel" - }, - "siteName": { - "type": "string", - "description": "Site name" - } - }, - "required": [ - "enablePreview", - "isEnabled", - "siteName" - ], - "description": "A site for the Webchat channel" - } - } -} \ No newline at end of file diff --git a/schemas/2020-06-02/Microsoft.BotService.json b/schemas/2020-06-02/Microsoft.BotService.json deleted file mode 100644 index bd2c7c0fa9..0000000000 --- a/schemas/2020-06-02/Microsoft.BotService.json +++ /dev/null @@ -1,1719 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-06-02/Microsoft.BotService.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.BotService", - "description": "Microsoft BotService Resource Types", - "resourceDefinitions": { - "botServices": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-02" - ] - }, - "etag": { - "type": "string", - "description": "Entity Tag" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "sdk", - "designer", - "bot", - "function" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Required. Gets or sets the Kind of the resource." - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "minLength": 2, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the Bot resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BotProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Bot." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/botServices_channels_childResource" - }, - { - "$ref": "#/definitions/botServices_connections_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.BotService/botServices" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/botServices" - }, - "botServices_channels": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-02" - ] - }, - "etag": { - "type": "string", - "description": "Entity Tag" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "sdk", - "designer", - "bot", - "function" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Required. Gets or sets the Kind of the resource." - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - }, - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "AlexaChannel", - "FacebookChannel", - "EmailChannel", - "KikChannel", - "TelegramChannel", - "SlackChannel", - "MsTeamsChannel", - "SkypeChannel", - "WebChatChannel", - "DirectLineChannel", - "SmsChannel", - "LineChannel", - "DirectLineSpeechChannel" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the Channel resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/Channel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Channel definition" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.BotService/botServices/channels" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/botServices/channels" - }, - "botServices_connections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-02" - ] - }, - "etag": { - "type": "string", - "description": "Entity Tag" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "sdk", - "designer", - "bot", - "function" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Required. Gets or sets the Kind of the resource." - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9][\\sa-zA-Z0-9_.-]*$", - "minLength": 2, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the Bot Service Connection Setting resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ConnectionSettingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for a Connection Setting Item" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.BotService/botServices/connections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/botServices/connections" - } - }, - "definitions": { - "AlexaChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "AlexaChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AlexaChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Alexa channel." - } - }, - "required": [ - "channelName" - ], - "description": "Alexa channel definition" - }, - "AlexaChannelProperties": { - "type": "object", - "properties": { - "alexaSkillId": { - "type": "string", - "description": "The Alexa skill Id" - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - } - }, - "required": [ - "alexaSkillId", - "isEnabled" - ], - "description": "The parameters to provide for the Alexa channel." - }, - "BotProperties": { - "type": "object", - "properties": { - "cmekKeyVaultUrl": { - "type": "string", - "description": "The CMK Url" - }, - "description": { - "type": "string", - "description": "The description of the bot" - }, - "developerAppInsightKey": { - "type": "string", - "description": "The Application Insights key" - }, - "developerAppInsightsApiKey": { - "type": "string", - "description": "The Application Insights Api Key" - }, - "developerAppInsightsApplicationId": { - "type": "string", - "description": "The Application Insights App Id" - }, - "displayName": { - "type": "string", - "description": "The Name of the bot" - }, - "endpoint": { - "type": "string", - "description": "The bot's endpoint" - }, - "iconUrl": { - "type": "string", - "description": "The Icon Url of the bot" - }, - "isCmekEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether Cmek is enabled" - }, - "luisAppIds": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Collection of LUIS App Ids" - }, - "luisKey": { - "type": "string", - "description": "The LUIS Key" - }, - "msaAppId": { - "type": "string", - "description": "Microsoft App Id for the bot" - } - }, - "required": [ - "displayName", - "endpoint", - "msaAppId" - ], - "description": "The parameters to provide for the Bot." - }, - "botServices_channels_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-02" - ] - }, - "etag": { - "type": "string", - "description": "Entity Tag" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "sdk", - "designer", - "bot", - "function" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Required. Gets or sets the Kind of the resource." - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - }, - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "AlexaChannel", - "FacebookChannel", - "EmailChannel", - "KikChannel", - "TelegramChannel", - "SlackChannel", - "MsTeamsChannel", - "SkypeChannel", - "WebChatChannel", - "DirectLineChannel", - "SmsChannel", - "LineChannel", - "DirectLineSpeechChannel" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the Channel resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/Channel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Channel definition" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "channels" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/botServices/channels" - }, - "botServices_connections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-02" - ] - }, - "etag": { - "type": "string", - "description": "Entity Tag" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "sdk", - "designer", - "bot", - "function" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Required. Gets or sets the Kind of the resource." - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9][\\sa-zA-Z0-9_.-]*$", - "minLength": 2, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the Bot Service Connection Setting resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ConnectionSettingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for a Connection Setting Item" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "connections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/botServices/connections" - }, - "Channel": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/AlexaChannel" - }, - { - "$ref": "#/definitions/FacebookChannel" - }, - { - "$ref": "#/definitions/EmailChannel" - }, - { - "$ref": "#/definitions/MsTeamsChannel" - }, - { - "$ref": "#/definitions/SkypeChannel" - }, - { - "$ref": "#/definitions/KikChannel" - }, - { - "$ref": "#/definitions/WebChatChannel" - }, - { - "$ref": "#/definitions/DirectLineChannel" - }, - { - "$ref": "#/definitions/TelegramChannel" - }, - { - "$ref": "#/definitions/SmsChannel" - }, - { - "$ref": "#/definitions/SlackChannel" - }, - { - "$ref": "#/definitions/LineChannel" - }, - { - "$ref": "#/definitions/DirectLineSpeechChannel" - } - ], - "properties": {}, - "description": "Channel definition" - }, - "ConnectionSettingParameter": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "Key for the Connection Setting Parameter." - }, - "value": { - "type": "string", - "description": "Value associated with the Connection Setting Parameter." - } - }, - "description": "Extra Parameter in a Connection Setting Properties to indicate service provider specific properties" - }, - "ConnectionSettingProperties": { - "type": "object", - "properties": { - "clientId": { - "type": "string", - "description": "Client Id associated with the Connection Setting." - }, - "clientSecret": { - "type": "string", - "description": "Client Secret associated with the Connection Setting" - }, - "parameters": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ConnectionSettingParameter" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Service Provider Parameters associated with the Connection Setting" - }, - "scopes": { - "type": "string", - "description": "Scopes associated with the Connection Setting" - }, - "serviceProviderDisplayName": { - "type": "string", - "description": "Service Provider Display Name associated with the Connection Setting" - }, - "serviceProviderId": { - "type": "string", - "description": "Service Provider Id associated with the Connection Setting" - } - }, - "description": "Properties for a Connection Setting Item" - }, - "DirectLineChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "DirectLineChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DirectLineChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Direct Line channel." - } - }, - "required": [ - "channelName" - ], - "description": "Direct Line channel definition" - }, - "DirectLineChannelProperties": { - "type": "object", - "properties": { - "sites": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/DirectLineSite" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of Direct Line sites" - } - }, - "description": "The parameters to provide for the Direct Line channel." - }, - "DirectLineSite": { - "type": "object", - "properties": { - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for DirectLine channel." - }, - "isSecureSiteEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for authentication with Bot Framework." - }, - "isV1Enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for Bot Framework V1 protocol." - }, - "isV3Enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for Bot Framework V1 protocol." - }, - "siteName": { - "type": "string", - "description": "Site name" - }, - "trustedOrigins": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Trusted Origin URLs for this site. This field is applicable only if isSecureSiteEnabled is True." - } - }, - "required": [ - "isEnabled", - "isV1Enabled", - "isV3Enabled", - "siteName" - ], - "description": "A site for the Direct Line channel" - }, - "DirectLineSpeechChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "DirectLineSpeechChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DirectLineSpeechChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the DirectLine Speech channel." - } - }, - "required": [ - "channelName" - ], - "description": "DirectLine Speech channel definition" - }, - "DirectLineSpeechChannelProperties": { - "type": "object", - "properties": { - "cognitiveServicesSubscriptionId": { - "type": "string", - "description": "The cognitive service subscription ID to use with this channel registration." - }, - "customSpeechModelId": { - "type": "string", - "description": "Custom voice deployment id (optional)." - }, - "customVoiceDeploymentId": { - "type": "string", - "description": "Custom speech model id (optional)." - }, - "isDefaultBotForCogSvcAccount": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Make this a default bot for chosen cognitive service account." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled or not." - } - }, - "required": [ - "cognitiveServicesSubscriptionId" - ], - "description": "The parameters to provide for the DirectLine Speech channel." - }, - "EmailChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "EmailChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EmailChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Email channel." - } - }, - "required": [ - "channelName" - ], - "description": "Email channel definition" - }, - "EmailChannelProperties": { - "type": "object", - "properties": { - "emailAddress": { - "type": "string", - "description": "The email address" - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "password": { - "type": "string", - "description": "The password for the email address. Value only returned through POST to the action Channel List API, otherwise empty." - } - }, - "required": [ - "emailAddress", - "isEnabled" - ], - "description": "The parameters to provide for the Email channel." - }, - "FacebookChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "FacebookChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/FacebookChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Facebook channel." - } - }, - "required": [ - "channelName" - ], - "description": "Facebook channel definition" - }, - "FacebookChannelProperties": { - "type": "object", - "properties": { - "appId": { - "type": "string", - "description": "Facebook application id" - }, - "appSecret": { - "type": "string", - "description": "Facebook application secret. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "pages": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/FacebookPage" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of Facebook pages" - } - }, - "required": [ - "appId", - "isEnabled" - ], - "description": "The parameters to provide for the Facebook channel." - }, - "FacebookPage": { - "type": "object", - "properties": { - "accessToken": { - "type": "string", - "description": "Facebook application access token. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "id": { - "type": "string", - "description": "Page id" - } - }, - "required": [ - "id" - ], - "description": "A Facebook page for Facebook channel registration" - }, - "KikChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "KikChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/KikChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Kik channel." - } - }, - "required": [ - "channelName" - ], - "description": "Kik channel definition" - }, - "KikChannelProperties": { - "type": "object", - "properties": { - "apiKey": { - "type": "string", - "description": "Kik API key. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "isValidated": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is validated for the bot" - }, - "userName": { - "type": "string", - "description": "The Kik user name" - } - }, - "required": [ - "isEnabled", - "userName" - ], - "description": "The parameters to provide for the Kik channel." - }, - "LineChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "LineChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/LineChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Line channel." - } - }, - "required": [ - "channelName" - ], - "description": "Line channel definition" - }, - "LineChannelProperties": { - "type": "object", - "properties": { - "lineRegistrations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LineRegistration" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of line channel registrations" - } - }, - "required": [ - "lineRegistrations" - ], - "description": "The parameters to provide for the Line channel." - }, - "LineRegistration": { - "type": "object", - "properties": { - "channelAccessToken": { - "type": "string", - "description": "Access token for the line channel registration" - }, - "channelSecret": { - "type": "string", - "description": "Secret for the line channel registration" - } - }, - "description": "The properties corresponding to a line channel registration" - }, - "MsTeamsChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "MsTeamsChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MsTeamsChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Microsoft Teams channel." - } - }, - "required": [ - "channelName" - ], - "description": "Microsoft Teams channel definition" - }, - "MsTeamsChannelProperties": { - "type": "object", - "properties": { - "callingWebHook": { - "type": "string", - "description": "Webhook for Microsoft Teams channel calls" - }, - "enableCalling": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable calling for Microsoft Teams channel" - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - } - }, - "required": [ - "isEnabled" - ], - "description": "The parameters to provide for the Microsoft Teams channel." - }, - "Sku": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "F0", - "S1" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The sku name." - } - }, - "required": [ - "name" - ], - "description": "The SKU of the cognitive services account." - }, - "SkypeChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "SkypeChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SkypeChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Microsoft Teams channel." - } - }, - "required": [ - "channelName" - ], - "description": "Skype channel definition" - }, - "SkypeChannelProperties": { - "type": "object", - "properties": { - "callingWebHook": { - "type": "string", - "description": "Calling web hook for Skype channel" - }, - "enableCalling": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable calling for Skype channel" - }, - "enableGroups": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable groups for Skype channel" - }, - "enableMediaCards": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable media cards for Skype channel" - }, - "enableMessaging": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable messaging for Skype channel" - }, - "enableScreenSharing": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable screen sharing for Skype channel" - }, - "enableVideo": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable video for Skype channel" - }, - "groupsMode": { - "type": "string", - "description": "Group mode for Skype channel" - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - } - }, - "required": [ - "isEnabled" - ], - "description": "The parameters to provide for the Microsoft Teams channel." - }, - "SlackChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "SlackChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SlackChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Slack channel." - } - }, - "required": [ - "channelName" - ], - "description": "Slack channel definition" - }, - "SlackChannelProperties": { - "type": "object", - "properties": { - "clientId": { - "type": "string", - "description": "The Slack client id" - }, - "clientSecret": { - "type": "string", - "description": "The Slack client secret. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "landingPageUrl": { - "type": "string", - "description": "The Slack landing page Url" - }, - "signingSecret": { - "type": "string", - "description": "The Slack signing secret." - }, - "verificationToken": { - "type": "string", - "description": "The Slack verification token. Value only returned through POST to the action Channel List API, otherwise empty." - } - }, - "required": [ - "isEnabled" - ], - "description": "The parameters to provide for the Slack channel." - }, - "SmsChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "SmsChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SmsChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Sms channel." - } - }, - "required": [ - "channelName" - ], - "description": "Sms channel definition" - }, - "SmsChannelProperties": { - "type": "object", - "properties": { - "accountSID": { - "type": "string", - "description": "The Sms account SID. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "authToken": { - "type": "string", - "description": "The Sms auth token. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "isValidated": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is validated for the bot" - }, - "phone": { - "type": "string", - "description": "The Sms phone" - } - }, - "required": [ - "accountSID", - "isEnabled", - "phone" - ], - "description": "The parameters to provide for the Sms channel." - }, - "TelegramChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "TelegramChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TelegramChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Telegram channel." - } - }, - "required": [ - "channelName" - ], - "description": "Telegram channel definition" - }, - "TelegramChannelProperties": { - "type": "object", - "properties": { - "accessToken": { - "type": "string", - "description": "The Telegram access token. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "isValidated": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is validated for the bot" - } - }, - "required": [ - "isEnabled" - ], - "description": "The parameters to provide for the Telegram channel." - }, - "WebChatChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "WebChatChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WebChatChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Web Chat channel." - } - }, - "required": [ - "channelName" - ], - "description": "Web Chat channel definition" - }, - "WebChatChannelProperties": { - "type": "object", - "properties": { - "sites": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/WebChatSite" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of Web Chat sites" - } - }, - "description": "The parameters to provide for the Web Chat channel." - }, - "WebChatSite": { - "type": "object", - "properties": { - "enablePreview": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for preview versions of Webchat" - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for DirectLine channel" - }, - "siteName": { - "type": "string", - "description": "Site name" - } - }, - "required": [ - "enablePreview", - "isEnabled", - "siteName" - ], - "description": "A site for the Webchat channel" - } - } -} \ No newline at end of file diff --git a/schemas/2021-03-01/Microsoft.BotService.json b/schemas/2021-03-01/Microsoft.BotService.json deleted file mode 100644 index d0e42847df..0000000000 --- a/schemas/2021-03-01/Microsoft.BotService.json +++ /dev/null @@ -1,1919 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.BotService.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.BotService", - "description": "Microsoft BotService Resource Types", - "resourceDefinitions": { - "botServices": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01" - ] - }, - "etag": { - "type": "string", - "description": "Entity Tag" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Required. Gets or sets the Kind of the resource." - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "minLength": 2, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the Bot resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BotProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Bot." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/botServices_channels_childResource" - }, - { - "$ref": "#/definitions/botServices_connections_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.BotService/botServices" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/botServices" - }, - "botServices_channels": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01" - ] - }, - "etag": { - "type": "string", - "description": "Entity Tag" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Required. Gets or sets the Kind of the resource." - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - }, - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "AlexaChannel", - "FacebookChannel", - "EmailChannel", - "KikChannel", - "TelegramChannel", - "SlackChannel", - "MsTeamsChannel", - "SkypeChannel", - "WebChatChannel", - "DirectLineChannel", - "SmsChannel", - "LineChannel", - "DirectLineSpeechChannel" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the Channel resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/Channel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Channel definition" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.BotService/botServices/channels" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/botServices/channels" - }, - "botServices_connections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01" - ] - }, - "etag": { - "type": "string", - "description": "Entity Tag" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Required. Gets or sets the Kind of the resource." - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9][\\sa-zA-Z0-9_.-]*$", - "minLength": 2, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the Bot Service Connection Setting resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ConnectionSettingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for a Connection Setting Item" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.BotService/botServices/connections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/botServices/connections" - } - }, - "definitions": { - "AlexaChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "AlexaChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AlexaChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Alexa channel." - } - }, - "required": [ - "channelName" - ], - "description": "Alexa channel definition" - }, - "AlexaChannelProperties": { - "type": "object", - "properties": { - "alexaSkillId": { - "type": "string", - "description": "The Alexa skill Id" - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - } - }, - "required": [ - "alexaSkillId", - "isEnabled" - ], - "description": "The parameters to provide for the Alexa channel." - }, - "BotProperties": { - "type": "object", - "properties": { - "allSettings": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource all settings defined as key/value pairs." - }, - "appPasswordHint": { - "type": "string", - "description": "The hint (e.g. keyVault secret resourceId) on how to fetch the app secret" - }, - "cmekEncryptionStatus": { - "type": "string", - "description": "The CMK encryption status" - }, - "cmekKeyVaultUrl": { - "type": "string", - "description": "The CMK Url" - }, - "description": { - "type": "string", - "description": "The description of the bot" - }, - "developerAppInsightKey": { - "type": "string", - "description": "The Application Insights key" - }, - "developerAppInsightsApiKey": { - "type": "string", - "description": "The Application Insights Api Key" - }, - "developerAppInsightsApplicationId": { - "type": "string", - "description": "The Application Insights App Id" - }, - "disableLocalAuth": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication." - }, - "displayName": { - "type": "string", - "description": "The Name of the bot" - }, - "endpoint": { - "type": "string", - "description": "The bot's endpoint" - }, - "iconUrl": { - "type": "string", - "description": "The Icon Url of the bot" - }, - "isCmekEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether Cmek is enabled" - }, - "isDeveloperAppInsightsApiKeySet": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether the bot is developerAppInsightsApiKey set" - }, - "isStreamingSupported": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether the bot is streaming supported" - }, - "luisAppIds": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Collection of LUIS App Ids" - }, - "luisKey": { - "type": "string", - "description": "The LUIS Key" - }, - "manifestUrl": { - "type": "string", - "description": "The bot's manifest url" - }, - "msaAppId": { - "type": "string", - "description": "Microsoft App Id for the bot" - }, - "msaAppMSIResourceId": { - "type": "string", - "description": "Microsoft App Managed Identity Resource Id for the bot" - }, - "msaAppTenantId": { - "type": "string", - "description": "Microsoft App Tenant Id for the bot" - }, - "msaAppType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "UserAssignedMSI", - "SingleTenant", - "MultiTenant" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Microsoft App Type for the bot." - }, - "openWithHint": { - "type": "string", - "description": "The hint to browser (e.g. protocol handler) on how to open the bot for authoring" - }, - "parameters": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource parameters defined as key/value pairs." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether the bot is in an isolated network." - }, - "publishingCredentials": { - "type": "string", - "description": "Publishing credentials of the resource" - }, - "schemaTransformationVersion": { - "type": "string", - "description": "The channel schema transformation version for the bot" - }, - "storageResourceId": { - "type": "string", - "description": "The storage resourceId for the bot" - } - }, - "required": [ - "displayName", - "endpoint", - "msaAppId" - ], - "description": "The parameters to provide for the Bot." - }, - "botServices_channels_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01" - ] - }, - "etag": { - "type": "string", - "description": "Entity Tag" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Required. Gets or sets the Kind of the resource." - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - }, - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "AlexaChannel", - "FacebookChannel", - "EmailChannel", - "KikChannel", - "TelegramChannel", - "SlackChannel", - "MsTeamsChannel", - "SkypeChannel", - "WebChatChannel", - "DirectLineChannel", - "SmsChannel", - "LineChannel", - "DirectLineSpeechChannel" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the Channel resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/Channel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Channel definition" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "channels" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/botServices/channels" - }, - "botServices_connections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01" - ] - }, - "etag": { - "type": "string", - "description": "Entity Tag" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Required. Gets or sets the Kind of the resource." - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9][\\sa-zA-Z0-9_.-]*$", - "minLength": 2, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the Bot Service Connection Setting resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ConnectionSettingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for a Connection Setting Item" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "connections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/botServices/connections" - }, - "Channel": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/AlexaChannel" - }, - { - "$ref": "#/definitions/FacebookChannel" - }, - { - "$ref": "#/definitions/EmailChannel" - }, - { - "$ref": "#/definitions/MsTeamsChannel" - }, - { - "$ref": "#/definitions/SkypeChannel" - }, - { - "$ref": "#/definitions/KikChannel" - }, - { - "$ref": "#/definitions/WebChatChannel" - }, - { - "$ref": "#/definitions/DirectLineChannel" - }, - { - "$ref": "#/definitions/TelegramChannel" - }, - { - "$ref": "#/definitions/SmsChannel" - }, - { - "$ref": "#/definitions/SlackChannel" - }, - { - "$ref": "#/definitions/LineChannel" - }, - { - "$ref": "#/definitions/DirectLineSpeechChannel" - } - ], - "properties": { - "etag": { - "type": "string", - "description": "Entity Tag of the resource" - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - } - }, - "description": "Channel definition" - }, - "ConnectionSettingParameter": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "Key for the Connection Setting Parameter." - }, - "value": { - "type": "string", - "description": "Value associated with the Connection Setting Parameter." - } - }, - "description": "Extra Parameter in a Connection Setting Properties to indicate service provider specific properties" - }, - "ConnectionSettingProperties": { - "type": "object", - "properties": { - "clientId": { - "type": "string", - "description": "Client Id associated with the Connection Setting." - }, - "clientSecret": { - "type": "string", - "description": "Client Secret associated with the Connection Setting" - }, - "id": { - "type": "string", - "description": "Id associated with the Connection Setting." - }, - "name": { - "type": "string", - "description": "Name associated with the Connection Setting." - }, - "parameters": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ConnectionSettingParameter" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Service Provider Parameters associated with the Connection Setting" - }, - "provisioningState": { - "type": "string", - "description": "Provisioning state of the resource" - }, - "scopes": { - "type": "string", - "description": "Scopes associated with the Connection Setting" - }, - "serviceProviderDisplayName": { - "type": "string", - "description": "Service Provider Display Name associated with the Connection Setting" - }, - "serviceProviderId": { - "type": "string", - "description": "Service Provider Id associated with the Connection Setting" - } - }, - "description": "Properties for a Connection Setting Item" - }, - "DirectLineChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "DirectLineChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DirectLineChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Direct Line channel." - } - }, - "required": [ - "channelName" - ], - "description": "Direct Line channel definition" - }, - "DirectLineChannelProperties": { - "type": "object", - "properties": { - "DirectLineEmbedCode": { - "type": "string", - "description": "Direct Line embed code of the resource" - }, - "sites": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/DirectLineSite" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of Direct Line sites" - } - }, - "description": "The parameters to provide for the Direct Line channel." - }, - "DirectLineSite": { - "type": "object", - "properties": { - "isBlockUserUploadEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for block user upload." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for DirectLine channel." - }, - "isSecureSiteEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for authentication with Bot Framework." - }, - "isV1Enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for Bot Framework V1 protocol." - }, - "isV3Enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for Bot Framework V1 protocol." - }, - "siteName": { - "type": "string", - "description": "Site name" - }, - "trustedOrigins": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Trusted Origin URLs for this site. This field is applicable only if isSecureSiteEnabled is True." - } - }, - "required": [ - "isEnabled", - "isV1Enabled", - "isV3Enabled", - "siteName" - ], - "description": "A site for the Direct Line channel" - }, - "DirectLineSpeechChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "DirectLineSpeechChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DirectLineSpeechChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the DirectLine Speech channel." - } - }, - "required": [ - "channelName" - ], - "description": "DirectLine Speech channel definition" - }, - "DirectLineSpeechChannelProperties": { - "type": "object", - "properties": { - "cognitiveServiceRegion": { - "type": "string", - "description": "The cognitive service region with this channel registration." - }, - "cognitiveServiceSubscriptionKey": { - "type": "string", - "description": "The cognitive service subscription key to use with this channel registration." - }, - "customSpeechModelId": { - "type": "string", - "description": "Custom voice deployment id (optional)." - }, - "customVoiceDeploymentId": { - "type": "string", - "description": "Custom speech model id (optional)." - }, - "isDefaultBotForCogSvcAccount": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Make this a default bot for chosen cognitive service account." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled or not." - } - }, - "required": [ - "cognitiveServiceRegion", - "cognitiveServiceSubscriptionKey" - ], - "description": "The parameters to provide for the DirectLine Speech channel." - }, - "EmailChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "EmailChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EmailChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Email channel." - } - }, - "required": [ - "channelName" - ], - "description": "Email channel definition" - }, - "EmailChannelProperties": { - "type": "object", - "properties": { - "emailAddress": { - "type": "string", - "description": "The email address" - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "password": { - "type": "string", - "description": "The password for the email address. Value only returned through POST to the action Channel List API, otherwise empty." - } - }, - "required": [ - "emailAddress", - "isEnabled" - ], - "description": "The parameters to provide for the Email channel." - }, - "FacebookChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "FacebookChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/FacebookChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Facebook channel." - } - }, - "required": [ - "channelName" - ], - "description": "Facebook channel definition" - }, - "FacebookChannelProperties": { - "type": "object", - "properties": { - "appId": { - "type": "string", - "description": "Facebook application id" - }, - "appSecret": { - "type": "string", - "description": "Facebook application secret. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "pages": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/FacebookPage" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of Facebook pages" - } - }, - "required": [ - "appId", - "isEnabled" - ], - "description": "The parameters to provide for the Facebook channel." - }, - "FacebookPage": { - "type": "object", - "properties": { - "accessToken": { - "type": "string", - "description": "Facebook application access token. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "id": { - "type": "string", - "description": "Page id" - } - }, - "required": [ - "id" - ], - "description": "A Facebook page for Facebook channel registration" - }, - "KikChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "KikChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/KikChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Kik channel." - } - }, - "required": [ - "channelName" - ], - "description": "Kik channel definition" - }, - "KikChannelProperties": { - "type": "object", - "properties": { - "apiKey": { - "type": "string", - "description": "Kik API key. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "isValidated": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is validated for the bot" - }, - "userName": { - "type": "string", - "description": "The Kik user name" - } - }, - "required": [ - "isEnabled", - "userName" - ], - "description": "The parameters to provide for the Kik channel." - }, - "LineChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "LineChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/LineChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Line channel." - } - }, - "required": [ - "channelName" - ], - "description": "Line channel definition" - }, - "LineChannelProperties": { - "type": "object", - "properties": { - "lineRegistrations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LineRegistration" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of line channel registrations" - } - }, - "required": [ - "lineRegistrations" - ], - "description": "The parameters to provide for the Line channel." - }, - "LineRegistration": { - "type": "object", - "properties": { - "channelAccessToken": { - "type": "string", - "description": "Access token for the line channel registration" - }, - "channelSecret": { - "type": "string", - "description": "Secret for the line channel registration" - } - }, - "description": "The properties corresponding to a line channel registration" - }, - "MsTeamsChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "MsTeamsChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MsTeamsChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Microsoft Teams channel." - } - }, - "required": [ - "channelName" - ], - "description": "Microsoft Teams channel definition" - }, - "MsTeamsChannelProperties": { - "type": "object", - "properties": { - "acceptedTerms": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel accepted terms" - }, - "callingWebHook": { - "type": "string", - "description": "Webhook for Microsoft Teams channel calls" - }, - "deploymentEnvironment": { - "type": "string", - "description": "Deployment environment for Microsoft Teams channel calls" - }, - "enableCalling": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable calling for Microsoft Teams channel" - }, - "incomingCallRoute": { - "type": "string", - "description": "Webhook for Microsoft Teams channel calls" - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - } - }, - "required": [ - "isEnabled" - ], - "description": "The parameters to provide for the Microsoft Teams channel." - }, - "Sku": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "F0", - "S1" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The sku name." - } - }, - "required": [ - "name" - ], - "description": "The SKU of the cognitive services account." - }, - "SkypeChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "SkypeChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SkypeChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Microsoft Teams channel." - } - }, - "required": [ - "channelName" - ], - "description": "Skype channel definition" - }, - "SkypeChannelProperties": { - "type": "object", - "properties": { - "callingWebHook": { - "type": "string", - "description": "Calling web hook for Skype channel" - }, - "enableCalling": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable calling for Skype channel" - }, - "enableGroups": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable groups for Skype channel" - }, - "enableMediaCards": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable media cards for Skype channel" - }, - "enableMessaging": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable messaging for Skype channel" - }, - "enableScreenSharing": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable screen sharing for Skype channel" - }, - "enableVideo": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable video for Skype channel" - }, - "groupsMode": { - "type": "string", - "description": "Group mode for Skype channel" - }, - "incomingCallRoute": { - "type": "string", - "description": "Incoming call route for Skype channel" - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - } - }, - "required": [ - "isEnabled" - ], - "description": "The parameters to provide for the Microsoft Teams channel." - }, - "SlackChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "SlackChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SlackChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Slack channel." - } - }, - "required": [ - "channelName" - ], - "description": "Slack channel definition" - }, - "SlackChannelProperties": { - "type": "object", - "properties": { - "clientId": { - "type": "string", - "description": "The Slack client id" - }, - "clientSecret": { - "type": "string", - "description": "The Slack client secret. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "landingPageUrl": { - "type": "string", - "description": "The Slack landing page Url" - }, - "signingSecret": { - "type": "string", - "description": "The Slack signing secret." - }, - "verificationToken": { - "type": "string", - "description": "The Slack verification token. Value only returned through POST to the action Channel List API, otherwise empty." - } - }, - "required": [ - "isEnabled" - ], - "description": "The parameters to provide for the Slack channel." - }, - "SmsChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "SmsChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SmsChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Sms channel." - } - }, - "required": [ - "channelName" - ], - "description": "Sms channel definition" - }, - "SmsChannelProperties": { - "type": "object", - "properties": { - "accountSID": { - "type": "string", - "description": "The Sms account SID. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "authToken": { - "type": "string", - "description": "The Sms auth token. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "isValidated": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is validated for the bot" - }, - "phone": { - "type": "string", - "description": "The Sms phone" - } - }, - "required": [ - "accountSID", - "isEnabled", - "phone" - ], - "description": "The parameters to provide for the Sms channel." - }, - "TelegramChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "TelegramChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TelegramChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Telegram channel." - } - }, - "required": [ - "channelName" - ], - "description": "Telegram channel definition" - }, - "TelegramChannelProperties": { - "type": "object", - "properties": { - "accessToken": { - "type": "string", - "description": "The Telegram access token. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "isValidated": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is validated for the bot" - } - }, - "required": [ - "isEnabled" - ], - "description": "The parameters to provide for the Telegram channel." - }, - "WebChatChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "WebChatChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WebChatChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Web Chat channel." - } - }, - "required": [ - "channelName" - ], - "description": "Web Chat channel definition" - }, - "WebChatChannelProperties": { - "type": "object", - "properties": { - "sites": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/WebChatSite" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of Web Chat sites" - } - }, - "description": "The parameters to provide for the Web Chat channel." - }, - "WebChatSite": { - "type": "object", - "properties": { - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for DirectLine channel" - }, - "isWebchatPreviewEnabled": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for preview versions of Webchat" - }, - "siteName": { - "type": "string", - "description": "Site name" - } - }, - "required": [ - "isEnabled", - "isWebchatPreviewEnabled", - "siteName" - ], - "description": "A site for the Webchat channel" - } - } -} \ No newline at end of file diff --git a/schemas/2021-05-01-preview/Microsoft.BotService.json b/schemas/2021-05-01-preview/Microsoft.BotService.json deleted file mode 100644 index 96f0f73f9e..0000000000 --- a/schemas/2021-05-01-preview/Microsoft.BotService.json +++ /dev/null @@ -1,2087 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-05-01-preview/Microsoft.BotService.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.BotService", - "description": "Microsoft BotService Resource Types", - "resourceDefinitions": { - "botServices": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "Entity Tag" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Required. Gets or sets the Kind of the resource." - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "minLength": 2, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the Bot resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BotProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Bot." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/botServices_channels_childResource" - }, - { - "$ref": "#/definitions/botServices_connections_childResource" - }, - { - "$ref": "#/definitions/botServices_privateEndpointConnections_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.BotService/botServices" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/botServices" - }, - "botServices_channels": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "Entity Tag" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Required. Gets or sets the Kind of the resource." - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - }, - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "AlexaChannel", - "FacebookChannel", - "EmailChannel", - "KikChannel", - "TelegramChannel", - "SlackChannel", - "MsTeamsChannel", - "SkypeChannel", - "WebChatChannel", - "DirectLineChannel", - "SmsChannel", - "LineChannel", - "DirectLineSpeechChannel" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the Channel resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/Channel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Channel definition" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.BotService/botServices/channels" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/botServices/channels" - }, - "botServices_connections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "Entity Tag" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Required. Gets or sets the Kind of the resource." - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9][\\sa-zA-Z0-9_.-]*$", - "minLength": 2, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the Bot Service Connection Setting resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ConnectionSettingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for a Connection Setting Item" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.BotService/botServices/connections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/botServices/connections" - }, - "botServices_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.BotService/botServices/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/botServices/privateEndpointConnections" - } - }, - "definitions": { - "AlexaChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "AlexaChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AlexaChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Alexa channel." - } - }, - "required": [ - "channelName" - ], - "description": "Alexa channel definition" - }, - "AlexaChannelProperties": { - "type": "object", - "properties": { - "alexaSkillId": { - "type": "string", - "description": "The Alexa skill Id" - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - } - }, - "required": [ - "alexaSkillId", - "isEnabled" - ], - "description": "The parameters to provide for the Alexa channel." - }, - "BotProperties": { - "type": "object", - "properties": { - "allSettings": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource all settings defined as key/value pairs." - }, - "appPasswordHint": { - "type": "string", - "description": "The hint (e.g. keyVault secret resourceId) on how to fetch the app secret" - }, - "cmekEncryptionStatus": { - "type": "string", - "description": "The CMK encryption status" - }, - "cmekKeyVaultUrl": { - "type": "string", - "description": "The CMK Url" - }, - "description": { - "type": "string", - "description": "The description of the bot" - }, - "developerAppInsightKey": { - "type": "string", - "description": "The Application Insights key" - }, - "developerAppInsightsApiKey": { - "type": "string", - "description": "The Application Insights Api Key" - }, - "developerAppInsightsApplicationId": { - "type": "string", - "description": "The Application Insights App Id" - }, - "disableLocalAuth": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication." - }, - "displayName": { - "type": "string", - "description": "The Name of the bot" - }, - "endpoint": { - "type": "string", - "description": "The bot's endpoint" - }, - "iconUrl": { - "type": "string", - "description": "The Icon Url of the bot" - }, - "isCmekEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether Cmek is enabled" - }, - "isDeveloperAppInsightsApiKeySet": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether the bot is developerAppInsightsApiKey set" - }, - "isStreamingSupported": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether the bot is streaming supported" - }, - "luisAppIds": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Collection of LUIS App Ids" - }, - "luisKey": { - "type": "string", - "description": "The LUIS Key" - }, - "manifestUrl": { - "type": "string", - "description": "The bot's manifest url" - }, - "msaAppId": { - "type": "string", - "description": "Microsoft App Id for the bot" - }, - "msaAppMSIResourceId": { - "type": "string", - "description": "Microsoft App Managed Identity Resource Id for the bot" - }, - "msaAppTenantId": { - "type": "string", - "description": "Microsoft App Tenant Id for the bot" - }, - "msaAppType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "UserAssignedMSI", - "SingleTenant", - "MultiTenant" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Microsoft App Type for the bot." - }, - "openWithHint": { - "type": "string", - "description": "The hint to browser (e.g. protocol handler) on how to open the bot for authoring" - }, - "parameters": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource parameters defined as key/value pairs." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether the bot is in an isolated network." - }, - "publishingCredentials": { - "type": "string", - "description": "Publishing credentials of the resource" - }, - "schemaTransformationVersion": { - "type": "string", - "description": "The channel schema transformation version for the bot" - }, - "storageResourceId": { - "type": "string", - "description": "The storage resourceId for the bot" - } - }, - "required": [ - "displayName", - "endpoint", - "msaAppId" - ], - "description": "The parameters to provide for the Bot." - }, - "botServices_channels_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "Entity Tag" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Required. Gets or sets the Kind of the resource." - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - }, - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "AlexaChannel", - "FacebookChannel", - "EmailChannel", - "KikChannel", - "TelegramChannel", - "SlackChannel", - "MsTeamsChannel", - "SkypeChannel", - "WebChatChannel", - "DirectLineChannel", - "SmsChannel", - "LineChannel", - "DirectLineSpeechChannel" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the Channel resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/Channel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Channel definition" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "channels" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/botServices/channels" - }, - "botServices_connections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "Entity Tag" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Required. Gets or sets the Kind of the resource." - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9][\\sa-zA-Z0-9_.-]*$", - "minLength": 2, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the Bot Service Connection Setting resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ConnectionSettingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for a Connection Setting Item" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "connections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/botServices/connections" - }, - "botServices_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.BotService/botServices/privateEndpointConnections" - }, - "Channel": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/AlexaChannel" - }, - { - "$ref": "#/definitions/FacebookChannel" - }, - { - "$ref": "#/definitions/EmailChannel" - }, - { - "$ref": "#/definitions/MsTeamsChannel" - }, - { - "$ref": "#/definitions/SkypeChannel" - }, - { - "$ref": "#/definitions/KikChannel" - }, - { - "$ref": "#/definitions/WebChatChannel" - }, - { - "$ref": "#/definitions/DirectLineChannel" - }, - { - "$ref": "#/definitions/TelegramChannel" - }, - { - "$ref": "#/definitions/SmsChannel" - }, - { - "$ref": "#/definitions/SlackChannel" - }, - { - "$ref": "#/definitions/LineChannel" - }, - { - "$ref": "#/definitions/DirectLineSpeechChannel" - } - ], - "properties": { - "etag": { - "type": "string", - "description": "Entity Tag of the resource" - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - } - }, - "description": "Channel definition" - }, - "ConnectionSettingParameter": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "Key for the Connection Setting Parameter." - }, - "value": { - "type": "string", - "description": "Value associated with the Connection Setting Parameter." - } - }, - "description": "Extra Parameter in a Connection Setting Properties to indicate service provider specific properties" - }, - "ConnectionSettingProperties": { - "type": "object", - "properties": { - "clientId": { - "type": "string", - "description": "Client Id associated with the Connection Setting." - }, - "clientSecret": { - "type": "string", - "description": "Client Secret associated with the Connection Setting" - }, - "id": { - "type": "string", - "description": "Id associated with the Connection Setting." - }, - "name": { - "type": "string", - "description": "Name associated with the Connection Setting." - }, - "parameters": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ConnectionSettingParameter" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Service Provider Parameters associated with the Connection Setting" - }, - "provisioningState": { - "type": "string", - "description": "Provisioning state of the resource" - }, - "scopes": { - "type": "string", - "description": "Scopes associated with the Connection Setting" - }, - "serviceProviderDisplayName": { - "type": "string", - "description": "Service Provider Display Name associated with the Connection Setting" - }, - "serviceProviderId": { - "type": "string", - "description": "Service Provider Id associated with the Connection Setting" - } - }, - "description": "Properties for a Connection Setting Item" - }, - "DirectLineChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "DirectLineChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DirectLineChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Direct Line channel." - } - }, - "required": [ - "channelName" - ], - "description": "Direct Line channel definition" - }, - "DirectLineChannelProperties": { - "type": "object", - "properties": { - "DirectLineEmbedCode": { - "type": "string", - "description": "Direct Line embed code of the resource" - }, - "sites": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/DirectLineSite" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of Direct Line sites" - } - }, - "description": "The parameters to provide for the Direct Line channel." - }, - "DirectLineSite": { - "type": "object", - "properties": { - "isBlockUserUploadEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for block user upload." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for DirectLine channel." - }, - "isSecureSiteEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for authentication with Bot Framework." - }, - "isV1Enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for Bot Framework V1 protocol." - }, - "isV3Enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for Bot Framework V1 protocol." - }, - "siteName": { - "type": "string", - "description": "Site name" - }, - "trustedOrigins": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Trusted Origin URLs for this site. This field is applicable only if isSecureSiteEnabled is True." - } - }, - "required": [ - "isEnabled", - "isV1Enabled", - "isV3Enabled", - "siteName" - ], - "description": "A site for the Direct Line channel" - }, - "DirectLineSpeechChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "DirectLineSpeechChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DirectLineSpeechChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the DirectLine Speech channel." - } - }, - "required": [ - "channelName" - ], - "description": "DirectLine Speech channel definition" - }, - "DirectLineSpeechChannelProperties": { - "type": "object", - "properties": { - "cognitiveServiceRegion": { - "type": "string", - "description": "The cognitive service region with this channel registration." - }, - "cognitiveServiceSubscriptionKey": { - "type": "string", - "description": "The cognitive service subscription key to use with this channel registration." - }, - "customSpeechModelId": { - "type": "string", - "description": "Custom voice deployment id (optional)." - }, - "customVoiceDeploymentId": { - "type": "string", - "description": "Custom speech model id (optional)." - }, - "isDefaultBotForCogSvcAccount": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Make this a default bot for chosen cognitive service account." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled or not." - } - }, - "required": [ - "cognitiveServiceRegion", - "cognitiveServiceSubscriptionKey" - ], - "description": "The parameters to provide for the DirectLine Speech channel." - }, - "EmailChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "EmailChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EmailChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Email channel." - } - }, - "required": [ - "channelName" - ], - "description": "Email channel definition" - }, - "EmailChannelProperties": { - "type": "object", - "properties": { - "emailAddress": { - "type": "string", - "description": "The email address" - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "password": { - "type": "string", - "description": "The password for the email address. Value only returned through POST to the action Channel List API, otherwise empty." - } - }, - "required": [ - "emailAddress", - "isEnabled" - ], - "description": "The parameters to provide for the Email channel." - }, - "FacebookChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "FacebookChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/FacebookChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Facebook channel." - } - }, - "required": [ - "channelName" - ], - "description": "Facebook channel definition" - }, - "FacebookChannelProperties": { - "type": "object", - "properties": { - "appId": { - "type": "string", - "description": "Facebook application id" - }, - "appSecret": { - "type": "string", - "description": "Facebook application secret. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "pages": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/FacebookPage" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of Facebook pages" - } - }, - "required": [ - "appId", - "isEnabled" - ], - "description": "The parameters to provide for the Facebook channel." - }, - "FacebookPage": { - "type": "object", - "properties": { - "accessToken": { - "type": "string", - "description": "Facebook application access token. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "id": { - "type": "string", - "description": "Page id" - } - }, - "required": [ - "id" - ], - "description": "A Facebook page for Facebook channel registration" - }, - "KikChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "KikChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/KikChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Kik channel." - } - }, - "required": [ - "channelName" - ], - "description": "Kik channel definition" - }, - "KikChannelProperties": { - "type": "object", - "properties": { - "apiKey": { - "type": "string", - "description": "Kik API key. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "isValidated": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is validated for the bot" - }, - "userName": { - "type": "string", - "description": "The Kik user name" - } - }, - "required": [ - "isEnabled", - "userName" - ], - "description": "The parameters to provide for the Kik channel." - }, - "LineChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "LineChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/LineChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Line channel." - } - }, - "required": [ - "channelName" - ], - "description": "Line channel definition" - }, - "LineChannelProperties": { - "type": "object", - "properties": { - "lineRegistrations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LineRegistration" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of line channel registrations" - } - }, - "required": [ - "lineRegistrations" - ], - "description": "The parameters to provide for the Line channel." - }, - "LineRegistration": { - "type": "object", - "properties": { - "channelAccessToken": { - "type": "string", - "description": "Access token for the line channel registration" - }, - "channelSecret": { - "type": "string", - "description": "Secret for the line channel registration" - } - }, - "description": "The properties corresponding to a line channel registration" - }, - "MsTeamsChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "MsTeamsChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MsTeamsChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Microsoft Teams channel." - } - }, - "required": [ - "channelName" - ], - "description": "Microsoft Teams channel definition" - }, - "MsTeamsChannelProperties": { - "type": "object", - "properties": { - "acceptedTerms": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel accepted terms" - }, - "callingWebHook": { - "type": "string", - "description": "Webhook for Microsoft Teams channel calls" - }, - "deploymentEnvironment": { - "type": "string", - "description": "Deployment environment for Microsoft Teams channel calls" - }, - "enableCalling": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable calling for Microsoft Teams channel" - }, - "incomingCallRoute": { - "type": "string", - "description": "Webhook for Microsoft Teams channel calls" - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - } - }, - "required": [ - "isEnabled" - ], - "description": "The parameters to provide for the Microsoft Teams channel." - }, - "PrivateEndpoint": { - "type": "object", - "properties": {}, - "description": "The Private Endpoint resource." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Private Endpoint resource." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioning state of the private endpoint connection resource." - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pending", - "Approved", - "Rejected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - } - }, - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "Sku": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "F0", - "S1" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The sku name." - } - }, - "required": [ - "name" - ], - "description": "The SKU of the cognitive services account." - }, - "SkypeChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "SkypeChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SkypeChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Microsoft Teams channel." - } - }, - "required": [ - "channelName" - ], - "description": "Skype channel definition" - }, - "SkypeChannelProperties": { - "type": "object", - "properties": { - "callingWebHook": { - "type": "string", - "description": "Calling web hook for Skype channel" - }, - "enableCalling": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable calling for Skype channel" - }, - "enableGroups": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable groups for Skype channel" - }, - "enableMediaCards": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable media cards for Skype channel" - }, - "enableMessaging": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable messaging for Skype channel" - }, - "enableScreenSharing": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable screen sharing for Skype channel" - }, - "enableVideo": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable video for Skype channel" - }, - "groupsMode": { - "type": "string", - "description": "Group mode for Skype channel" - }, - "incomingCallRoute": { - "type": "string", - "description": "Incoming call route for Skype channel" - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - } - }, - "required": [ - "isEnabled" - ], - "description": "The parameters to provide for the Microsoft Teams channel." - }, - "SlackChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "SlackChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SlackChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Slack channel." - } - }, - "required": [ - "channelName" - ], - "description": "Slack channel definition" - }, - "SlackChannelProperties": { - "type": "object", - "properties": { - "clientId": { - "type": "string", - "description": "The Slack client id" - }, - "clientSecret": { - "type": "string", - "description": "The Slack client secret. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "landingPageUrl": { - "type": "string", - "description": "The Slack landing page Url" - }, - "scopes": { - "type": "string", - "description": "The Slack permission scopes." - }, - "signingSecret": { - "type": "string", - "description": "The Slack signing secret." - }, - "verificationToken": { - "type": "string", - "description": "The Slack verification token. Value only returned through POST to the action Channel List API, otherwise empty." - } - }, - "required": [ - "isEnabled" - ], - "description": "The parameters to provide for the Slack channel." - }, - "SmsChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "SmsChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SmsChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Sms channel." - } - }, - "required": [ - "channelName" - ], - "description": "Sms channel definition" - }, - "SmsChannelProperties": { - "type": "object", - "properties": { - "accountSID": { - "type": "string", - "description": "The Sms account SID. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "authToken": { - "type": "string", - "description": "The Sms auth token. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "isValidated": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is validated for the bot" - }, - "phone": { - "type": "string", - "description": "The Sms phone" - } - }, - "required": [ - "accountSID", - "isEnabled", - "phone" - ], - "description": "The parameters to provide for the Sms channel." - }, - "TelegramChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "TelegramChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TelegramChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Telegram channel." - } - }, - "required": [ - "channelName" - ], - "description": "Telegram channel definition" - }, - "TelegramChannelProperties": { - "type": "object", - "properties": { - "accessToken": { - "type": "string", - "description": "The Telegram access token. Value only returned through POST to the action Channel List API, otherwise empty." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is enabled for the bot" - }, - "isValidated": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this channel is validated for the bot" - } - }, - "required": [ - "isEnabled" - ], - "description": "The parameters to provide for the Telegram channel." - }, - "WebChatChannel": { - "type": "object", - "properties": { - "channelName": { - "type": "string", - "enum": [ - "WebChatChannel" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WebChatChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters to provide for the Web Chat channel." - } - }, - "required": [ - "channelName" - ], - "description": "Web Chat channel definition" - }, - "WebChatChannelProperties": { - "type": "object", - "properties": { - "sites": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/WebChatSite" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of Web Chat sites" - } - }, - "description": "The parameters to provide for the Web Chat channel." - }, - "WebChatSite": { - "type": "object", - "properties": { - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for DirectLine channel" - }, - "isWebchatPreviewEnabled": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this site is enabled for preview versions of Webchat" - }, - "siteName": { - "type": "string", - "description": "Site name" - } - }, - "required": [ - "isEnabled", - "isWebchatPreviewEnabled", - "siteName" - ], - "description": "A site for the Webchat channel" - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index c5c1e9a000..eaadf2d181 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -2644,57 +2644,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-06-01-preview/Microsoft.Blockchain.json#/resourceDefinitions/blockchainMembers_transactionNodes" }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.BotService.json#/resourceDefinitions/botServices" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.BotService.json#/resourceDefinitions/botServices_channels" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.BotService.json#/resourceDefinitions/botServices_Connections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-07-12/Microsoft.BotService.json#/resourceDefinitions/botServices" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-07-12/Microsoft.BotService.json#/resourceDefinitions/botServices_channels" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-07-12/Microsoft.BotService.json#/resourceDefinitions/botServices_Connections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-07-12/Microsoft.BotService.json#/resourceDefinitions/enterpriseChannels" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-02/Microsoft.BotService.json#/resourceDefinitions/botServices" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-02/Microsoft.BotService.json#/resourceDefinitions/botServices_channels" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-02/Microsoft.BotService.json#/resourceDefinitions/botServices_connections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.BotService.json#/resourceDefinitions/botServices" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.BotService.json#/resourceDefinitions/botServices_channels" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.BotService.json#/resourceDefinitions/botServices_connections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-01-preview/Microsoft.BotService.json#/resourceDefinitions/botServices" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-01-preview/Microsoft.BotService.json#/resourceDefinitions/botServices_channels" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-01-preview/Microsoft.BotService.json#/resourceDefinitions/botServices_connections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-01-preview/Microsoft.BotService.json#/resourceDefinitions/botServices_privateEndpointConnections" - }, { "$ref": "https://schema.management.azure.com/schemas/2020-10-01-preview/Microsoft.Cache.Enterprise.json#/resourceDefinitions/redisEnterprise" },