From cfa6120e4c936d4915d989eb7525c05efb23a45d Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 19 Oct 2021 07:45:24 +0000 Subject: [PATCH] CodeGen from PR 16012 in Azure/azure-rest-api-specs [Hub Generated] Review request for Microsoft.BotService to add version preview/2021-05-01-preview (#16012) * fix some error * update * update * update example --- .../Microsoft.BotService.json | 87 +++++++++++++++++-- 1 file changed, 81 insertions(+), 6 deletions(-) diff --git a/schemas/2021-05-01-preview/Microsoft.BotService.json b/schemas/2021-05-01-preview/Microsoft.BotService.json index c7e0a37d40..31b108591c 100644 --- a/schemas/2021-05-01-preview/Microsoft.BotService.json +++ b/schemas/2021-05-01-preview/Microsoft.BotService.json @@ -488,6 +488,17 @@ ], "description": "Whether Cmek is enabled" }, + "isDeveloperAppInsightsApiKeySet": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether the bot is developerAppInsightsApiKey set" + }, "isIsolated": { "oneOf": [ { @@ -857,7 +868,12 @@ "$ref": "#/definitions/DirectLineSpeechChannel" } ], - "properties": {}, + "properties": { + "etag": { + "type": "string", + "description": "Entity Tag of the resource" + } + }, "description": "Channel definition" }, "ConnectionSettingParameter": { @@ -933,6 +949,10 @@ } ], "description": "The parameters to provide for the Direct Line channel." + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the resource" } }, "required": [ @@ -943,6 +963,10 @@ "DirectLineChannelProperties": { "type": "object", "properties": { + "DirectLineEmbedCode": { + "type": "string", + "description": "Direct Line embed code of the resource" + }, "sites": { "oneOf": [ { @@ -963,6 +987,17 @@ "DirectLineSite": { "type": "object", "properties": { + "isBlockUserUploadEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this site is enabled for block user upload." + }, "isEnabled": { "oneOf": [ { @@ -1053,6 +1088,10 @@ } ], "description": "The parameters to provide for the DirectLine Speech channel." + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the resource" } }, "required": [ @@ -1127,6 +1166,10 @@ } ], "description": "The parameters to provide for the Email channel." + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the resource" } }, "required": [ @@ -1172,6 +1215,10 @@ "FacebookChannel" ] }, + "location": { + "type": "string", + "description": "Location of the resource" + }, "properties": { "oneOf": [ { @@ -1182,6 +1229,10 @@ } ], "description": "The parameters to provide for the Facebook channel." + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the resource" } }, "required": [ @@ -1397,6 +1448,10 @@ } ], "description": "The parameters to provide for the Microsoft Teams channel." + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the resource" } }, "required": [ @@ -1422,6 +1477,10 @@ ], "description": "Enable calling for Microsoft Teams channel" }, + "incomingCallRoute": { + "type": "string", + "description": "Webhook for Microsoft Teams channel calls" + }, "isEnabled": { "oneOf": [ { @@ -1649,6 +1708,10 @@ "type": "string", "description": "Group mode for Skype channel" }, + "incomingCallRoute": { + "type": "string", + "description": "Incoming call route for Skype channel" + }, "isEnabled": { "oneOf": [ { @@ -1675,6 +1738,10 @@ "SlackChannel" ] }, + "location": { + "type": "string", + "description": "Location of the resource" + }, "properties": { "oneOf": [ { @@ -1826,6 +1893,10 @@ } ], "description": "The parameters to provide for the Telegram channel." + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the resource" } }, "required": [ @@ -1877,6 +1948,10 @@ "WebChatChannel" ] }, + "location": { + "type": "string", + "description": "Location of the resource" + }, "properties": { "oneOf": [ { @@ -1917,7 +1992,7 @@ "WebChatSite": { "type": "object", "properties": { - "enablePreview": { + "isEnabled": { "oneOf": [ { "type": "boolean" @@ -1926,9 +2001,9 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Whether this site is enabled for preview versions of Webchat" + "description": "Whether this site is enabled for DirectLine channel" }, - "isEnabled": { + "isWebchatPreviewEnabled": { "oneOf": [ { "type": "boolean" @@ -1937,7 +2012,7 @@ "$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 preview versions of Webchat" }, "siteName": { "type": "string", @@ -1945,8 +2020,8 @@ } }, "required": [ - "enablePreview", "isEnabled", + "isWebchatPreviewEnabled", "siteName" ], "description": "A site for the Webchat channel"