From 68b0ae375baf194de320fd7086aaefb964395d0a Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 10 Jan 2023 03:11:39 +0000 Subject: [PATCH] CodeGen from PR 22077 in Azure/azure-rest-api-specs Merge e62997b09169e9c8f04a251119955760492a727b into 38e580acd81dbb904d048a23d805dd58b8699d93 --- schemas/2021-03-01/Microsoft.BotService.json | 529 +++- .../Microsoft.BotService.json | 545 +++- .../Microsoft.BotService.json | 329 ++- schemas/2022-09-15/Microsoft.BotService.json | 2575 +++++++++++++++++ schemas/common/autogeneratedResources.json | 12 + 5 files changed, 3907 insertions(+), 83 deletions(-) create mode 100644 schemas/2022-09-15/Microsoft.BotService.json diff --git a/schemas/2021-03-01/Microsoft.BotService.json b/schemas/2021-03-01/Microsoft.BotService.json index b6aa76eb6d..1749f75219 100644 --- a/schemas/2021-03-01/Microsoft.BotService.json +++ b/schemas/2021-03-01/Microsoft.BotService.json @@ -170,7 +170,13 @@ "DirectLineChannel", "SmsChannel", "LineChannel", - "DirectLineSpeechChannel" + "DirectLineSpeechChannel", + "OutlookChannel", + "Omnichannel", + "TelephonyChannel", + "AcsChatChannel", + "SearchAssistant", + "M365Extensions" ] }, { @@ -334,6 +340,21 @@ } }, "definitions": { + "AcsChatChannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "AcsChatChannel" + ] + } + }, + "required": [ + "channelName" + ], + "description": "AcsChat channel definition" + }, "AlexaChannel": { "type": "object", "properties": { @@ -448,12 +469,14 @@ }, "iconUrl": { "type": "string", + "default": "", "description": "The Icon Url of the bot" }, "isCmekEnabled": { "oneOf": [ { - "type": "boolean" + "type": "boolean", + "default": false }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -568,6 +591,10 @@ "storageResourceId": { "type": "string", "description": "The storage resourceId for the bot" + }, + "tenantId": { + "type": "string", + "description": "The Tenant Id for the bot" } }, "required": [ @@ -629,7 +656,13 @@ "DirectLineChannel", "SmsChannel", "LineChannel", - "DirectLineSpeechChannel" + "DirectLineSpeechChannel", + "OutlookChannel", + "Omnichannel", + "TelephonyChannel", + "AcsChatChannel", + "SearchAssistant", + "M365Extensions" ] }, { @@ -803,6 +836,9 @@ { "$ref": "#/definitions/EmailChannel" }, + { + "$ref": "#/definitions/OutlookChannel" + }, { "$ref": "#/definitions/MsTeamsChannel" }, @@ -832,6 +868,21 @@ }, { "$ref": "#/definitions/DirectLineSpeechChannel" + }, + { + "$ref": "#/definitions/Omnichannel" + }, + { + "$ref": "#/definitions/TelephonyChannel" + }, + { + "$ref": "#/definitions/AcsChatChannel" + }, + { + "$ref": "#/definitions/SearchAssistant" + }, + { + "$ref": "#/definitions/M365Extensions" } ], "properties": { @@ -872,14 +923,6 @@ "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": [ { @@ -900,6 +943,7 @@ }, "scopes": { "type": "string", + "default": "", "description": "Scopes associated with the Connection Setting" }, "serviceProviderDisplayName": { @@ -946,6 +990,16 @@ "type": "string", "description": "Direct Line embed code of the resource" }, + "extensionKey1": { + "type": "string", + "default": "", + "description": "The extensionKey1" + }, + "extensionKey2": { + "type": "string", + "default": "", + "description": "The extensionKey1" + }, "sites": { "oneOf": [ { @@ -966,6 +1020,14 @@ "DirectLineSite": { "type": "object", "properties": { + "appId": { + "type": "string", + "description": "DirectLine application id" + }, + "eTag": { + "type": "string", + "description": "Entity Tag" + }, "isBlockUserUploadEnabled": { "oneOf": [ { @@ -977,6 +1039,17 @@ ], "description": "Whether this site is enabled for block user upload." }, + "isDetailedLoggingEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this site is disabled detailed logging for" + }, "isEnabled": { "oneOf": [ { @@ -986,7 +1059,29 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Whether this site is enabled for DirectLine channel." + "description": "Whether this site is enabled for DirectLine channel" + }, + "isEndpointParametersEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this site is EndpointParameters enabled for channel" + }, + "isNoStorageEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this no-storage site is disabled detailed logging for" }, "isSecureSiteEnabled": { "oneOf": [ @@ -1019,12 +1114,40 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Whether this site is enabled for Bot Framework V1 protocol." + "description": "Whether this site is enabled for Bot Framework V3 protocol." + }, + "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" + }, + "isWebChatSpeechEnabled": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this site is enabled for Webchat Speech" }, "siteName": { "type": "string", "description": "Site name" }, + "tenantId": { + "type": "string", + "description": "Tenant Id" + }, "trustedOrigins": { "oneOf": [ { @@ -1042,8 +1165,6 @@ }, "required": [ "isEnabled", - "isV1Enabled", - "isV3Enabled", "siteName" ], "description": "A site for the Direct Line channel" @@ -1081,6 +1202,10 @@ "type": "string", "description": "The cognitive service region with this channel registration." }, + "cognitiveServiceResourceId": { + "type": "string", + "description": "The cognitive service id with this channel registration." + }, "cognitiveServiceSubscriptionKey": { "type": "string", "description": "The cognitive service subscription key to use with this channel registration." @@ -1116,10 +1241,6 @@ "description": "Whether this channel is enabled or not." } }, - "required": [ - "cognitiveServiceRegion", - "cognitiveServiceSubscriptionKey" - ], "description": "The parameters to provide for the DirectLine Speech channel." }, "EmailChannel": { @@ -1151,6 +1272,17 @@ "EmailChannelProperties": { "type": "object", "properties": { + "authMethod": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Email channel auth method. 0 Password (Default); 1 Graph." + }, "emailAddress": { "type": "string", "description": "The email address" @@ -1166,6 +1298,10 @@ ], "description": "Whether this channel is enabled for the bot" }, + "magicCode": { + "type": "string", + "description": "The magic code for setting up the modern authentication." + }, "password": { "type": "string", "description": "The password for the email address. Value only returned through POST to the action Channel List API, otherwise empty." @@ -1392,6 +1528,21 @@ }, "description": "The properties corresponding to a line channel registration" }, + "M365Extensions": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "M365Extensions" + ] + } + }, + "required": [ + "channelName" + ], + "description": "M365 Extensions definition" + }, "MsTeamsChannel": { "type": "object", "properties": { @@ -1424,8 +1575,7 @@ "acceptedTerms": { "oneOf": [ { - "type": "boolean", - "default": true + "type": "boolean" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -1433,18 +1583,20 @@ ], "description": "Whether this channel accepted terms" }, - "callingWebHook": { + "callingWebhook": { "type": "string", "description": "Webhook for Microsoft Teams channel calls" }, "deploymentEnvironment": { "type": "string", + "default": "FallbackDeploymentEnvironment", "description": "Deployment environment for Microsoft Teams channel calls" }, "enableCalling": { "oneOf": [ { - "type": "boolean" + "type": "boolean", + "default": false }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -1473,6 +1625,51 @@ ], "description": "The parameters to provide for the Microsoft Teams channel." }, + "Omnichannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "Omnichannel" + ] + } + }, + "required": [ + "channelName" + ], + "description": "Omnichannel channel definition" + }, + "OutlookChannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "OutlookChannel" + ] + } + }, + "required": [ + "channelName" + ], + "description": "Outlook channel definition" + }, + "SearchAssistant": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "SearchAssistant" + ] + } + }, + "required": [ + "channelName" + ], + "description": "SearchAssistant definition" + }, "Sku": { "type": "object", "properties": { @@ -1533,7 +1730,8 @@ "enableCalling": { "oneOf": [ { - "type": "boolean" + "type": "boolean", + "default": false }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -1673,6 +1871,10 @@ "type": "string", "description": "The Slack landing page Url" }, + "scopes": { + "type": "string", + "description": "The Slack permission scopes." + }, "signingSecret": { "type": "string", "description": "The Slack signing secret." @@ -1819,6 +2021,169 @@ ], "description": "The parameters to provide for the Telegram channel." }, + "TelephonyChannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "TelephonyChannel" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/TelephonyChannelProperties" + }, + { + "$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": "Telephony channel definition" + }, + "TelephonyChannelProperties": { + "type": "object", + "properties": { + "apiConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TelephonyChannelResourceApiConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of Telephony api configuration" + }, + "cognitiveServiceRegion": { + "type": "string", + "description": "The extensionKey2" + }, + "cognitiveServiceSubscriptionKey": { + "type": "string", + "description": "The extensionKey1" + }, + "defaultLocale": { + "type": "string", + "description": "The default locale of the channel" + }, + "isEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether the channel is enabled" + }, + "phoneNumbers": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TelephonyPhoneNumbers" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of Telephony phone numbers" + }, + "premiumSKU": { + "type": "string", + "description": "The premium SKU applied to the channel" + } + }, + "description": "The parameters to provide for the Direct Line channel." + }, + "TelephonyChannelResourceApiConfiguration": { + "type": "object", + "properties": { + "cognitiveServiceRegion": { + "type": "string", + "description": "The cognitive service region." + }, + "cognitiveServiceResourceId": { + "type": "string", + "description": "The cognitive service resourceId." + }, + "cognitiveServiceSubscriptionKey": { + "type": "string", + "description": "The cognitive service subscription key." + }, + "defaultLocale": { + "type": "string", + "description": "The default locale." + }, + "id": { + "type": "string", + "description": "The id of config." + }, + "providerName": { + "type": "string", + "description": "The provider name." + } + }, + "description": "A resource Api configuration for the Telephony channel" + }, + "TelephonyPhoneNumbers": { + "type": "object", + "properties": { + "acsEndpoint": { + "type": "string", + "description": "The endpoint of ACS." + }, + "acsResourceId": { + "type": "string", + "description": "The resource id of ACS." + }, + "acsSecret": { + "type": "string", + "description": "The secret of ACS." + }, + "cognitiveServiceRegion": { + "type": "string", + "description": "The service region of cognitive service." + }, + "cognitiveServiceResourceId": { + "type": "string", + "description": "The resource id of cognitive service." + }, + "cognitiveServiceSubscriptionKey": { + "type": "string", + "description": "The subscription key of cognitive service." + }, + "defaultLocale": { + "type": "string", + "description": "The default locale of the phone number." + }, + "id": { + "type": "string", + "description": "The element id." + }, + "offerType": { + "type": "string", + "description": "Optional Property that will determine the offering type of the phone." + }, + "phoneNumber": { + "type": "string", + "description": "The phone number." + } + }, + "description": "A telephone number for the Telephony channel" + }, "WebChatChannel": { "type": "object", "properties": { @@ -1868,6 +2233,36 @@ "WebChatSite": { "type": "object", "properties": { + "appId": { + "type": "string", + "description": "DirectLine application id" + }, + "eTag": { + "type": "string", + "description": "Entity Tag" + }, + "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." + }, + "isDetailedLoggingEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this site is disabled detailed logging for" + }, "isEnabled": { "oneOf": [ { @@ -1879,6 +2274,61 @@ ], "description": "Whether this site is enabled for DirectLine channel" }, + "isEndpointParametersEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this site is EndpointParameters enabled for channel" + }, + "isNoStorageEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this no-storage site is disabled detailed logging for" + }, + "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 V3 protocol." + }, "isWebchatPreviewEnabled": { "oneOf": [ { @@ -1891,14 +2341,43 @@ ], "description": "Whether this site is enabled for preview versions of Webchat" }, + "isWebChatSpeechEnabled": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this site is enabled for Webchat Speech" + }, "siteName": { "type": "string", "description": "Site name" + }, + "tenantId": { + "type": "string", + "description": "Tenant Id" + }, + "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", - "isWebchatPreviewEnabled", "siteName" ], "description": "A site for the Webchat channel" diff --git a/schemas/2021-05-01-preview/Microsoft.BotService.json b/schemas/2021-05-01-preview/Microsoft.BotService.json index 333c07ed9a..21275710d9 100644 --- a/schemas/2021-05-01-preview/Microsoft.BotService.json +++ b/schemas/2021-05-01-preview/Microsoft.BotService.json @@ -174,7 +174,12 @@ "SmsChannel", "LineChannel", "DirectLineSpeechChannel", - "OutlookChannel" + "OutlookChannel", + "Omnichannel", + "TelephonyChannel", + "AcsChatChannel", + "SearchAssistant", + "M365Extensions" ] }, { @@ -377,6 +382,21 @@ } }, "definitions": { + "AcsChatChannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "AcsChatChannel" + ] + } + }, + "required": [ + "channelName" + ], + "description": "AcsChat channel definition" + }, "AlexaChannel": { "type": "object", "properties": { @@ -491,12 +511,14 @@ }, "iconUrl": { "type": "string", + "default": "", "description": "The Icon Url of the bot" }, "isCmekEnabled": { "oneOf": [ { - "type": "boolean" + "type": "boolean", + "default": false }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -611,6 +633,10 @@ "storageResourceId": { "type": "string", "description": "The storage resourceId for the bot" + }, + "tenantId": { + "type": "string", + "description": "The Tenant Id for the bot" } }, "required": [ @@ -673,7 +699,12 @@ "SmsChannel", "LineChannel", "DirectLineSpeechChannel", - "OutlookChannel" + "OutlookChannel", + "Omnichannel", + "TelephonyChannel", + "AcsChatChannel", + "SearchAssistant", + "M365Extensions" ] }, { @@ -886,6 +917,9 @@ { "$ref": "#/definitions/EmailChannel" }, + { + "$ref": "#/definitions/OutlookChannel" + }, { "$ref": "#/definitions/MsTeamsChannel" }, @@ -915,6 +949,21 @@ }, { "$ref": "#/definitions/DirectLineSpeechChannel" + }, + { + "$ref": "#/definitions/Omnichannel" + }, + { + "$ref": "#/definitions/TelephonyChannel" + }, + { + "$ref": "#/definitions/AcsChatChannel" + }, + { + "$ref": "#/definitions/SearchAssistant" + }, + { + "$ref": "#/definitions/M365Extensions" } ], "properties": { @@ -955,14 +1004,6 @@ "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": [ { @@ -983,6 +1024,7 @@ }, "scopes": { "type": "string", + "default": "", "description": "Scopes associated with the Connection Setting" }, "serviceProviderDisplayName": { @@ -1029,6 +1071,16 @@ "type": "string", "description": "Direct Line embed code of the resource" }, + "extensionKey1": { + "type": "string", + "default": "", + "description": "The extensionKey1" + }, + "extensionKey2": { + "type": "string", + "default": "", + "description": "The extensionKey1" + }, "sites": { "oneOf": [ { @@ -1049,6 +1101,14 @@ "DirectLineSite": { "type": "object", "properties": { + "appId": { + "type": "string", + "description": "DirectLine application id" + }, + "eTag": { + "type": "string", + "description": "Entity Tag" + }, "isBlockUserUploadEnabled": { "oneOf": [ { @@ -1060,6 +1120,17 @@ ], "description": "Whether this site is enabled for block user upload." }, + "isDetailedLoggingEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this site is disabled detailed logging for" + }, "isEnabled": { "oneOf": [ { @@ -1069,7 +1140,29 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Whether this site is enabled for DirectLine channel." + "description": "Whether this site is enabled for DirectLine channel" + }, + "isEndpointParametersEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this site is EndpointParameters enabled for channel" + }, + "isNoStorageEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this no-storage site is disabled detailed logging for" }, "isSecureSiteEnabled": { "oneOf": [ @@ -1102,12 +1195,40 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Whether this site is enabled for Bot Framework V1 protocol." + "description": "Whether this site is enabled for Bot Framework V3 protocol." + }, + "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" + }, + "isWebChatSpeechEnabled": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this site is enabled for Webchat Speech" }, "siteName": { "type": "string", "description": "Site name" }, + "tenantId": { + "type": "string", + "description": "Tenant Id" + }, "trustedOrigins": { "oneOf": [ { @@ -1125,8 +1246,6 @@ }, "required": [ "isEnabled", - "isV1Enabled", - "isV3Enabled", "siteName" ], "description": "A site for the Direct Line channel" @@ -1164,6 +1283,10 @@ "type": "string", "description": "The cognitive service region with this channel registration." }, + "cognitiveServiceResourceId": { + "type": "string", + "description": "The cognitive service id with this channel registration." + }, "cognitiveServiceSubscriptionKey": { "type": "string", "description": "The cognitive service subscription key to use with this channel registration." @@ -1199,10 +1322,6 @@ "description": "Whether this channel is enabled or not." } }, - "required": [ - "cognitiveServiceRegion", - "cognitiveServiceSubscriptionKey" - ], "description": "The parameters to provide for the DirectLine Speech channel." }, "EmailChannel": { @@ -1234,6 +1353,17 @@ "EmailChannelProperties": { "type": "object", "properties": { + "authMethod": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Email channel auth method. 0 Password (Default); 1 Graph." + }, "emailAddress": { "type": "string", "description": "The email address" @@ -1249,6 +1379,10 @@ ], "description": "Whether this channel is enabled for the bot" }, + "magicCode": { + "type": "string", + "description": "The magic code for setting up the modern authentication." + }, "password": { "type": "string", "description": "The password for the email address. Value only returned through POST to the action Channel List API, otherwise empty." @@ -1475,6 +1609,21 @@ }, "description": "The properties corresponding to a line channel registration" }, + "M365Extensions": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "M365Extensions" + ] + } + }, + "required": [ + "channelName" + ], + "description": "M365 Extensions definition" + }, "MsTeamsChannel": { "type": "object", "properties": { @@ -1515,18 +1664,20 @@ ], "description": "Whether this channel accepted terms" }, - "callingWebHook": { + "callingWebhook": { "type": "string", "description": "Webhook for Microsoft Teams channel calls" }, "deploymentEnvironment": { "type": "string", + "default": "FallbackDeploymentEnvironment", "description": "Deployment environment for Microsoft Teams channel calls" }, "enableCalling": { "oneOf": [ { - "type": "boolean" + "type": "boolean", + "default": false }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -1555,6 +1706,36 @@ ], "description": "The parameters to provide for the Microsoft Teams channel." }, + "Omnichannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "Omnichannel" + ] + } + }, + "required": [ + "channelName" + ], + "description": "Omnichannel channel definition" + }, + "OutlookChannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "OutlookChannel" + ] + } + }, + "required": [ + "channelName" + ], + "description": "Outlook channel definition" + }, "PrivateEndpoint": { "type": "object", "properties": {}, @@ -1563,6 +1744,20 @@ "PrivateEndpointConnectionProperties": { "type": "object", "properties": { + "groupIds": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Group ids" + }, "privateEndpoint": { "oneOf": [ { @@ -1638,6 +1833,21 @@ }, "description": "A collection of information about the state of the connection between service consumer and provider." }, + "SearchAssistant": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "SearchAssistant" + ] + } + }, + "required": [ + "channelName" + ], + "description": "SearchAssistant definition" + }, "Sku": { "type": "object", "properties": { @@ -1698,7 +1908,8 @@ "enableCalling": { "oneOf": [ { - "type": "boolean" + "type": "boolean", + "default": false }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -1838,17 +2049,6 @@ "type": "string", "description": "The Slack landing page Url" }, - "registerBeforeOAuthFlow": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether to register the settings before OAuth validation is performed. Recommended to True." - }, "scopes": { "type": "string", "description": "The Slack permission scopes." @@ -1999,6 +2199,169 @@ ], "description": "The parameters to provide for the Telegram channel." }, + "TelephonyChannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "TelephonyChannel" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/TelephonyChannelProperties" + }, + { + "$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": "Telephony channel definition" + }, + "TelephonyChannelProperties": { + "type": "object", + "properties": { + "apiConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TelephonyChannelResourceApiConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of Telephony api configuration" + }, + "cognitiveServiceRegion": { + "type": "string", + "description": "The extensionKey2" + }, + "cognitiveServiceSubscriptionKey": { + "type": "string", + "description": "The extensionKey1" + }, + "defaultLocale": { + "type": "string", + "description": "The default locale of the channel" + }, + "isEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether the channel is enabled" + }, + "phoneNumbers": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TelephonyPhoneNumbers" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of Telephony phone numbers" + }, + "premiumSKU": { + "type": "string", + "description": "The premium SKU applied to the channel" + } + }, + "description": "The parameters to provide for the Direct Line channel." + }, + "TelephonyChannelResourceApiConfiguration": { + "type": "object", + "properties": { + "cognitiveServiceRegion": { + "type": "string", + "description": "The cognitive service region." + }, + "cognitiveServiceResourceId": { + "type": "string", + "description": "The cognitive service resourceId." + }, + "cognitiveServiceSubscriptionKey": { + "type": "string", + "description": "The cognitive service subscription key." + }, + "defaultLocale": { + "type": "string", + "description": "The default locale." + }, + "id": { + "type": "string", + "description": "The id of config." + }, + "providerName": { + "type": "string", + "description": "The provider name." + } + }, + "description": "A resource Api configuration for the Telephony channel" + }, + "TelephonyPhoneNumbers": { + "type": "object", + "properties": { + "acsEndpoint": { + "type": "string", + "description": "The endpoint of ACS." + }, + "acsResourceId": { + "type": "string", + "description": "The resource id of ACS." + }, + "acsSecret": { + "type": "string", + "description": "The secret of ACS." + }, + "cognitiveServiceRegion": { + "type": "string", + "description": "The service region of cognitive service." + }, + "cognitiveServiceResourceId": { + "type": "string", + "description": "The resource id of cognitive service." + }, + "cognitiveServiceSubscriptionKey": { + "type": "string", + "description": "The subscription key of cognitive service." + }, + "defaultLocale": { + "type": "string", + "description": "The default locale of the phone number." + }, + "id": { + "type": "string", + "description": "The element id." + }, + "offerType": { + "type": "string", + "description": "Optional Property that will determine the offering type of the phone." + }, + "phoneNumber": { + "type": "string", + "description": "The phone number." + } + }, + "description": "A telephone number for the Telephony channel" + }, "WebChatChannel": { "type": "object", "properties": { @@ -2048,6 +2411,36 @@ "WebChatSite": { "type": "object", "properties": { + "appId": { + "type": "string", + "description": "DirectLine application id" + }, + "eTag": { + "type": "string", + "description": "Entity Tag" + }, + "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." + }, + "isDetailedLoggingEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this site is disabled detailed logging for" + }, "isEnabled": { "oneOf": [ { @@ -2059,6 +2452,61 @@ ], "description": "Whether this site is enabled for DirectLine channel" }, + "isEndpointParametersEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this site is EndpointParameters enabled for channel" + }, + "isNoStorageEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this no-storage site is disabled detailed logging for" + }, + "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 V3 protocol." + }, "isWebchatPreviewEnabled": { "oneOf": [ { @@ -2071,14 +2519,43 @@ ], "description": "Whether this site is enabled for preview versions of Webchat" }, + "isWebChatSpeechEnabled": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this site is enabled for Webchat Speech" + }, "siteName": { "type": "string", "description": "Site name" + }, + "tenantId": { + "type": "string", + "description": "Tenant Id" + }, + "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", - "isWebchatPreviewEnabled", "siteName" ], "description": "A site for the Webchat channel" diff --git a/schemas/2022-06-15-preview/Microsoft.BotService.json b/schemas/2022-06-15-preview/Microsoft.BotService.json index 8218424d19..bbbcd21046 100644 --- a/schemas/2022-06-15-preview/Microsoft.BotService.json +++ b/schemas/2022-06-15-preview/Microsoft.BotService.json @@ -176,7 +176,10 @@ "DirectLineSpeechChannel", "OutlookChannel", "Omnichannel", - "TelephonyChannel" + "TelephonyChannel", + "AcsChatChannel", + "SearchAssistant", + "M365Extensions" ] }, { @@ -379,6 +382,21 @@ } }, "definitions": { + "AcsChatChannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "AcsChatChannel" + ] + } + }, + "required": [ + "channelName" + ], + "description": "AcsChat channel definition" + }, "AlexaChannel": { "type": "object", "properties": { @@ -610,7 +628,6 @@ }, "schemaTransformationVersion": { "type": "string", - "default": "0.0", "description": "The channel schema transformation version for the bot" }, "storageResourceId": { @@ -684,7 +701,10 @@ "DirectLineSpeechChannel", "OutlookChannel", "Omnichannel", - "TelephonyChannel" + "TelephonyChannel", + "AcsChatChannel", + "SearchAssistant", + "M365Extensions" ] }, { @@ -929,6 +949,21 @@ }, { "$ref": "#/definitions/DirectLineSpeechChannel" + }, + { + "$ref": "#/definitions/Omnichannel" + }, + { + "$ref": "#/definitions/TelephonyChannel" + }, + { + "$ref": "#/definitions/AcsChatChannel" + }, + { + "$ref": "#/definitions/SearchAssistant" + }, + { + "$ref": "#/definitions/M365Extensions" } ], "properties": { @@ -969,14 +1004,6 @@ "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": [ { @@ -997,6 +1024,7 @@ }, "scopes": { "type": "string", + "default": "", "description": "Scopes associated with the Connection Setting" }, "serviceProviderDisplayName": { @@ -1043,6 +1071,16 @@ "type": "string", "description": "Direct Line embed code of the resource" }, + "extensionKey1": { + "type": "string", + "default": "", + "description": "The extensionKey1" + }, + "extensionKey2": { + "type": "string", + "default": "", + "description": "The extensionKey1" + }, "sites": { "oneOf": [ { @@ -1157,7 +1195,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Whether this site is enabled for Bot Framework V1 protocol." + "description": "Whether this site is enabled for Bot Framework V3 protocol." }, "isWebchatPreviewEnabled": { "oneOf": [ @@ -1171,10 +1209,26 @@ ], "description": "Whether this site is enabled for preview versions of Webchat" }, + "isWebChatSpeechEnabled": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this site is enabled for Webchat Speech" + }, "siteName": { "type": "string", "description": "Site name" }, + "tenantId": { + "type": "string", + "description": "Tenant Id" + }, "trustedOrigins": { "oneOf": [ { @@ -1555,6 +1609,21 @@ }, "description": "The properties corresponding to a line channel registration" }, + "M365Extensions": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "M365Extensions" + ] + } + }, + "required": [ + "channelName" + ], + "description": "M365 Extensions definition" + }, "MsTeamsChannel": { "type": "object", "properties": { @@ -1637,6 +1706,21 @@ ], "description": "The parameters to provide for the Microsoft Teams channel." }, + "Omnichannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "Omnichannel" + ] + } + }, + "required": [ + "channelName" + ], + "description": "Omnichannel channel definition" + }, "OutlookChannel": { "type": "object", "properties": { @@ -1660,6 +1744,20 @@ "PrivateEndpointConnectionProperties": { "type": "object", "properties": { + "groupIds": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Group ids" + }, "privateEndpoint": { "oneOf": [ { @@ -1735,6 +1833,21 @@ }, "description": "A collection of information about the state of the connection between service consumer and provider." }, + "SearchAssistant": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "SearchAssistant" + ] + } + }, + "required": [ + "channelName" + ], + "description": "SearchAssistant definition" + }, "Sku": { "type": "object", "properties": { @@ -1936,17 +2049,6 @@ "type": "string", "description": "The Slack landing page Url" }, - "registerBeforeOAuthFlow": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether to register the settings before OAuth validation is performed. Recommended to True." - }, "scopes": { "type": "string", "description": "The Slack permission scopes." @@ -2097,6 +2199,169 @@ ], "description": "The parameters to provide for the Telegram channel." }, + "TelephonyChannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "TelephonyChannel" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/TelephonyChannelProperties" + }, + { + "$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": "Telephony channel definition" + }, + "TelephonyChannelProperties": { + "type": "object", + "properties": { + "apiConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TelephonyChannelResourceApiConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of Telephony api configuration" + }, + "cognitiveServiceRegion": { + "type": "string", + "description": "The extensionKey2" + }, + "cognitiveServiceSubscriptionKey": { + "type": "string", + "description": "The extensionKey1" + }, + "defaultLocale": { + "type": "string", + "description": "The default locale of the channel" + }, + "isEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether the channel is enabled" + }, + "phoneNumbers": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TelephonyPhoneNumbers" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of Telephony phone numbers" + }, + "premiumSKU": { + "type": "string", + "description": "The premium SKU applied to the channel" + } + }, + "description": "The parameters to provide for the Direct Line channel." + }, + "TelephonyChannelResourceApiConfiguration": { + "type": "object", + "properties": { + "cognitiveServiceRegion": { + "type": "string", + "description": "The cognitive service region." + }, + "cognitiveServiceResourceId": { + "type": "string", + "description": "The cognitive service resourceId." + }, + "cognitiveServiceSubscriptionKey": { + "type": "string", + "description": "The cognitive service subscription key." + }, + "defaultLocale": { + "type": "string", + "description": "The default locale." + }, + "id": { + "type": "string", + "description": "The id of config." + }, + "providerName": { + "type": "string", + "description": "The provider name." + } + }, + "description": "A resource Api configuration for the Telephony channel" + }, + "TelephonyPhoneNumbers": { + "type": "object", + "properties": { + "acsEndpoint": { + "type": "string", + "description": "The endpoint of ACS." + }, + "acsResourceId": { + "type": "string", + "description": "The resource id of ACS." + }, + "acsSecret": { + "type": "string", + "description": "The secret of ACS." + }, + "cognitiveServiceRegion": { + "type": "string", + "description": "The service region of cognitive service." + }, + "cognitiveServiceResourceId": { + "type": "string", + "description": "The resource id of cognitive service." + }, + "cognitiveServiceSubscriptionKey": { + "type": "string", + "description": "The subscription key of cognitive service." + }, + "defaultLocale": { + "type": "string", + "description": "The default locale of the phone number." + }, + "id": { + "type": "string", + "description": "The element id." + }, + "offerType": { + "type": "string", + "description": "Optional Property that will determine the offering type of the phone." + }, + "phoneNumber": { + "type": "string", + "description": "The phone number." + } + }, + "description": "A telephone number for the Telephony channel" + }, "WebChatChannel": { "type": "object", "properties": { @@ -2240,7 +2505,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Whether this site is enabled for Bot Framework V1 protocol." + "description": "Whether this site is enabled for Bot Framework V3 protocol." }, "isWebchatPreviewEnabled": { "oneOf": [ @@ -2254,10 +2519,26 @@ ], "description": "Whether this site is enabled for preview versions of Webchat" }, + "isWebChatSpeechEnabled": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this site is enabled for Webchat Speech" + }, "siteName": { "type": "string", "description": "Site name" }, + "tenantId": { + "type": "string", + "description": "Tenant Id" + }, "trustedOrigins": { "oneOf": [ { diff --git a/schemas/2022-09-15/Microsoft.BotService.json b/schemas/2022-09-15/Microsoft.BotService.json new file mode 100644 index 0000000000..313b291fa5 --- /dev/null +++ b/schemas/2022-09-15/Microsoft.BotService.json @@ -0,0 +1,2575 @@ +{ + "id": "https://schema.management.azure.com/schemas/2022-09-15/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": [ + "2022-09-15" + ] + }, + "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": [ + "2022-09-15" + ] + }, + "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", + "OutlookChannel", + "Omnichannel", + "TelephonyChannel", + "AcsChatChannel", + "SearchAssistant", + "M365Extensions" + ] + }, + { + "$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": [ + "2022-09-15" + ] + }, + "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": [ + "2022-09-15" + ] + }, + "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": { + "AcsChatChannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "AcsChatChannel" + ] + } + }, + "required": [ + "channelName" + ], + "description": "AcsChat channel definition" + }, + "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" + }, + "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", + "default": "", + "description": "The Icon Url of the bot" + }, + "isCmekEnabled": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether Cmek is enabled" + }, + "isStreamingSupported": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$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" + }, + "tenantId": { + "type": "string", + "description": "The Tenant 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": [ + "2022-09-15" + ] + }, + "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", + "OutlookChannel", + "Omnichannel", + "TelephonyChannel", + "AcsChatChannel", + "SearchAssistant", + "M365Extensions" + ] + }, + { + "$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": [ + "2022-09-15" + ] + }, + "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": [ + "2022-09-15" + ] + }, + "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/OutlookChannel" + }, + { + "$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" + }, + { + "$ref": "#/definitions/Omnichannel" + }, + { + "$ref": "#/definitions/TelephonyChannel" + }, + { + "$ref": "#/definitions/AcsChatChannel" + }, + { + "$ref": "#/definitions/SearchAssistant" + }, + { + "$ref": "#/definitions/M365Extensions" + } + ], + "properties": { + "etag": { + "type": "string", + "description": "Entity Tag of the resource" + }, + "location": { + "type": "string", + "default": "global", + "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" + }, + "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", + "default": "", + "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" + }, + "extensionKey1": { + "type": "string", + "default": "", + "description": "The extensionKey1" + }, + "extensionKey2": { + "type": "string", + "default": "", + "description": "The extensionKey1" + }, + "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": { + "appId": { + "type": "string", + "description": "DirectLine application id" + }, + "eTag": { + "type": "string", + "description": "Entity Tag" + }, + "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." + }, + "isDetailedLoggingEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this site is disabled detailed logging for" + }, + "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" + }, + "isEndpointParametersEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this site is EndpointParameters enabled for channel" + }, + "isNoStorageEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this no-storage site is disabled detailed logging for" + }, + "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 V3 protocol." + }, + "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" + }, + "isWebChatSpeechEnabled": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this site is enabled for Webchat Speech" + }, + "siteName": { + "type": "string", + "description": "Site name" + }, + "tenantId": { + "type": "string", + "description": "Tenant Id" + }, + "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", + "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." + }, + "cognitiveServiceResourceId": { + "type": "string", + "description": "The cognitive service id 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." + } + }, + "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": { + "authMethod": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Email channel auth method. 0 Password (Default); 1 Graph." + }, + "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" + }, + "magicCode": { + "type": "string", + "description": "The magic code for setting up the modern authentication." + }, + "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" + }, + "M365Extensions": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "M365Extensions" + ] + } + }, + "required": [ + "channelName" + ], + "description": "M365 Extensions definition" + }, + "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", + "default": "FallbackDeploymentEnvironment", + "description": "Deployment environment for Microsoft Teams channel calls" + }, + "enableCalling": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$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." + }, + "Omnichannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "Omnichannel" + ] + } + }, + "required": [ + "channelName" + ], + "description": "Omnichannel channel definition" + }, + "OutlookChannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "OutlookChannel" + ] + } + }, + "required": [ + "channelName" + ], + "description": "Outlook channel definition" + }, + "PrivateEndpoint": { + "type": "object", + "properties": {}, + "description": "The Private Endpoint resource." + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "groupIds": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Group ids" + }, + "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." + }, + "SearchAssistant": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "SearchAssistant" + ] + } + }, + "required": [ + "channelName" + ], + "description": "SearchAssistant definition" + }, + "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", + "default": false + }, + { + "$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" + }, + "registerBeforeOAuthFlow": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to register the settings before OAuth validation is performed. Recommended to True." + }, + "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." + }, + "TelephonyChannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "TelephonyChannel" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/TelephonyChannelProperties" + }, + { + "$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": "Telephony channel definition" + }, + "TelephonyChannelProperties": { + "type": "object", + "properties": { + "apiConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TelephonyChannelResourceApiConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of Telephony api configuration" + }, + "cognitiveServiceRegion": { + "type": "string", + "description": "The extensionKey2" + }, + "cognitiveServiceSubscriptionKey": { + "type": "string", + "description": "The extensionKey1" + }, + "defaultLocale": { + "type": "string", + "description": "The default locale of the channel" + }, + "isEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether the channel is enabled" + }, + "phoneNumbers": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TelephonyPhoneNumbers" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of Telephony phone numbers" + }, + "premiumSKU": { + "type": "string", + "description": "The premium SKU applied to the channel" + } + }, + "description": "The parameters to provide for the Direct Line channel." + }, + "TelephonyChannelResourceApiConfiguration": { + "type": "object", + "properties": { + "cognitiveServiceRegion": { + "type": "string", + "description": "The cognitive service region." + }, + "cognitiveServiceResourceId": { + "type": "string", + "description": "The cognitive service resourceId." + }, + "cognitiveServiceSubscriptionKey": { + "type": "string", + "description": "The cognitive service subscription key." + }, + "defaultLocale": { + "type": "string", + "description": "The default locale." + }, + "id": { + "type": "string", + "description": "The id of config." + }, + "providerName": { + "type": "string", + "description": "The provider name." + } + }, + "description": "A resource Api configuration for the Telephony channel" + }, + "TelephonyPhoneNumbers": { + "type": "object", + "properties": { + "acsEndpoint": { + "type": "string", + "description": "The endpoint of ACS." + }, + "acsResourceId": { + "type": "string", + "description": "The resource id of ACS." + }, + "acsSecret": { + "type": "string", + "description": "The secret of ACS." + }, + "cognitiveServiceRegion": { + "type": "string", + "description": "The service region of cognitive service." + }, + "cognitiveServiceResourceId": { + "type": "string", + "description": "The resource id of cognitive service." + }, + "cognitiveServiceSubscriptionKey": { + "type": "string", + "description": "The subscription key of cognitive service." + }, + "defaultLocale": { + "type": "string", + "description": "The default locale of the phone number." + }, + "id": { + "type": "string", + "description": "The element id." + }, + "offerType": { + "type": "string", + "description": "Optional Property that will determine the offering type of the phone." + }, + "phoneNumber": { + "type": "string", + "description": "The phone number." + } + }, + "description": "A telephone number for the Telephony 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": { + "appId": { + "type": "string", + "description": "DirectLine application id" + }, + "eTag": { + "type": "string", + "description": "Entity Tag" + }, + "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." + }, + "isDetailedLoggingEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this site is disabled detailed logging for" + }, + "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" + }, + "isEndpointParametersEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this site is EndpointParameters enabled for channel" + }, + "isNoStorageEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this no-storage site is disabled detailed logging for" + }, + "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 V3 protocol." + }, + "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" + }, + "isWebChatSpeechEnabled": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this site is enabled for Webchat Speech" + }, + "siteName": { + "type": "string", + "description": "Site name" + }, + "tenantId": { + "type": "string", + "description": "Tenant Id" + }, + "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", + "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 c7c2543da7..d8bee08107 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -3964,6 +3964,18 @@ { "$ref": "https://schema.management.azure.com/schemas/2022-06-15-preview/Microsoft.BotService.json#/resourceDefinitions/botServices_privateEndpointConnections" }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-09-15/Microsoft.BotService.json#/resourceDefinitions/botServices" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-09-15/Microsoft.BotService.json#/resourceDefinitions/botServices_channels" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-09-15/Microsoft.BotService.json#/resourceDefinitions/botServices_connections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-09-15/Microsoft.BotService.json#/resourceDefinitions/botServices_privateEndpointConnections" + }, { "$ref": "https://schema.management.azure.com/schemas/2020-10-01-preview/Microsoft.Cache.Enterprise.json#/resourceDefinitions/redisEnterprise" },