diff --git a/schemas/2017-12-01/Microsoft.BotService.json b/schemas/2017-12-01/Microsoft.BotService.json deleted file mode 100644 index 6a198cc46b..0000000000 --- a/schemas/2017-12-01/Microsoft.BotService.json +++ /dev/null @@ -1,1489 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.BotService.json#", - "title": "Microsoft.BotService", - "description": "Microsoft BotService Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "botServices": { - "description": "Microsoft.BotService/botServices", - "properties": { - "apiVersion": { - "enum": [ - "2017-12-01" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Bot resource.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 2, - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot resource", - "oneOf": [ - { - "$ref": "#/definitions/BotProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/botServices_channels_childResource" - }, - { - "$ref": "#/definitions/botServices_Connections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_Connections": { - "description": "Microsoft.BotService/botServices/Connections", - "properties": { - "apiVersion": { - "enum": [ - "2017-12-01" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Bot Service Connection Setting resource", - "oneOf": [ - { - "maxLength": 64, - "minLength": 2, - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/ConnectionSettingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices/Connections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_channels": { - "description": "Microsoft.BotService/botServices/channels", - "properties": { - "apiVersion": { - "enum": [ - "2017-12-01" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Channel resource.", - "oneOf": [ - { - "enum": [ - "FacebookChannel", - "EmailChannel", - "KikChannel", - "TelegramChannel", - "SlackChannel", - "MsTeamsChannel", - "SkypeChannel", - "WebChatChannel", - "DirectLineChannel", - "SmsChannel" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/Channel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices/channels" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "BotProperties": { - "description": "The parameters to provide for the Bot.", - "properties": { - "description": { - "description": "The description of the bot", - "type": "string" - }, - "developerAppInsightKey": { - "description": "The Application Insights key", - "type": "string" - }, - "developerAppInsightsApiKey": { - "description": "The Application Insights Api Key", - "type": "string" - }, - "developerAppInsightsApplicationId": { - "description": "The Application Insights App Id", - "type": "string" - }, - "displayName": { - "description": "The Name of the bot", - "type": "string" - }, - "endpoint": { - "description": "The bot's endpoint", - "type": "string" - }, - "iconUrl": { - "description": "The Icon Url of the bot", - "type": "string" - }, - "luisAppIds": { - "description": "Collection of LUIS App Ids", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "luisKey": { - "description": "The LUIS Key", - "type": "string" - }, - "msaAppId": { - "description": "Microsoft App Id for the bot", - "type": "string" - } - }, - "required": [ - "displayName", - "endpoint", - "msaAppId" - ], - "type": "object" - }, - "Channel": { - "description": "Channel definition", - "oneOf": [ - { - "description": "Direct Line channel definition", - "properties": { - "channelName": { - "enum": [ - "DirectLineChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Direct Line channel resource", - "oneOf": [ - { - "$ref": "#/definitions/DirectLineChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Email channel definition", - "properties": { - "channelName": { - "enum": [ - "EmailChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to email channel resource", - "oneOf": [ - { - "$ref": "#/definitions/EmailChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Facebook channel definition", - "properties": { - "channelName": { - "enum": [ - "FacebookChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to bot facebook channel", - "oneOf": [ - { - "$ref": "#/definitions/FacebookChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Kik channel definition", - "properties": { - "channelName": { - "enum": [ - "KikChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Kik channel resource", - "oneOf": [ - { - "$ref": "#/definitions/KikChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Microsoft Teams channel definition", - "properties": { - "channelName": { - "enum": [ - "MsTeamsChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Microsoft Teams channel resource", - "oneOf": [ - { - "$ref": "#/definitions/MsTeamsChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Skype channel definition", - "properties": { - "channelName": { - "enum": [ - "SkypeChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Skype channel resource", - "oneOf": [ - { - "$ref": "#/definitions/SkypeChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Slack channel definition", - "properties": { - "channelName": { - "enum": [ - "SlackChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Slack channel resource", - "oneOf": [ - { - "$ref": "#/definitions/SlackChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Sms channel definition", - "properties": { - "channelName": { - "enum": [ - "SmsChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Sms channel resource", - "oneOf": [ - { - "$ref": "#/definitions/SmsChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Telegram channel definition", - "properties": { - "channelName": { - "enum": [ - "TelegramChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Telegram channel resource", - "oneOf": [ - { - "$ref": "#/definitions/TelegramChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Web Chat channel definition", - "properties": { - "channelName": { - "enum": [ - "WebChatChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Web Chat channel resource", - "oneOf": [ - { - "$ref": "#/definitions/WebChatChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - } - ], - "properties": {}, - "type": "object" - }, - "ConnectionSettingParameter": { - "description": "Extra Parameter in a Connection Setting Properties to indicate service provider specific properties", - "properties": { - "key": { - "description": "Key for the Connection Setting Parameter.", - "type": "string" - }, - "value": { - "description": "Value associated with the Connection Setting Parameter.", - "type": "string" - } - }, - "type": "object" - }, - "ConnectionSettingProperties": { - "description": "Properties for a Connection Setting Item", - "properties": { - "clientId": { - "description": "Client Id associated with the Connection Setting.", - "type": "string" - }, - "clientSecret": { - "description": "Client Secret associated with the Connection Setting", - "type": "string" - }, - "parameters": { - "description": "Service Provider Parameters associated with the Connection Setting", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ConnectionSettingParameter" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "scopes": { - "description": "Scopes associated with the Connection Setting", - "type": "string" - }, - "serviceProviderDisplayName": { - "description": "Service Provider Display Name associated with the Connection Setting", - "type": "string" - }, - "serviceProviderId": { - "description": "Service Provider Id associated with the Connection Setting", - "type": "string" - } - }, - "type": "object" - }, - "DirectLineChannelProperties": { - "description": "The parameters to provide for the Direct Line channel.", - "properties": { - "sites": { - "description": "The list of Direct Line sites", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/DirectLineSite" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "DirectLineSite": { - "description": "A site for the Direct Line channel", - "properties": { - "isEnabled": { - "description": "Whether this site is enabled for DirectLine channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isV1Enabled": { - "description": "Whether this site is enabled for Bot Framework V1 protocol", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isV3Enabled": { - "description": "Whether this site is enabled for Bot Framework V1 protocol", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "siteName": { - "description": "Site name", - "type": "string" - } - }, - "required": [ - "siteName", - "isEnabled", - "isV1Enabled", - "isV3Enabled" - ], - "type": "object" - }, - "EmailChannelProperties": { - "description": "The parameters to provide for the Email channel.", - "properties": { - "emailAddress": { - "description": "The email address", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "password": { - "description": "The password for the email address. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - } - }, - "required": [ - "emailAddress", - "password", - "isEnabled" - ], - "type": "object" - }, - "FacebookChannelProperties": { - "description": "The parameters to provide for the Facebook channel.", - "properties": { - "appId": { - "description": "Facebook application id", - "type": "string" - }, - "appSecret": { - "description": "Facebook application secret. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "pages": { - "description": "The list of Facebook pages", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/FacebookPage" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "appId", - "appSecret", - "isEnabled" - ], - "type": "object" - }, - "FacebookPage": { - "description": "A Facebook page for Facebook channel registration", - "properties": { - "accessToken": { - "description": "Facebook application access token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "id": { - "description": "Page id", - "type": "string" - } - }, - "required": [ - "id", - "accessToken" - ], - "type": "object" - }, - "KikChannelProperties": { - "description": "The parameters to provide for the Kik channel.", - "properties": { - "apiKey": { - "description": "Kik API key. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isValidated": { - "description": "Whether this channel is validated for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userName": { - "description": "The Kik user name", - "type": "string" - } - }, - "required": [ - "userName", - "apiKey", - "isEnabled" - ], - "type": "object" - }, - "MsTeamsChannelProperties": { - "description": "The parameters to provide for the Microsoft Teams channel.", - "properties": { - "callMode": { - "description": "Enable messaging for Microsoft Teams channel", - "type": "string" - }, - "enableCalling": { - "description": "Enable calling for Microsoft Teams channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableMediaCards": { - "description": "Enable media cards for Microsoft Teams channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableMessaging": { - "description": "Enable messaging for Microsoft Teams channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableVideo": { - "description": "Enable video for Microsoft Teams channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "Sku": { - "description": "The SKU of the cognitive services account.", - "properties": { - "name": { - "description": "The sku name", - "oneOf": [ - { - "enum": [ - "F0", - "S1" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "SkypeChannelProperties": { - "description": "The parameters to provide for the Microsoft Teams channel.", - "properties": { - "callingWebHook": { - "description": "Calling web hook for Skype channel", - "type": "string" - }, - "enableCalling": { - "description": "Enable calling for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableGroups": { - "description": "Enable groups for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableMediaCards": { - "description": "Enable media cards for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableMessaging": { - "description": "Enable messaging for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableScreenSharing": { - "description": "Enable screen sharing for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableVideo": { - "description": "Enable video for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "groupsMode": { - "description": "Group mode for Skype channel", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "SlackChannelProperties": { - "description": "The parameters to provide for the Slack channel.", - "properties": { - "clientId": { - "description": "The Slack client id", - "type": "string" - }, - "clientSecret": { - "description": "The Slack client secret. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "landingPageUrl": { - "description": "The Slack landing page Url", - "type": "string" - }, - "verificationToken": { - "description": "The Slack verification token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - } - }, - "required": [ - "clientId", - "clientSecret", - "verificationToken", - "isEnabled" - ], - "type": "object" - }, - "SmsChannelProperties": { - "description": "The parameters to provide for the Sms channel.", - "properties": { - "accountSID": { - "description": "The Sms account SID. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "authToken": { - "description": "The Sms auth token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isValidated": { - "description": "Whether this channel is validated for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "phone": { - "description": "The Sms phone", - "type": "string" - } - }, - "required": [ - "phone", - "accountSID", - "authToken", - "isEnabled" - ], - "type": "object" - }, - "TelegramChannelProperties": { - "description": "The parameters to provide for the Telegram channel.", - "properties": { - "accessToken": { - "description": "The Telegram access token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isValidated": { - "description": "Whether this channel is validated for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "accessToken", - "isEnabled" - ], - "type": "object" - }, - "WebChatChannelProperties": { - "description": "The parameters to provide for the Web Chat channel.", - "properties": { - "sites": { - "description": "The list of Web Chat sites", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/WebChatSite" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "WebChatSite": { - "description": "A site for the Webchat channel", - "properties": { - "enablePreview": { - "description": "Whether this site is enabled for preview versions of Webchat", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEnabled": { - "description": "Whether this site is enabled for DirectLine channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "siteName": { - "description": "Site name", - "type": "string" - } - }, - "required": [ - "siteName", - "isEnabled", - "enablePreview" - ], - "type": "object" - }, - "botServices_Connections_childResource": { - "description": "Microsoft.BotService/botServices/Connections", - "properties": { - "apiVersion": { - "enum": [ - "2017-12-01" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Bot Service Connection Setting resource", - "oneOf": [ - { - "maxLength": 64, - "minLength": 2, - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/ConnectionSettingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Connections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_channels_childResource": { - "description": "Microsoft.BotService/botServices/channels", - "properties": { - "apiVersion": { - "enum": [ - "2017-12-01" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Channel resource.", - "oneOf": [ - { - "enum": [ - "FacebookChannel", - "EmailChannel", - "KikChannel", - "TelegramChannel", - "SlackChannel", - "MsTeamsChannel", - "SkypeChannel", - "WebChatChannel", - "DirectLineChannel", - "SmsChannel" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/Channel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "channels" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2018-07-12/Microsoft.BotService.json b/schemas/2018-07-12/Microsoft.BotService.json deleted file mode 100644 index 6b9a44a02d..0000000000 --- a/schemas/2018-07-12/Microsoft.BotService.json +++ /dev/null @@ -1,1673 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-07-12/Microsoft.BotService.json#", - "title": "Microsoft.BotService", - "description": "Microsoft BotService Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "botServices": { - "description": "Microsoft.BotService/botServices", - "properties": { - "apiVersion": { - "enum": [ - "2018-07-12" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Bot resource.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 2, - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot resource", - "oneOf": [ - { - "$ref": "#/definitions/BotProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/botServices_channels_childResource" - }, - { - "$ref": "#/definitions/botServices_Connections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_Connections": { - "description": "Microsoft.BotService/botServices/Connections", - "properties": { - "apiVersion": { - "enum": [ - "2018-07-12" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Bot Service Connection Setting resource", - "oneOf": [ - { - "maxLength": 64, - "minLength": 2, - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/ConnectionSettingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices/Connections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_channels": { - "description": "Microsoft.BotService/botServices/channels", - "properties": { - "apiVersion": { - "enum": [ - "2018-07-12" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Channel resource.", - "oneOf": [ - { - "enum": [ - "FacebookChannel", - "EmailChannel", - "KikChannel", - "TelegramChannel", - "SlackChannel", - "MsTeamsChannel", - "SkypeChannel", - "WebChatChannel", - "DirectLineChannel", - "SmsChannel" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/Channel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices/channels" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "enterpriseChannels": { - "description": "Microsoft.BotService/enterpriseChannels", - "properties": { - "apiVersion": { - "enum": [ - "2018-07-12" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Bot resource.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 2, - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to an Enterprise Channel resource.", - "oneOf": [ - { - "$ref": "#/definitions/EnterpriseChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/enterpriseChannels" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "BotProperties": { - "description": "The parameters to provide for the Bot.", - "properties": { - "description": { - "description": "The description of the bot", - "type": "string" - }, - "developerAppInsightKey": { - "description": "The Application Insights key", - "type": "string" - }, - "developerAppInsightsApiKey": { - "description": "The Application Insights Api Key", - "type": "string" - }, - "developerAppInsightsApplicationId": { - "description": "The Application Insights App Id", - "type": "string" - }, - "displayName": { - "description": "The Name of the bot", - "type": "string" - }, - "endpoint": { - "description": "The bot's endpoint", - "type": "string" - }, - "iconUrl": { - "description": "The Icon Url of the bot", - "type": "string" - }, - "luisAppIds": { - "description": "Collection of LUIS App Ids", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "luisKey": { - "description": "The LUIS Key", - "type": "string" - }, - "msaAppId": { - "description": "Microsoft App Id for the bot", - "type": "string" - } - }, - "required": [ - "displayName", - "endpoint", - "msaAppId" - ], - "type": "object" - }, - "Channel": { - "description": "Channel definition", - "oneOf": [ - { - "description": "Direct Line channel definition", - "properties": { - "channelName": { - "enum": [ - "DirectLineChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Direct Line channel resource", - "oneOf": [ - { - "$ref": "#/definitions/DirectLineChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Email channel definition", - "properties": { - "channelName": { - "enum": [ - "EmailChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to email channel resource", - "oneOf": [ - { - "$ref": "#/definitions/EmailChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Facebook channel definition", - "properties": { - "channelName": { - "enum": [ - "FacebookChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to bot facebook channel", - "oneOf": [ - { - "$ref": "#/definitions/FacebookChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Kik channel definition", - "properties": { - "channelName": { - "enum": [ - "KikChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Kik channel resource", - "oneOf": [ - { - "$ref": "#/definitions/KikChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Microsoft Teams channel definition", - "properties": { - "channelName": { - "enum": [ - "MsTeamsChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Microsoft Teams channel resource", - "oneOf": [ - { - "$ref": "#/definitions/MsTeamsChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Skype channel definition", - "properties": { - "channelName": { - "enum": [ - "SkypeChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Skype channel resource", - "oneOf": [ - { - "$ref": "#/definitions/SkypeChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Slack channel definition", - "properties": { - "channelName": { - "enum": [ - "SlackChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Slack channel resource", - "oneOf": [ - { - "$ref": "#/definitions/SlackChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Sms channel definition", - "properties": { - "channelName": { - "enum": [ - "SmsChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Sms channel resource", - "oneOf": [ - { - "$ref": "#/definitions/SmsChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Telegram channel definition", - "properties": { - "channelName": { - "enum": [ - "TelegramChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Telegram channel resource", - "oneOf": [ - { - "$ref": "#/definitions/TelegramChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Web Chat channel definition", - "properties": { - "channelName": { - "enum": [ - "WebChatChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Web Chat channel resource", - "oneOf": [ - { - "$ref": "#/definitions/WebChatChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - } - ], - "properties": {}, - "type": "object" - }, - "ConnectionSettingParameter": { - "description": "Extra Parameter in a Connection Setting Properties to indicate service provider specific properties", - "properties": { - "key": { - "description": "Key for the Connection Setting Parameter.", - "type": "string" - }, - "value": { - "description": "Value associated with the Connection Setting Parameter.", - "type": "string" - } - }, - "type": "object" - }, - "ConnectionSettingProperties": { - "description": "Properties for a Connection Setting Item", - "properties": { - "clientId": { - "description": "Client Id associated with the Connection Setting.", - "type": "string" - }, - "clientSecret": { - "description": "Client Secret associated with the Connection Setting", - "type": "string" - }, - "parameters": { - "description": "Service Provider Parameters associated with the Connection Setting", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ConnectionSettingParameter" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "scopes": { - "description": "Scopes associated with the Connection Setting", - "type": "string" - }, - "serviceProviderDisplayName": { - "description": "Service Provider Display Name associated with the Connection Setting", - "type": "string" - }, - "serviceProviderId": { - "description": "Service Provider Id associated with the Connection Setting", - "type": "string" - } - }, - "type": "object" - }, - "DirectLineChannelProperties": { - "description": "The parameters to provide for the Direct Line channel.", - "properties": { - "sites": { - "description": "The list of Direct Line sites", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/DirectLineSite" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "DirectLineSite": { - "description": "A site for the Direct Line channel", - "properties": { - "isEnabled": { - "description": "Whether this site is enabled for DirectLine channel.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isSecureSiteEnabled": { - "description": "Whether this site is enabled for authentication with Bot Framework.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isV1Enabled": { - "description": "Whether this site is enabled for Bot Framework V1 protocol.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isV3Enabled": { - "description": "Whether this site is enabled for Bot Framework V1 protocol.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "siteName": { - "description": "Site name", - "type": "string" - }, - "trustedOrigins": { - "description": "List of Trusted Origin URLs for this site. This field is applicable only if isSecureSiteEnabled is True.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "siteName", - "isEnabled", - "isV1Enabled", - "isV3Enabled" - ], - "type": "object" - }, - "EmailChannelProperties": { - "description": "The parameters to provide for the Email channel.", - "properties": { - "emailAddress": { - "description": "The email address", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "password": { - "description": "The password for the email address. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - } - }, - "required": [ - "emailAddress", - "password", - "isEnabled" - ], - "type": "object" - }, - "EnterpriseChannelNode": { - "description": "The properties specific to an Enterprise Channel Node.", - "properties": { - "azureLocation": { - "description": "The location of the Enterprise Channel Node.", - "type": "string" - }, - "azureSku": { - "description": "The sku of the Enterprise Channel Node.", - "type": "string" - }, - "name": { - "description": "The name of the Enterprise Channel Node.", - "type": "string" - }, - "state": { - "description": "The current state of the Enterprise Channel Node.", - "oneOf": [ - { - "enum": [ - "Creating", - "CreateFailed", - "Started", - "Starting", - "StartFailed", - "Stopped", - "Stopping", - "StopFailed", - "Deleting", - "DeleteFailed" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name", - "azureSku", - "azureLocation" - ], - "type": "object" - }, - "EnterpriseChannelProperties": { - "description": "The parameters to provide for the Enterprise Channel.", - "properties": { - "nodes": { - "description": "The nodes associated with the Enterprise Channel.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/EnterpriseChannelNode" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "state": { - "description": "The current state of the Enterprise Channel.", - "oneOf": [ - { - "enum": [ - "Creating", - "CreateFailed", - "Started", - "Starting", - "StartFailed", - "Stopped", - "Stopping", - "StopFailed", - "Deleting", - "DeleteFailed" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "nodes" - ], - "type": "object" - }, - "FacebookChannelProperties": { - "description": "The parameters to provide for the Facebook channel.", - "properties": { - "appId": { - "description": "Facebook application id", - "type": "string" - }, - "appSecret": { - "description": "Facebook application secret. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "pages": { - "description": "The list of Facebook pages", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/FacebookPage" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "appId", - "appSecret", - "isEnabled" - ], - "type": "object" - }, - "FacebookPage": { - "description": "A Facebook page for Facebook channel registration", - "properties": { - "accessToken": { - "description": "Facebook application access token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "id": { - "description": "Page id", - "type": "string" - } - }, - "required": [ - "id", - "accessToken" - ], - "type": "object" - }, - "KikChannelProperties": { - "description": "The parameters to provide for the Kik channel.", - "properties": { - "apiKey": { - "description": "Kik API key. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isValidated": { - "description": "Whether this channel is validated for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userName": { - "description": "The Kik user name", - "type": "string" - } - }, - "required": [ - "userName", - "apiKey", - "isEnabled" - ], - "type": "object" - }, - "MsTeamsChannelProperties": { - "description": "The parameters to provide for the Microsoft Teams channel.", - "properties": { - "callingWebHook": { - "description": "Webhook for Microsoft Teams channel calls", - "type": "string" - }, - "enableCalling": { - "description": "Enable calling for Microsoft Teams channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "Sku": { - "description": "The SKU of the cognitive services account.", - "properties": { - "name": { - "description": "The sku name", - "oneOf": [ - { - "enum": [ - "F0", - "S1" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "SkypeChannelProperties": { - "description": "The parameters to provide for the Microsoft Teams channel.", - "properties": { - "callingWebHook": { - "description": "Calling web hook for Skype channel", - "type": "string" - }, - "enableCalling": { - "description": "Enable calling for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableGroups": { - "description": "Enable groups for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableMediaCards": { - "description": "Enable media cards for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableMessaging": { - "description": "Enable messaging for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableScreenSharing": { - "description": "Enable screen sharing for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableVideo": { - "description": "Enable video for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "groupsMode": { - "description": "Group mode for Skype channel", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "SlackChannelProperties": { - "description": "The parameters to provide for the Slack channel.", - "properties": { - "clientId": { - "description": "The Slack client id", - "type": "string" - }, - "clientSecret": { - "description": "The Slack client secret. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "landingPageUrl": { - "description": "The Slack landing page Url", - "type": "string" - }, - "verificationToken": { - "description": "The Slack verification token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - } - }, - "required": [ - "clientId", - "clientSecret", - "verificationToken", - "isEnabled" - ], - "type": "object" - }, - "SmsChannelProperties": { - "description": "The parameters to provide for the Sms channel.", - "properties": { - "accountSID": { - "description": "The Sms account SID. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "authToken": { - "description": "The Sms auth token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isValidated": { - "description": "Whether this channel is validated for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "phone": { - "description": "The Sms phone", - "type": "string" - } - }, - "required": [ - "phone", - "accountSID", - "authToken", - "isEnabled" - ], - "type": "object" - }, - "TelegramChannelProperties": { - "description": "The parameters to provide for the Telegram channel.", - "properties": { - "accessToken": { - "description": "The Telegram access token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isValidated": { - "description": "Whether this channel is validated for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "accessToken", - "isEnabled" - ], - "type": "object" - }, - "WebChatChannelProperties": { - "description": "The parameters to provide for the Web Chat channel.", - "properties": { - "sites": { - "description": "The list of Web Chat sites", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/WebChatSite" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "WebChatSite": { - "description": "A site for the Webchat channel", - "properties": { - "enablePreview": { - "description": "Whether this site is enabled for preview versions of Webchat", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEnabled": { - "description": "Whether this site is enabled for DirectLine channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "siteName": { - "description": "Site name", - "type": "string" - } - }, - "required": [ - "siteName", - "isEnabled", - "enablePreview" - ], - "type": "object" - }, - "botServices_Connections_childResource": { - "description": "Microsoft.BotService/botServices/Connections", - "properties": { - "apiVersion": { - "enum": [ - "2018-07-12" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Bot Service Connection Setting resource", - "oneOf": [ - { - "maxLength": 64, - "minLength": 2, - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/ConnectionSettingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Connections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_channels_childResource": { - "description": "Microsoft.BotService/botServices/channels", - "properties": { - "apiVersion": { - "enum": [ - "2018-07-12" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Channel resource.", - "oneOf": [ - { - "enum": [ - "FacebookChannel", - "EmailChannel", - "KikChannel", - "TelegramChannel", - "SlackChannel", - "MsTeamsChannel", - "SkypeChannel", - "WebChatChannel", - "DirectLineChannel", - "SmsChannel" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/Channel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "channels" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2020-06-02/Microsoft.BotService.json b/schemas/2020-06-02/Microsoft.BotService.json deleted file mode 100644 index 76f5619409..0000000000 --- a/schemas/2020-06-02/Microsoft.BotService.json +++ /dev/null @@ -1,1680 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-06-02/Microsoft.BotService.json#", - "title": "Microsoft.BotService", - "description": "Microsoft BotService Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "botServices": { - "description": "Microsoft.BotService/botServices", - "properties": { - "apiVersion": { - "enum": [ - "2020-06-02" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Bot resource.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 2, - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot resource", - "oneOf": [ - { - "$ref": "#/definitions/BotProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/botServices_channels_childResource" - }, - { - "$ref": "#/definitions/botServices_connections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_channels": { - "description": "Microsoft.BotService/botServices/channels", - "properties": { - "apiVersion": { - "enum": [ - "2020-06-02" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Channel resource.", - "oneOf": [ - { - "enum": [ - "AlexaChannel", - "FacebookChannel", - "EmailChannel", - "KikChannel", - "TelegramChannel", - "SlackChannel", - "MsTeamsChannel", - "SkypeChannel", - "WebChatChannel", - "DirectLineChannel", - "SmsChannel", - "LineChannel", - "DirectLineSpeechChannel" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/Channel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices/channels" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_connections": { - "description": "Microsoft.BotService/botServices/connections", - "properties": { - "apiVersion": { - "enum": [ - "2020-06-02" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Bot Service Connection Setting resource.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 2, - "pattern": "^[a-zA-Z0-9][\\sa-zA-Z0-9_.-]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/ConnectionSettingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices/connections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "AlexaChannelProperties": { - "description": "The parameters to provide for the Alexa channel.", - "properties": { - "alexaSkillId": { - "description": "The Alexa skill Id", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "alexaSkillId", - "isEnabled" - ], - "type": "object" - }, - "BotProperties": { - "description": "The parameters to provide for the Bot.", - "properties": { - "cmekKeyVaultUrl": { - "description": "The CMK Url", - "type": "string" - }, - "description": { - "description": "The description of the bot", - "type": "string" - }, - "developerAppInsightKey": { - "description": "The Application Insights key", - "type": "string" - }, - "developerAppInsightsApiKey": { - "description": "The Application Insights Api Key", - "type": "string" - }, - "developerAppInsightsApplicationId": { - "description": "The Application Insights App Id", - "type": "string" - }, - "displayName": { - "description": "The Name of the bot", - "type": "string" - }, - "endpoint": { - "description": "The bot's endpoint", - "type": "string" - }, - "iconUrl": { - "description": "The Icon Url of the bot", - "type": "string" - }, - "isCmekEnabled": { - "description": "Whether Cmek is enabled", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "luisAppIds": { - "description": "Collection of LUIS App Ids", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "luisKey": { - "description": "The LUIS Key", - "type": "string" - }, - "msaAppId": { - "description": "Microsoft App Id for the bot", - "type": "string" - } - }, - "required": [ - "displayName", - "endpoint", - "msaAppId" - ], - "type": "object" - }, - "Channel": { - "description": "Channel definition", - "oneOf": [ - { - "description": "Alexa channel definition", - "properties": { - "channelName": { - "enum": [ - "AlexaChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Alexa channel resource", - "oneOf": [ - { - "$ref": "#/definitions/AlexaChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Direct Line channel definition", - "properties": { - "channelName": { - "enum": [ - "DirectLineChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Direct Line channel resource", - "oneOf": [ - { - "$ref": "#/definitions/DirectLineChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "DirectLine Speech channel definition", - "properties": { - "channelName": { - "enum": [ - "DirectLineSpeechChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to DirectLine Speech channel resource", - "oneOf": [ - { - "$ref": "#/definitions/DirectLineSpeechChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Email channel definition", - "properties": { - "channelName": { - "enum": [ - "EmailChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to email channel resource", - "oneOf": [ - { - "$ref": "#/definitions/EmailChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Facebook channel definition", - "properties": { - "channelName": { - "enum": [ - "FacebookChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to bot facebook channel", - "oneOf": [ - { - "$ref": "#/definitions/FacebookChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Kik channel definition", - "properties": { - "channelName": { - "enum": [ - "KikChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Kik channel resource", - "oneOf": [ - { - "$ref": "#/definitions/KikChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Line channel definition", - "properties": { - "channelName": { - "enum": [ - "LineChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to line channel resource", - "oneOf": [ - { - "$ref": "#/definitions/LineChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Microsoft Teams channel definition", - "properties": { - "channelName": { - "enum": [ - "MsTeamsChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Microsoft Teams channel resource", - "oneOf": [ - { - "$ref": "#/definitions/MsTeamsChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Skype channel definition", - "properties": { - "channelName": { - "enum": [ - "SkypeChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Skype channel resource", - "oneOf": [ - { - "$ref": "#/definitions/SkypeChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Slack channel definition", - "properties": { - "channelName": { - "enum": [ - "SlackChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Slack channel resource", - "oneOf": [ - { - "$ref": "#/definitions/SlackChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Sms channel definition", - "properties": { - "channelName": { - "enum": [ - "SmsChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Sms channel resource", - "oneOf": [ - { - "$ref": "#/definitions/SmsChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Telegram channel definition", - "properties": { - "channelName": { - "enum": [ - "TelegramChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Telegram channel resource", - "oneOf": [ - { - "$ref": "#/definitions/TelegramChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Web Chat channel definition", - "properties": { - "channelName": { - "enum": [ - "WebChatChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Web Chat channel resource", - "oneOf": [ - { - "$ref": "#/definitions/WebChatChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - } - ], - "properties": {}, - "type": "object" - }, - "ConnectionSettingParameter": { - "description": "Extra Parameter in a Connection Setting Properties to indicate service provider specific properties", - "properties": { - "key": { - "description": "Key for the Connection Setting Parameter.", - "type": "string" - }, - "value": { - "description": "Value associated with the Connection Setting Parameter.", - "type": "string" - } - }, - "type": "object" - }, - "ConnectionSettingProperties": { - "description": "Properties for a Connection Setting Item", - "properties": { - "clientId": { - "description": "Client Id associated with the Connection Setting.", - "type": "string" - }, - "clientSecret": { - "description": "Client Secret associated with the Connection Setting", - "type": "string" - }, - "parameters": { - "description": "Service Provider Parameters associated with the Connection Setting", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ConnectionSettingParameter" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "scopes": { - "description": "Scopes associated with the Connection Setting", - "type": "string" - }, - "serviceProviderDisplayName": { - "description": "Service Provider Display Name associated with the Connection Setting", - "type": "string" - }, - "serviceProviderId": { - "description": "Service Provider Id associated with the Connection Setting", - "type": "string" - } - }, - "type": "object" - }, - "DirectLineChannelProperties": { - "description": "The parameters to provide for the Direct Line channel.", - "properties": { - "sites": { - "description": "The list of Direct Line sites", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/DirectLineSite" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "DirectLineSite": { - "description": "A site for the Direct Line channel", - "properties": { - "isEnabled": { - "description": "Whether this site is enabled for DirectLine channel.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isSecureSiteEnabled": { - "description": "Whether this site is enabled for authentication with Bot Framework.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isV1Enabled": { - "description": "Whether this site is enabled for Bot Framework V1 protocol.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isV3Enabled": { - "description": "Whether this site is enabled for Bot Framework V1 protocol.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "siteName": { - "description": "Site name", - "type": "string" - }, - "trustedOrigins": { - "description": "List of Trusted Origin URLs for this site. This field is applicable only if isSecureSiteEnabled is True.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "siteName", - "isEnabled", - "isV1Enabled", - "isV3Enabled" - ], - "type": "object" - }, - "DirectLineSpeechChannelProperties": { - "description": "The parameters to provide for the DirectLine Speech channel.", - "properties": { - "cognitiveServicesSubscriptionId": { - "description": "The cognitive service subscription ID to use with this channel registration.", - "type": "string" - }, - "customSpeechModelId": { - "description": "Custom voice deployment id (optional).", - "type": "string" - }, - "customVoiceDeploymentId": { - "description": "Custom speech model id (optional).", - "type": "string" - }, - "isDefaultBotForCogSvcAccount": { - "description": "Make this a default bot for chosen cognitive service account.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEnabled": { - "description": "Whether this channel is enabled or not.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "cognitiveServicesSubscriptionId" - ], - "type": "object" - }, - "EmailChannelProperties": { - "description": "The parameters to provide for the Email channel.", - "properties": { - "emailAddress": { - "description": "The email address", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "password": { - "description": "The password for the email address. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - } - }, - "required": [ - "emailAddress", - "isEnabled" - ], - "type": "object" - }, - "FacebookChannelProperties": { - "description": "The parameters to provide for the Facebook channel.", - "properties": { - "appId": { - "description": "Facebook application id", - "type": "string" - }, - "appSecret": { - "description": "Facebook application secret. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "pages": { - "description": "The list of Facebook pages", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/FacebookPage" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "appId", - "isEnabled" - ], - "type": "object" - }, - "FacebookPage": { - "description": "A Facebook page for Facebook channel registration", - "properties": { - "accessToken": { - "description": "Facebook application access token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "id": { - "description": "Page id", - "type": "string" - } - }, - "required": [ - "id" - ], - "type": "object" - }, - "KikChannelProperties": { - "description": "The parameters to provide for the Kik channel.", - "properties": { - "apiKey": { - "description": "Kik API key. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isValidated": { - "description": "Whether this channel is validated for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userName": { - "description": "The Kik user name", - "type": "string" - } - }, - "required": [ - "userName", - "isEnabled" - ], - "type": "object" - }, - "LineChannelProperties": { - "description": "The parameters to provide for the Line channel.", - "properties": { - "lineRegistrations": { - "description": "The list of line channel registrations", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/LineRegistration" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "lineRegistrations" - ], - "type": "object" - }, - "LineRegistration": { - "description": "The properties corresponding to a line channel registration", - "properties": { - "channelAccessToken": { - "description": "Access token for the line channel registration", - "type": "string" - }, - "channelSecret": { - "description": "Secret for the line channel registration", - "type": "string" - } - }, - "type": "object" - }, - "MsTeamsChannelProperties": { - "description": "The parameters to provide for the Microsoft Teams channel.", - "properties": { - "callingWebHook": { - "description": "Webhook for Microsoft Teams channel calls", - "type": "string" - }, - "enableCalling": { - "description": "Enable calling for Microsoft Teams channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "Sku": { - "description": "The SKU of the cognitive services account.", - "properties": { - "name": { - "description": "The sku name", - "oneOf": [ - { - "enum": [ - "F0", - "S1" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "SkypeChannelProperties": { - "description": "The parameters to provide for the Microsoft Teams channel.", - "properties": { - "callingWebHook": { - "description": "Calling web hook for Skype channel", - "type": "string" - }, - "enableCalling": { - "description": "Enable calling for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableGroups": { - "description": "Enable groups for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableMediaCards": { - "description": "Enable media cards for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableMessaging": { - "description": "Enable messaging for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableScreenSharing": { - "description": "Enable screen sharing for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableVideo": { - "description": "Enable video for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "groupsMode": { - "description": "Group mode for Skype channel", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "SlackChannelProperties": { - "description": "The parameters to provide for the Slack channel.", - "properties": { - "clientId": { - "description": "The Slack client id", - "type": "string" - }, - "clientSecret": { - "description": "The Slack client secret. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "landingPageUrl": { - "description": "The Slack landing page Url", - "type": "string" - }, - "signingSecret": { - "description": "The Slack signing secret.", - "type": "string" - }, - "verificationToken": { - "description": "The Slack verification token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "SmsChannelProperties": { - "description": "The parameters to provide for the Sms channel.", - "properties": { - "accountSID": { - "description": "The Sms account SID. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "authToken": { - "description": "The Sms auth token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isValidated": { - "description": "Whether this channel is validated for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "phone": { - "description": "The Sms phone", - "type": "string" - } - }, - "required": [ - "phone", - "accountSID", - "isEnabled" - ], - "type": "object" - }, - "TelegramChannelProperties": { - "description": "The parameters to provide for the Telegram channel.", - "properties": { - "accessToken": { - "description": "The Telegram access token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isValidated": { - "description": "Whether this channel is validated for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "WebChatChannelProperties": { - "description": "The parameters to provide for the Web Chat channel.", - "properties": { - "sites": { - "description": "The list of Web Chat sites", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/WebChatSite" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "WebChatSite": { - "description": "A site for the Webchat channel", - "properties": { - "enablePreview": { - "description": "Whether this site is enabled for preview versions of Webchat", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEnabled": { - "description": "Whether this site is enabled for DirectLine channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "siteName": { - "description": "Site name", - "type": "string" - } - }, - "required": [ - "siteName", - "isEnabled", - "enablePreview" - ], - "type": "object" - }, - "botServices_channels_childResource": { - "description": "Microsoft.BotService/botServices/channels", - "properties": { - "apiVersion": { - "enum": [ - "2020-06-02" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Channel resource.", - "oneOf": [ - { - "enum": [ - "AlexaChannel", - "FacebookChannel", - "EmailChannel", - "KikChannel", - "TelegramChannel", - "SlackChannel", - "MsTeamsChannel", - "SkypeChannel", - "WebChatChannel", - "DirectLineChannel", - "SmsChannel", - "LineChannel", - "DirectLineSpeechChannel" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/Channel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "channels" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_connections_childResource": { - "description": "Microsoft.BotService/botServices/connections", - "properties": { - "apiVersion": { - "enum": [ - "2020-06-02" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Bot Service Connection Setting resource.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 2, - "pattern": "^[a-zA-Z0-9][\\sa-zA-Z0-9_.-]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/ConnectionSettingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "connections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2021-03-01/Microsoft.BotService.json b/schemas/2021-03-01/Microsoft.BotService.json deleted file mode 100644 index b6f03c1485..0000000000 --- a/schemas/2021-03-01/Microsoft.BotService.json +++ /dev/null @@ -1,2322 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.BotService.json#", - "title": "Microsoft.BotService", - "description": "Microsoft BotService Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "botServices": { - "description": "Microsoft.BotService/botServices", - "properties": { - "apiVersion": { - "enum": [ - "2021-03-01" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Bot resource.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 2, - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot resource", - "oneOf": [ - { - "$ref": "#/definitions/BotProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/botServices_channels_childResource" - }, - { - "$ref": "#/definitions/botServices_connections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_channels": { - "description": "Microsoft.BotService/botServices/channels", - "properties": { - "apiVersion": { - "enum": [ - "2021-03-01" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Channel resource.", - "oneOf": [ - { - "enum": [ - "AlexaChannel", - "FacebookChannel", - "EmailChannel", - "KikChannel", - "TelegramChannel", - "SlackChannel", - "MsTeamsChannel", - "SkypeChannel", - "WebChatChannel", - "DirectLineChannel", - "SmsChannel", - "LineChannel", - "DirectLineSpeechChannel", - "OutlookChannel", - "Omnichannel", - "TelephonyChannel", - "AcsChatChannel", - "SearchAssistant", - "M365Extensions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/Channel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices/channels" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_connections": { - "description": "Microsoft.BotService/botServices/connections", - "properties": { - "apiVersion": { - "enum": [ - "2021-03-01" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Bot Service Connection Setting resource.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 2, - "pattern": "^[a-zA-Z0-9][\\sa-zA-Z0-9_.-]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/ConnectionSettingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices/connections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "AlexaChannelProperties": { - "description": "The parameters to provide for the Alexa channel.", - "properties": { - "alexaSkillId": { - "description": "The Alexa skill Id", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "alexaSkillId", - "isEnabled" - ], - "type": "object" - }, - "BotProperties": { - "description": "The parameters to provide for the Bot.", - "properties": { - "allSettings": { - "description": "Contains resource all settings defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "appPasswordHint": { - "description": "The hint (e.g. keyVault secret resourceId) on how to fetch the app secret", - "type": "string" - }, - "cmekKeyVaultUrl": { - "description": "The CMK Url", - "type": "string" - }, - "description": { - "description": "The description of the bot", - "type": "string" - }, - "developerAppInsightKey": { - "description": "The Application Insights key", - "type": "string" - }, - "developerAppInsightsApiKey": { - "description": "The Application Insights Api Key", - "type": "string" - }, - "developerAppInsightsApplicationId": { - "description": "The Application Insights App Id", - "type": "string" - }, - "disableLocalAuth": { - "description": "Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "displayName": { - "description": "The Name of the bot", - "type": "string" - }, - "endpoint": { - "description": "The bot's endpoint", - "type": "string" - }, - "iconUrl": { - "description": "The Icon Url of the bot", - "type": "string" - }, - "isCmekEnabled": { - "description": "Whether Cmek is enabled", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isStreamingSupported": { - "description": "Whether the bot is streaming supported", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "luisAppIds": { - "description": "Collection of LUIS App Ids", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "luisKey": { - "description": "The LUIS Key", - "type": "string" - }, - "manifestUrl": { - "description": "The bot's manifest url", - "type": "string" - }, - "msaAppId": { - "description": "Microsoft App Id for the bot", - "type": "string" - }, - "msaAppMSIResourceId": { - "description": "Microsoft App Managed Identity Resource Id for the bot", - "type": "string" - }, - "msaAppTenantId": { - "description": "Microsoft App Tenant Id for the bot", - "type": "string" - }, - "msaAppType": { - "description": "Microsoft App Type for the bot", - "oneOf": [ - { - "enum": [ - "UserAssignedMSI", - "SingleTenant", - "MultiTenant" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "openWithHint": { - "description": "The hint to browser (e.g. protocol handler) on how to open the bot for authoring", - "type": "string" - }, - "parameters": { - "description": "Contains resource parameters defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publicNetworkAccess": { - "description": "Whether the bot is in an isolated network", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publishingCredentials": { - "description": "Publishing credentials of the resource", - "type": "string" - }, - "schemaTransformationVersion": { - "description": "The channel schema transformation version for the bot", - "type": "string" - }, - "storageResourceId": { - "description": "The storage resourceId for the bot", - "type": "string" - }, - "tenantId": { - "description": "The Tenant Id for the bot", - "type": "string" - } - }, - "required": [ - "displayName", - "endpoint", - "msaAppId" - ], - "type": "object" - }, - "Channel": { - "description": "Channel definition", - "oneOf": [ - { - "description": "AcsChat channel definition", - "properties": { - "channelName": { - "enum": [ - "AcsChatChannel" - ], - "type": "string" - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Alexa channel definition", - "properties": { - "channelName": { - "enum": [ - "AlexaChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Alexa channel resource", - "oneOf": [ - { - "$ref": "#/definitions/AlexaChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Direct Line channel definition", - "properties": { - "channelName": { - "enum": [ - "DirectLineChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Direct Line channel resource", - "oneOf": [ - { - "$ref": "#/definitions/DirectLineChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "DirectLine Speech channel definition", - "properties": { - "channelName": { - "enum": [ - "DirectLineSpeechChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to DirectLine Speech channel resource", - "oneOf": [ - { - "$ref": "#/definitions/DirectLineSpeechChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Email channel definition", - "properties": { - "channelName": { - "enum": [ - "EmailChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to email channel resource", - "oneOf": [ - { - "$ref": "#/definitions/EmailChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Facebook channel definition", - "properties": { - "channelName": { - "enum": [ - "FacebookChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to bot facebook channel", - "oneOf": [ - { - "$ref": "#/definitions/FacebookChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Kik channel definition", - "properties": { - "channelName": { - "enum": [ - "KikChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Kik channel resource", - "oneOf": [ - { - "$ref": "#/definitions/KikChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Line channel definition", - "properties": { - "channelName": { - "enum": [ - "LineChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to line channel resource", - "oneOf": [ - { - "$ref": "#/definitions/LineChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "M365 Extensions definition", - "properties": { - "channelName": { - "enum": [ - "M365Extensions" - ], - "type": "string" - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Microsoft Teams channel definition", - "properties": { - "channelName": { - "enum": [ - "MsTeamsChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Microsoft Teams channel resource", - "oneOf": [ - { - "$ref": "#/definitions/MsTeamsChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Omnichannel channel definition", - "properties": { - "channelName": { - "enum": [ - "Omnichannel" - ], - "type": "string" - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Outlook channel definition", - "properties": { - "channelName": { - "enum": [ - "OutlookChannel" - ], - "type": "string" - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "SearchAssistant definition", - "properties": { - "channelName": { - "enum": [ - "SearchAssistant" - ], - "type": "string" - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Skype channel definition", - "properties": { - "channelName": { - "enum": [ - "SkypeChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Skype channel resource", - "oneOf": [ - { - "$ref": "#/definitions/SkypeChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Slack channel definition", - "properties": { - "channelName": { - "enum": [ - "SlackChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Slack channel resource", - "oneOf": [ - { - "$ref": "#/definitions/SlackChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Sms channel definition", - "properties": { - "channelName": { - "enum": [ - "SmsChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Sms channel resource", - "oneOf": [ - { - "$ref": "#/definitions/SmsChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Telegram channel definition", - "properties": { - "channelName": { - "enum": [ - "TelegramChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Telegram channel resource", - "oneOf": [ - { - "$ref": "#/definitions/TelegramChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Telephony channel definition", - "properties": { - "channelName": { - "enum": [ - "TelephonyChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Telephony channel resource", - "oneOf": [ - { - "$ref": "#/definitions/TelephonyChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Web Chat channel definition", - "properties": { - "channelName": { - "enum": [ - "WebChatChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Web Chat channel resource", - "oneOf": [ - { - "$ref": "#/definitions/WebChatChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - } - ], - "properties": { - "etag": { - "description": "Entity Tag of the resource", - "type": "string" - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - } - }, - "type": "object" - }, - "ConnectionSettingParameter": { - "description": "Extra Parameter in a Connection Setting Properties to indicate service provider specific properties", - "properties": { - "key": { - "description": "Key for the Connection Setting Parameter.", - "type": "string" - }, - "value": { - "description": "Value associated with the Connection Setting Parameter.", - "type": "string" - } - }, - "type": "object" - }, - "ConnectionSettingProperties": { - "description": "Properties for a Connection Setting Item", - "properties": { - "clientId": { - "description": "Client Id associated with the Connection Setting.", - "type": "string" - }, - "clientSecret": { - "description": "Client Secret associated with the Connection Setting", - "type": "string" - }, - "parameters": { - "description": "Service Provider Parameters associated with the Connection Setting", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ConnectionSettingParameter" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "provisioningState": { - "description": "Provisioning state of the resource", - "type": "string" - }, - "scopes": { - "description": "Scopes associated with the Connection Setting", - "type": "string" - }, - "serviceProviderDisplayName": { - "description": "Service Provider Display Name associated with the Connection Setting", - "type": "string" - }, - "serviceProviderId": { - "description": "Service Provider Id associated with the Connection Setting", - "type": "string" - } - }, - "type": "object" - }, - "DirectLineChannelProperties": { - "description": "The parameters to provide for the Direct Line channel.", - "properties": { - "DirectLineEmbedCode": { - "description": "Direct Line embed code of the resource", - "type": "string" - }, - "extensionKey1": { - "description": "The extensionKey1", - "type": "string" - }, - "extensionKey2": { - "description": "The extensionKey2", - "type": "string" - }, - "sites": { - "description": "The list of Direct Line sites", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/DirectLineSite" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "DirectLineSite": { - "description": "A site for the Direct Line channel", - "properties": { - "appId": { - "description": "DirectLine application id", - "type": "string" - }, - "eTag": { - "description": "Entity Tag", - "type": "string" - }, - "isBlockUserUploadEnabled": { - "description": "Whether this site is enabled for block user upload.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isDetailedLoggingEnabled": { - "description": "Whether this site is disabled detailed logging for", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEnabled": { - "description": "Whether this site is enabled for DirectLine channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEndpointParametersEnabled": { - "description": "Whether this site is EndpointParameters enabled for channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isNoStorageEnabled": { - "description": "Whether this no-storage site is disabled detailed logging for", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isSecureSiteEnabled": { - "description": "Whether this site is enabled for authentication with Bot Framework.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isV1Enabled": { - "description": "Whether this site is enabled for Bot Framework V1 protocol.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isV3Enabled": { - "description": "Whether this site is enabled for Bot Framework V3 protocol.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isWebChatSpeechEnabled": { - "description": "Whether this site is enabled for Webchat Speech", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isWebchatPreviewEnabled": { - "description": "Whether this site is enabled for preview versions of Webchat", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "siteName": { - "description": "Site name", - "type": "string" - }, - "tenantId": { - "description": "Tenant Id", - "type": "string" - }, - "trustedOrigins": { - "description": "List of Trusted Origin URLs for this site. This field is applicable only if isSecureSiteEnabled is True.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "siteName", - "isEnabled" - ], - "type": "object" - }, - "DirectLineSpeechChannelProperties": { - "description": "The parameters to provide for the DirectLine Speech channel.", - "properties": { - "cognitiveServiceRegion": { - "description": "The cognitive service region with this channel registration.", - "type": "string" - }, - "cognitiveServiceResourceId": { - "description": "The cognitive service id with this channel registration.", - "type": "string" - }, - "cognitiveServiceSubscriptionKey": { - "description": "The cognitive service subscription key to use with this channel registration.", - "type": "string" - }, - "customSpeechModelId": { - "description": "Custom voice deployment id (optional).", - "type": "string" - }, - "customVoiceDeploymentId": { - "description": "Custom speech model id (optional).", - "type": "string" - }, - "isDefaultBotForCogSvcAccount": { - "description": "Make this a default bot for chosen cognitive service account.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEnabled": { - "description": "Whether this channel is enabled or not.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "EmailChannelProperties": { - "description": "The parameters to provide for the Email channel.", - "properties": { - "authMethod": { - "description": "Email channel auth method. 0 Password (Default); 1 Graph.", - "oneOf": [ - { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "emailAddress": { - "description": "The email address", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "magicCode": { - "description": "The magic code for setting up the modern authentication.", - "type": "string" - }, - "password": { - "description": "The password for the email address. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - } - }, - "required": [ - "emailAddress", - "isEnabled" - ], - "type": "object" - }, - "FacebookChannelProperties": { - "description": "The parameters to provide for the Facebook channel.", - "properties": { - "appId": { - "description": "Facebook application id", - "type": "string" - }, - "appSecret": { - "description": "Facebook application secret. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "pages": { - "description": "The list of Facebook pages", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/FacebookPage" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "appId", - "isEnabled" - ], - "type": "object" - }, - "FacebookPage": { - "description": "A Facebook page for Facebook channel registration", - "properties": { - "accessToken": { - "description": "Facebook application access token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "id": { - "description": "Page id", - "type": "string" - } - }, - "required": [ - "id" - ], - "type": "object" - }, - "KikChannelProperties": { - "description": "The parameters to provide for the Kik channel.", - "properties": { - "apiKey": { - "description": "Kik API key. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isValidated": { - "description": "Whether this channel is validated for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userName": { - "description": "The Kik user name", - "type": "string" - } - }, - "required": [ - "userName", - "isEnabled" - ], - "type": "object" - }, - "LineChannelProperties": { - "description": "The parameters to provide for the Line channel.", - "properties": { - "lineRegistrations": { - "description": "The list of line channel registrations", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/LineRegistration" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "lineRegistrations" - ], - "type": "object" - }, - "LineRegistration": { - "description": "The properties corresponding to a line channel registration", - "properties": { - "channelAccessToken": { - "description": "Access token for the line channel registration", - "type": "string" - }, - "channelSecret": { - "description": "Secret for the line channel registration", - "type": "string" - } - }, - "type": "object" - }, - "MsTeamsChannelProperties": { - "description": "The parameters to provide for the Microsoft Teams channel.", - "properties": { - "acceptedTerms": { - "description": "Whether this channel accepted terms", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "callingWebhook": { - "description": "Webhook for Microsoft Teams channel calls", - "type": "string" - }, - "deploymentEnvironment": { - "description": "Deployment environment for Microsoft Teams channel calls", - "type": "string" - }, - "enableCalling": { - "description": "Enable calling for Microsoft Teams channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "incomingCallRoute": { - "description": "Webhook for Microsoft Teams channel calls", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "Sku": { - "description": "The SKU of the cognitive services account.", - "properties": { - "name": { - "description": "The sku name", - "oneOf": [ - { - "enum": [ - "F0", - "S1" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "SkypeChannelProperties": { - "description": "The parameters to provide for the Microsoft Teams channel.", - "properties": { - "callingWebHook": { - "description": "Calling web hook for Skype channel", - "type": "string" - }, - "enableCalling": { - "description": "Enable calling for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableGroups": { - "description": "Enable groups for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableMediaCards": { - "description": "Enable media cards for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableMessaging": { - "description": "Enable messaging for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableScreenSharing": { - "description": "Enable screen sharing for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableVideo": { - "description": "Enable video for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "groupsMode": { - "description": "Group mode for Skype channel", - "type": "string" - }, - "incomingCallRoute": { - "description": "Incoming call route for Skype channel", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "SlackChannelProperties": { - "description": "The parameters to provide for the Slack channel.", - "properties": { - "clientId": { - "description": "The Slack client id", - "type": "string" - }, - "clientSecret": { - "description": "The Slack client secret. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "landingPageUrl": { - "description": "The Slack landing page Url", - "type": "string" - }, - "scopes": { - "description": "The Slack permission scopes.", - "type": "string" - }, - "signingSecret": { - "description": "The Slack signing secret.", - "type": "string" - }, - "verificationToken": { - "description": "The Slack verification token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "SmsChannelProperties": { - "description": "The parameters to provide for the Sms channel.", - "properties": { - "accountSID": { - "description": "The Sms account SID. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "authToken": { - "description": "The Sms auth token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isValidated": { - "description": "Whether this channel is validated for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "phone": { - "description": "The Sms phone", - "type": "string" - } - }, - "required": [ - "phone", - "accountSID", - "isEnabled" - ], - "type": "object" - }, - "TelegramChannelProperties": { - "description": "The parameters to provide for the Telegram channel.", - "properties": { - "accessToken": { - "description": "The Telegram access token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isValidated": { - "description": "Whether this channel is validated for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "TelephonyChannelProperties": { - "description": "The parameters to provide for the Direct Line channel.", - "properties": { - "apiConfigurations": { - "description": "The list of Telephony api configuration", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/TelephonyChannelResourceApiConfiguration" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "cognitiveServiceRegion": { - "description": "The extensionKey2", - "type": "string" - }, - "cognitiveServiceSubscriptionKey": { - "description": "The extensionKey1", - "type": "string" - }, - "defaultLocale": { - "description": "The default locale of the channel", - "type": "string" - }, - "isEnabled": { - "description": "Whether the channel is enabled", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "phoneNumbers": { - "description": "The list of Telephony phone numbers", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/TelephonyPhoneNumbers" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "premiumSKU": { - "description": "The premium SKU applied to the channel", - "type": "string" - } - }, - "type": "object" - }, - "TelephonyChannelResourceApiConfiguration": { - "description": "A resource Api configuration for the Telephony channel", - "properties": { - "cognitiveServiceRegion": { - "description": "The cognitive service region.", - "type": "string" - }, - "cognitiveServiceResourceId": { - "description": "The cognitive service resourceId.", - "type": "string" - }, - "cognitiveServiceSubscriptionKey": { - "description": "The cognitive service subscription key.", - "type": "string" - }, - "defaultLocale": { - "description": "The default locale.", - "type": "string" - }, - "id": { - "description": "The id of config.", - "type": "string" - }, - "providerName": { - "description": "The provider name.", - "type": "string" - } - }, - "type": "object" - }, - "TelephonyPhoneNumbers": { - "description": "A telephone number for the Telephony channel", - "properties": { - "acsEndpoint": { - "description": "The endpoint of ACS.", - "type": "string" - }, - "acsResourceId": { - "description": "The resource id of ACS.", - "type": "string" - }, - "acsSecret": { - "description": "The secret of ACS.", - "type": "string" - }, - "cognitiveServiceRegion": { - "description": "The service region of cognitive service.", - "type": "string" - }, - "cognitiveServiceResourceId": { - "description": "The resource id of cognitive service.", - "type": "string" - }, - "cognitiveServiceSubscriptionKey": { - "description": "The subscription key of cognitive service.", - "type": "string" - }, - "defaultLocale": { - "description": "The default locale of the phone number.", - "type": "string" - }, - "id": { - "description": "The element id.", - "type": "string" - }, - "offerType": { - "description": "Optional Property that will determine the offering type of the phone.", - "type": "string" - }, - "phoneNumber": { - "description": "The phone number.", - "type": "string" - } - }, - "type": "object" - }, - "WebChatChannelProperties": { - "description": "The parameters to provide for the Web Chat channel.", - "properties": { - "sites": { - "description": "The list of Web Chat sites", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/WebChatSite" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "WebChatSite": { - "description": "A site for the Webchat channel", - "properties": { - "appId": { - "description": "DirectLine application id", - "type": "string" - }, - "eTag": { - "description": "Entity Tag", - "type": "string" - }, - "isBlockUserUploadEnabled": { - "description": "Whether this site is enabled for block user upload.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isDetailedLoggingEnabled": { - "description": "Whether this site is disabled detailed logging for", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEnabled": { - "description": "Whether this site is enabled for DirectLine channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEndpointParametersEnabled": { - "description": "Whether this site is EndpointParameters enabled for channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isNoStorageEnabled": { - "description": "Whether this no-storage site is disabled detailed logging for", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isSecureSiteEnabled": { - "description": "Whether this site is enabled for authentication with Bot Framework.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isV1Enabled": { - "description": "Whether this site is enabled for Bot Framework V1 protocol.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isV3Enabled": { - "description": "Whether this site is enabled for Bot Framework V3 protocol.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isWebChatSpeechEnabled": { - "description": "Whether this site is enabled for Webchat Speech", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isWebchatPreviewEnabled": { - "description": "Whether this site is enabled for preview versions of Webchat", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "siteName": { - "description": "Site name", - "type": "string" - }, - "tenantId": { - "description": "Tenant Id", - "type": "string" - }, - "trustedOrigins": { - "description": "List of Trusted Origin URLs for this site. This field is applicable only if isSecureSiteEnabled is True.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "siteName", - "isEnabled" - ], - "type": "object" - }, - "botServices_channels_childResource": { - "description": "Microsoft.BotService/botServices/channels", - "properties": { - "apiVersion": { - "enum": [ - "2021-03-01" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Channel resource.", - "oneOf": [ - { - "enum": [ - "AlexaChannel", - "FacebookChannel", - "EmailChannel", - "KikChannel", - "TelegramChannel", - "SlackChannel", - "MsTeamsChannel", - "SkypeChannel", - "WebChatChannel", - "DirectLineChannel", - "SmsChannel", - "LineChannel", - "DirectLineSpeechChannel", - "OutlookChannel", - "Omnichannel", - "TelephonyChannel", - "AcsChatChannel", - "SearchAssistant", - "M365Extensions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/Channel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "channels" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_connections_childResource": { - "description": "Microsoft.BotService/botServices/connections", - "properties": { - "apiVersion": { - "enum": [ - "2021-03-01" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Bot Service Connection Setting resource.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 2, - "pattern": "^[a-zA-Z0-9][\\sa-zA-Z0-9_.-]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/ConnectionSettingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "connections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2021-05-01-preview/Microsoft.BotService.json b/schemas/2021-05-01-preview/Microsoft.BotService.json deleted file mode 100644 index ecd3b2ab3a..0000000000 --- a/schemas/2021-05-01-preview/Microsoft.BotService.json +++ /dev/null @@ -1,2491 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-05-01-preview/Microsoft.BotService.json#", - "title": "Microsoft.BotService", - "description": "Microsoft BotService Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "botServices": { - "description": "Microsoft.BotService/botServices", - "properties": { - "apiVersion": { - "enum": [ - "2021-05-01-preview" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag.", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Bot resource.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 2, - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot resource", - "oneOf": [ - { - "$ref": "#/definitions/BotProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/botServices_channels_childResource" - }, - { - "$ref": "#/definitions/botServices_connections_childResource" - }, - { - "$ref": "#/definitions/botServices_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_channels": { - "description": "Microsoft.BotService/botServices/channels", - "properties": { - "apiVersion": { - "enum": [ - "2021-05-01-preview" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag.", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Channel resource.", - "oneOf": [ - { - "enum": [ - "AlexaChannel", - "FacebookChannel", - "EmailChannel", - "KikChannel", - "TelegramChannel", - "SlackChannel", - "MsTeamsChannel", - "SkypeChannel", - "WebChatChannel", - "DirectLineChannel", - "SmsChannel", - "LineChannel", - "DirectLineSpeechChannel", - "OutlookChannel", - "Omnichannel", - "TelephonyChannel", - "AcsChatChannel", - "SearchAssistant", - "M365Extensions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/Channel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices/channels" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_connections": { - "description": "Microsoft.BotService/botServices/connections", - "properties": { - "apiVersion": { - "enum": [ - "2021-05-01-preview" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag.", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Bot Service Connection Setting resource.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 2, - "pattern": "^[a-zA-Z0-9][\\sa-zA-Z0-9_.-]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/ConnectionSettingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices/connections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_privateEndpointConnections": { - "description": "Microsoft.BotService/botServices/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2021-05-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "AlexaChannelProperties": { - "description": "The parameters to provide for the Alexa channel.", - "properties": { - "alexaSkillId": { - "description": "The Alexa skill Id", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "alexaSkillId", - "isEnabled" - ], - "type": "object" - }, - "BotProperties": { - "description": "The parameters to provide for the Bot.", - "properties": { - "allSettings": { - "description": "Contains resource all settings defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "appPasswordHint": { - "description": "The hint (e.g. keyVault secret resourceId) on how to fetch the app secret", - "type": "string" - }, - "cmekKeyVaultUrl": { - "description": "The CMK Url", - "type": "string" - }, - "description": { - "description": "The description of the bot", - "type": "string" - }, - "developerAppInsightKey": { - "description": "The Application Insights key", - "type": "string" - }, - "developerAppInsightsApiKey": { - "description": "The Application Insights Api Key", - "type": "string" - }, - "developerAppInsightsApplicationId": { - "description": "The Application Insights App Id", - "type": "string" - }, - "disableLocalAuth": { - "description": "Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "displayName": { - "description": "The Name of the bot", - "type": "string" - }, - "endpoint": { - "description": "The bot's endpoint", - "type": "string" - }, - "iconUrl": { - "description": "The Icon Url of the bot", - "type": "string" - }, - "isCmekEnabled": { - "description": "Whether Cmek is enabled", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isStreamingSupported": { - "description": "Whether the bot is streaming supported", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "luisAppIds": { - "description": "Collection of LUIS App Ids", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "luisKey": { - "description": "The LUIS Key", - "type": "string" - }, - "manifestUrl": { - "description": "The bot's manifest url", - "type": "string" - }, - "msaAppId": { - "description": "Microsoft App Id for the bot", - "type": "string" - }, - "msaAppMSIResourceId": { - "description": "Microsoft App Managed Identity Resource Id for the bot", - "type": "string" - }, - "msaAppTenantId": { - "description": "Microsoft App Tenant Id for the bot", - "type": "string" - }, - "msaAppType": { - "description": "Microsoft App Type for the bot", - "oneOf": [ - { - "enum": [ - "UserAssignedMSI", - "SingleTenant", - "MultiTenant" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "openWithHint": { - "description": "The hint to browser (e.g. protocol handler) on how to open the bot for authoring", - "type": "string" - }, - "parameters": { - "description": "Contains resource parameters defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publicNetworkAccess": { - "description": "Whether the bot is in an isolated network", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publishingCredentials": { - "description": "Publishing credentials of the resource", - "type": "string" - }, - "schemaTransformationVersion": { - "description": "The channel schema transformation version for the bot", - "type": "string" - }, - "storageResourceId": { - "description": "The storage resourceId for the bot", - "type": "string" - }, - "tenantId": { - "description": "The Tenant Id for the bot", - "type": "string" - } - }, - "required": [ - "displayName", - "endpoint", - "msaAppId" - ], - "type": "object" - }, - "Channel": { - "description": "Channel definition", - "oneOf": [ - { - "description": "AcsChat channel definition", - "properties": { - "channelName": { - "enum": [ - "AcsChatChannel" - ], - "type": "string" - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Alexa channel definition", - "properties": { - "channelName": { - "enum": [ - "AlexaChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Alexa channel resource", - "oneOf": [ - { - "$ref": "#/definitions/AlexaChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Direct Line channel definition", - "properties": { - "channelName": { - "enum": [ - "DirectLineChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Direct Line channel resource", - "oneOf": [ - { - "$ref": "#/definitions/DirectLineChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "DirectLine Speech channel definition", - "properties": { - "channelName": { - "enum": [ - "DirectLineSpeechChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to DirectLine Speech channel resource", - "oneOf": [ - { - "$ref": "#/definitions/DirectLineSpeechChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Email channel definition", - "properties": { - "channelName": { - "enum": [ - "EmailChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to email channel resource", - "oneOf": [ - { - "$ref": "#/definitions/EmailChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Facebook channel definition", - "properties": { - "channelName": { - "enum": [ - "FacebookChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to bot facebook channel", - "oneOf": [ - { - "$ref": "#/definitions/FacebookChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Kik channel definition", - "properties": { - "channelName": { - "enum": [ - "KikChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Kik channel resource", - "oneOf": [ - { - "$ref": "#/definitions/KikChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Line channel definition", - "properties": { - "channelName": { - "enum": [ - "LineChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to line channel resource", - "oneOf": [ - { - "$ref": "#/definitions/LineChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "M365 Extensions definition", - "properties": { - "channelName": { - "enum": [ - "M365Extensions" - ], - "type": "string" - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Microsoft Teams channel definition", - "properties": { - "channelName": { - "enum": [ - "MsTeamsChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Microsoft Teams channel resource", - "oneOf": [ - { - "$ref": "#/definitions/MsTeamsChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Omnichannel channel definition", - "properties": { - "channelName": { - "enum": [ - "Omnichannel" - ], - "type": "string" - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Outlook channel definition", - "properties": { - "channelName": { - "enum": [ - "OutlookChannel" - ], - "type": "string" - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "SearchAssistant definition", - "properties": { - "channelName": { - "enum": [ - "SearchAssistant" - ], - "type": "string" - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Skype channel definition", - "properties": { - "channelName": { - "enum": [ - "SkypeChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Skype channel resource", - "oneOf": [ - { - "$ref": "#/definitions/SkypeChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Slack channel definition", - "properties": { - "channelName": { - "enum": [ - "SlackChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Slack channel resource", - "oneOf": [ - { - "$ref": "#/definitions/SlackChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Sms channel definition", - "properties": { - "channelName": { - "enum": [ - "SmsChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Sms channel resource", - "oneOf": [ - { - "$ref": "#/definitions/SmsChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Telegram channel definition", - "properties": { - "channelName": { - "enum": [ - "TelegramChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Telegram channel resource", - "oneOf": [ - { - "$ref": "#/definitions/TelegramChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Telephony channel definition", - "properties": { - "channelName": { - "enum": [ - "TelephonyChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Telephony channel resource", - "oneOf": [ - { - "$ref": "#/definitions/TelephonyChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Web Chat channel definition", - "properties": { - "channelName": { - "enum": [ - "WebChatChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Web Chat channel resource", - "oneOf": [ - { - "$ref": "#/definitions/WebChatChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - } - ], - "properties": { - "etag": { - "description": "Entity Tag of the resource", - "type": "string" - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - } - }, - "type": "object" - }, - "ConnectionSettingParameter": { - "description": "Extra Parameter in a Connection Setting Properties to indicate service provider specific properties", - "properties": { - "key": { - "description": "Key for the Connection Setting Parameter.", - "type": "string" - }, - "value": { - "description": "Value associated with the Connection Setting Parameter.", - "type": "string" - } - }, - "type": "object" - }, - "ConnectionSettingProperties": { - "description": "Properties for a Connection Setting Item", - "properties": { - "clientId": { - "description": "Client Id associated with the Connection Setting.", - "type": "string" - }, - "clientSecret": { - "description": "Client Secret associated with the Connection Setting", - "type": "string" - }, - "id": { - "description": "Id of the Connection Setting.", - "type": "string" - }, - "name": { - "description": "Name of the Connection Setting.", - "type": "string" - }, - "parameters": { - "description": "Service Provider Parameters associated with the Connection Setting", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ConnectionSettingParameter" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "provisioningState": { - "description": "Provisioning state of the resource", - "type": "string" - }, - "scopes": { - "description": "Scopes associated with the Connection Setting", - "type": "string" - }, - "serviceProviderDisplayName": { - "description": "Service Provider Display Name associated with the Connection Setting", - "type": "string" - }, - "serviceProviderId": { - "description": "Service Provider Id associated with the Connection Setting", - "type": "string" - } - }, - "type": "object" - }, - "DirectLineChannelProperties": { - "description": "The parameters to provide for the Direct Line channel.", - "properties": { - "DirectLineEmbedCode": { - "description": "Direct Line embed code of the resource", - "type": "string" - }, - "extensionKey1": { - "description": "The extensionKey1", - "type": "string" - }, - "extensionKey2": { - "description": "The extensionKey2", - "type": "string" - }, - "sites": { - "description": "The list of Direct Line sites", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/DirectLineSite" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "DirectLineSite": { - "description": "A site for the Direct Line channel", - "properties": { - "appId": { - "description": "DirectLine application id", - "type": "string" - }, - "eTag": { - "description": "Entity Tag", - "type": "string" - }, - "isBlockUserUploadEnabled": { - "description": "Whether this site is enabled for block user upload.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isDetailedLoggingEnabled": { - "description": "Whether this site is disabled detailed logging for", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEnabled": { - "description": "Whether this site is enabled for DirectLine channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEndpointParametersEnabled": { - "description": "Whether this site is EndpointParameters enabled for channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isNoStorageEnabled": { - "description": "Whether this no-storage site is disabled detailed logging for", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isSecureSiteEnabled": { - "description": "Whether this site is enabled for authentication with Bot Framework.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isV1Enabled": { - "description": "Whether this site is enabled for Bot Framework V1 protocol.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isV3Enabled": { - "description": "Whether this site is enabled for Bot Framework V3 protocol.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isWebChatSpeechEnabled": { - "description": "Whether this site is enabled for Webchat Speech", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isWebchatPreviewEnabled": { - "description": "Whether this site is enabled for preview versions of Webchat", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "siteName": { - "description": "Site name", - "type": "string" - }, - "tenantId": { - "description": "Tenant Id", - "type": "string" - }, - "trustedOrigins": { - "description": "List of Trusted Origin URLs for this site. This field is applicable only if isSecureSiteEnabled is True.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "siteName", - "isEnabled" - ], - "type": "object" - }, - "DirectLineSpeechChannelProperties": { - "description": "The parameters to provide for the DirectLine Speech channel.", - "properties": { - "cognitiveServiceRegion": { - "description": "The cognitive service region with this channel registration.", - "type": "string" - }, - "cognitiveServiceResourceId": { - "description": "The cognitive service id with this channel registration.", - "type": "string" - }, - "cognitiveServiceSubscriptionKey": { - "description": "The cognitive service subscription key to use with this channel registration.", - "type": "string" - }, - "customSpeechModelId": { - "description": "Custom voice deployment id (optional).", - "type": "string" - }, - "customVoiceDeploymentId": { - "description": "Custom speech model id (optional).", - "type": "string" - }, - "isDefaultBotForCogSvcAccount": { - "description": "Make this a default bot for chosen cognitive service account.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEnabled": { - "description": "Whether this channel is enabled or not.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "EmailChannelProperties": { - "description": "The parameters to provide for the Email channel.", - "properties": { - "authMethod": { - "description": "Email channel auth method. 0 Password (Default); 1 Graph.", - "oneOf": [ - { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "emailAddress": { - "description": "The email address", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "magicCode": { - "description": "The magic code for setting up the modern authentication.", - "type": "string" - }, - "password": { - "description": "The password for the email address. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - } - }, - "required": [ - "emailAddress", - "isEnabled" - ], - "type": "object" - }, - "FacebookChannelProperties": { - "description": "The parameters to provide for the Facebook channel.", - "properties": { - "appId": { - "description": "Facebook application id", - "type": "string" - }, - "appSecret": { - "description": "Facebook application secret. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "pages": { - "description": "The list of Facebook pages", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/FacebookPage" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "appId", - "isEnabled" - ], - "type": "object" - }, - "FacebookPage": { - "description": "A Facebook page for Facebook channel registration", - "properties": { - "accessToken": { - "description": "Facebook application access token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "id": { - "description": "Page id", - "type": "string" - } - }, - "required": [ - "id" - ], - "type": "object" - }, - "KikChannelProperties": { - "description": "The parameters to provide for the Kik channel.", - "properties": { - "apiKey": { - "description": "Kik API key. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isValidated": { - "description": "Whether this channel is validated for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userName": { - "description": "The Kik user name", - "type": "string" - } - }, - "required": [ - "userName", - "isEnabled" - ], - "type": "object" - }, - "LineChannelProperties": { - "description": "The parameters to provide for the Line channel.", - "properties": { - "lineRegistrations": { - "description": "The list of line channel registrations", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/LineRegistration" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "lineRegistrations" - ], - "type": "object" - }, - "LineRegistration": { - "description": "The properties corresponding to a line channel registration", - "properties": { - "channelAccessToken": { - "description": "Access token for the line channel registration", - "type": "string" - }, - "channelSecret": { - "description": "Secret for the line channel registration", - "type": "string" - } - }, - "type": "object" - }, - "MsTeamsChannelProperties": { - "description": "The parameters to provide for the Microsoft Teams channel.", - "properties": { - "acceptedTerms": { - "description": "Whether this channel accepted terms", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "callingWebhook": { - "description": "Webhook for Microsoft Teams channel calls", - "type": "string" - }, - "deploymentEnvironment": { - "description": "Deployment environment for Microsoft Teams channel calls", - "type": "string" - }, - "enableCalling": { - "description": "Enable calling for Microsoft Teams channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "incomingCallRoute": { - "description": "Webhook for Microsoft Teams channel calls", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "PrivateEndpoint": { - "description": "The Private Endpoint resource.", - "properties": {}, - "type": "object" - }, - "PrivateEndpointConnectionProperties": { - "description": "Properties of the PrivateEndpointConnectProperties.", - "properties": { - "groupIds": { - "description": "Group ids", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateEndpoint": { - "description": "The resource of private end point.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "type": "object" - }, - "PrivateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "properties": { - "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "type": "string" - }, - "description": { - "description": "The reason for approval/rejection of the connection.", - "type": "string" - }, - "status": { - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.", - "oneOf": [ - { - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "Sku": { - "description": "The SKU of the cognitive services account.", - "properties": { - "name": { - "description": "The sku name", - "oneOf": [ - { - "enum": [ - "F0", - "S1" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "SkypeChannelProperties": { - "description": "The parameters to provide for the Microsoft Teams channel.", - "properties": { - "callingWebHook": { - "description": "Calling web hook for Skype channel", - "type": "string" - }, - "enableCalling": { - "description": "Enable calling for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableGroups": { - "description": "Enable groups for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableMediaCards": { - "description": "Enable media cards for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableMessaging": { - "description": "Enable messaging for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableScreenSharing": { - "description": "Enable screen sharing for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableVideo": { - "description": "Enable video for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "groupsMode": { - "description": "Group mode for Skype channel", - "type": "string" - }, - "incomingCallRoute": { - "description": "Incoming call route for Skype channel", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "SlackChannelProperties": { - "description": "The parameters to provide for the Slack channel.", - "properties": { - "clientId": { - "description": "The Slack client id", - "type": "string" - }, - "clientSecret": { - "description": "The Slack client secret. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "landingPageUrl": { - "description": "The Slack landing page Url", - "type": "string" - }, - "scopes": { - "description": "The Slack permission scopes.", - "type": "string" - }, - "signingSecret": { - "description": "The Slack signing secret.", - "type": "string" - }, - "verificationToken": { - "description": "The Slack verification token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "SmsChannelProperties": { - "description": "The parameters to provide for the Sms channel.", - "properties": { - "accountSID": { - "description": "The Sms account SID. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "authToken": { - "description": "The Sms auth token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isValidated": { - "description": "Whether this channel is validated for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "phone": { - "description": "The Sms phone", - "type": "string" - } - }, - "required": [ - "phone", - "accountSID", - "isEnabled" - ], - "type": "object" - }, - "TelegramChannelProperties": { - "description": "The parameters to provide for the Telegram channel.", - "properties": { - "accessToken": { - "description": "The Telegram access token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isValidated": { - "description": "Whether this channel is validated for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "TelephonyChannelProperties": { - "description": "The parameters to provide for the Direct Line channel.", - "properties": { - "apiConfigurations": { - "description": "The list of Telephony api configuration", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/TelephonyChannelResourceApiConfiguration" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "cognitiveServiceRegion": { - "description": "The extensionKey2", - "type": "string" - }, - "cognitiveServiceSubscriptionKey": { - "description": "The extensionKey1", - "type": "string" - }, - "defaultLocale": { - "description": "The default locale of the channel", - "type": "string" - }, - "isEnabled": { - "description": "Whether the channel is enabled", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "phoneNumbers": { - "description": "The list of Telephony phone numbers", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/TelephonyPhoneNumbers" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "premiumSKU": { - "description": "The premium SKU applied to the channel", - "type": "string" - } - }, - "type": "object" - }, - "TelephonyChannelResourceApiConfiguration": { - "description": "A resource Api configuration for the Telephony channel", - "properties": { - "cognitiveServiceRegion": { - "description": "The cognitive service region.", - "type": "string" - }, - "cognitiveServiceResourceId": { - "description": "The cognitive service resourceId.", - "type": "string" - }, - "cognitiveServiceSubscriptionKey": { - "description": "The cognitive service subscription key.", - "type": "string" - }, - "defaultLocale": { - "description": "The default locale.", - "type": "string" - }, - "id": { - "description": "The id of config.", - "type": "string" - }, - "providerName": { - "description": "The provider name.", - "type": "string" - } - }, - "type": "object" - }, - "TelephonyPhoneNumbers": { - "description": "A telephone number for the Telephony channel", - "properties": { - "acsEndpoint": { - "description": "The endpoint of ACS.", - "type": "string" - }, - "acsResourceId": { - "description": "The resource id of ACS.", - "type": "string" - }, - "acsSecret": { - "description": "The secret of ACS.", - "type": "string" - }, - "cognitiveServiceRegion": { - "description": "The service region of cognitive service.", - "type": "string" - }, - "cognitiveServiceResourceId": { - "description": "The resource id of cognitive service.", - "type": "string" - }, - "cognitiveServiceSubscriptionKey": { - "description": "The subscription key of cognitive service.", - "type": "string" - }, - "defaultLocale": { - "description": "The default locale of the phone number.", - "type": "string" - }, - "id": { - "description": "The element id.", - "type": "string" - }, - "offerType": { - "description": "Optional Property that will determine the offering type of the phone.", - "type": "string" - }, - "phoneNumber": { - "description": "The phone number.", - "type": "string" - } - }, - "type": "object" - }, - "WebChatChannelProperties": { - "description": "The parameters to provide for the Web Chat channel.", - "properties": { - "sites": { - "description": "The list of Web Chat sites", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/WebChatSite" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "WebChatSite": { - "description": "A site for the Webchat channel", - "properties": { - "appId": { - "description": "DirectLine application id", - "type": "string" - }, - "eTag": { - "description": "Entity Tag", - "type": "string" - }, - "isBlockUserUploadEnabled": { - "description": "Whether this site is enabled for block user upload.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isDetailedLoggingEnabled": { - "description": "Whether this site is disabled detailed logging for", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEnabled": { - "description": "Whether this site is enabled for DirectLine channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEndpointParametersEnabled": { - "description": "Whether this site is EndpointParameters enabled for channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isNoStorageEnabled": { - "description": "Whether this no-storage site is disabled detailed logging for", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isSecureSiteEnabled": { - "description": "Whether this site is enabled for authentication with Bot Framework.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isV1Enabled": { - "description": "Whether this site is enabled for Bot Framework V1 protocol.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isV3Enabled": { - "description": "Whether this site is enabled for Bot Framework V3 protocol.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isWebChatSpeechEnabled": { - "description": "Whether this site is enabled for Webchat Speech", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isWebchatPreviewEnabled": { - "description": "Whether this site is enabled for preview versions of Webchat", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "siteName": { - "description": "Site name", - "type": "string" - }, - "tenantId": { - "description": "Tenant Id", - "type": "string" - }, - "trustedOrigins": { - "description": "List of Trusted Origin URLs for this site. This field is applicable only if isSecureSiteEnabled is True.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "siteName", - "isEnabled" - ], - "type": "object" - }, - "botServices_channels_childResource": { - "description": "Microsoft.BotService/botServices/channels", - "properties": { - "apiVersion": { - "enum": [ - "2021-05-01-preview" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag.", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Channel resource.", - "oneOf": [ - { - "enum": [ - "AlexaChannel", - "FacebookChannel", - "EmailChannel", - "KikChannel", - "TelegramChannel", - "SlackChannel", - "MsTeamsChannel", - "SkypeChannel", - "WebChatChannel", - "DirectLineChannel", - "SmsChannel", - "LineChannel", - "DirectLineSpeechChannel", - "OutlookChannel", - "Omnichannel", - "TelephonyChannel", - "AcsChatChannel", - "SearchAssistant", - "M365Extensions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/Channel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "channels" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_connections_childResource": { - "description": "Microsoft.BotService/botServices/connections", - "properties": { - "apiVersion": { - "enum": [ - "2021-05-01-preview" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag.", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Bot Service Connection Setting resource.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 2, - "pattern": "^[a-zA-Z0-9][\\sa-zA-Z0-9_.-]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/ConnectionSettingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "connections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_privateEndpointConnections_childResource": { - "description": "Microsoft.BotService/botServices/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2021-05-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2022-06-15-preview/Microsoft.BotService.json b/schemas/2022-06-15-preview/Microsoft.BotService.json deleted file mode 100644 index 77899788fb..0000000000 --- a/schemas/2022-06-15-preview/Microsoft.BotService.json +++ /dev/null @@ -1,2491 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-06-15-preview/Microsoft.BotService.json#", - "title": "Microsoft.BotService", - "description": "Microsoft BotService Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "botServices": { - "description": "Microsoft.BotService/botServices", - "properties": { - "apiVersion": { - "enum": [ - "2022-06-15-preview" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag.", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Bot resource.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 2, - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot resource", - "oneOf": [ - { - "$ref": "#/definitions/BotProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/botServices_channels_childResource" - }, - { - "$ref": "#/definitions/botServices_connections_childResource" - }, - { - "$ref": "#/definitions/botServices_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_channels": { - "description": "Microsoft.BotService/botServices/channels", - "properties": { - "apiVersion": { - "enum": [ - "2022-06-15-preview" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag.", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Channel resource.", - "oneOf": [ - { - "enum": [ - "AlexaChannel", - "FacebookChannel", - "EmailChannel", - "KikChannel", - "TelegramChannel", - "SlackChannel", - "MsTeamsChannel", - "SkypeChannel", - "WebChatChannel", - "DirectLineChannel", - "SmsChannel", - "LineChannel", - "DirectLineSpeechChannel", - "OutlookChannel", - "Omnichannel", - "TelephonyChannel", - "AcsChatChannel", - "SearchAssistant", - "M365Extensions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/Channel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices/channels" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_connections": { - "description": "Microsoft.BotService/botServices/connections", - "properties": { - "apiVersion": { - "enum": [ - "2022-06-15-preview" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag.", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Bot Service Connection Setting resource.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 2, - "pattern": "^[a-zA-Z0-9][\\sa-zA-Z0-9_.-]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/ConnectionSettingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices/connections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_privateEndpointConnections": { - "description": "Microsoft.BotService/botServices/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2022-06-15-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "AlexaChannelProperties": { - "description": "The parameters to provide for the Alexa channel.", - "properties": { - "alexaSkillId": { - "description": "The Alexa skill Id", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "alexaSkillId", - "isEnabled" - ], - "type": "object" - }, - "BotProperties": { - "description": "The parameters to provide for the Bot.", - "properties": { - "allSettings": { - "description": "Contains resource all settings defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "appPasswordHint": { - "description": "The hint (e.g. keyVault secret resourceId) on how to fetch the app secret", - "type": "string" - }, - "cmekKeyVaultUrl": { - "description": "The CMK Url", - "type": "string" - }, - "description": { - "description": "The description of the bot", - "type": "string" - }, - "developerAppInsightKey": { - "description": "The Application Insights key", - "type": "string" - }, - "developerAppInsightsApiKey": { - "description": "The Application Insights Api Key", - "type": "string" - }, - "developerAppInsightsApplicationId": { - "description": "The Application Insights App Id", - "type": "string" - }, - "disableLocalAuth": { - "description": "Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "displayName": { - "description": "The Name of the bot", - "type": "string" - }, - "endpoint": { - "description": "The bot's endpoint", - "type": "string" - }, - "iconUrl": { - "description": "The Icon Url of the bot", - "type": "string" - }, - "isCmekEnabled": { - "description": "Whether Cmek is enabled", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isStreamingSupported": { - "description": "Whether the bot is streaming supported", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "luisAppIds": { - "description": "Collection of LUIS App Ids", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "luisKey": { - "description": "The LUIS Key", - "type": "string" - }, - "manifestUrl": { - "description": "The bot's manifest url", - "type": "string" - }, - "msaAppId": { - "description": "Microsoft App Id for the bot", - "type": "string" - }, - "msaAppMSIResourceId": { - "description": "Microsoft App Managed Identity Resource Id for the bot", - "type": "string" - }, - "msaAppTenantId": { - "description": "Microsoft App Tenant Id for the bot", - "type": "string" - }, - "msaAppType": { - "description": "Microsoft App Type for the bot", - "oneOf": [ - { - "enum": [ - "UserAssignedMSI", - "SingleTenant", - "MultiTenant" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "openWithHint": { - "description": "The hint to browser (e.g. protocol handler) on how to open the bot for authoring", - "type": "string" - }, - "parameters": { - "description": "Contains resource parameters defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publicNetworkAccess": { - "description": "Whether the bot is in an isolated network", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publishingCredentials": { - "description": "Publishing credentials of the resource", - "type": "string" - }, - "schemaTransformationVersion": { - "description": "The channel schema transformation version for the bot", - "type": "string" - }, - "storageResourceId": { - "description": "The storage resourceId for the bot", - "type": "string" - }, - "tenantId": { - "description": "The Tenant Id for the bot", - "type": "string" - } - }, - "required": [ - "displayName", - "endpoint", - "msaAppId" - ], - "type": "object" - }, - "Channel": { - "description": "Channel definition", - "oneOf": [ - { - "description": "AcsChat channel definition", - "properties": { - "channelName": { - "enum": [ - "AcsChatChannel" - ], - "type": "string" - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Alexa channel definition", - "properties": { - "channelName": { - "enum": [ - "AlexaChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Alexa channel resource", - "oneOf": [ - { - "$ref": "#/definitions/AlexaChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Direct Line channel definition", - "properties": { - "channelName": { - "enum": [ - "DirectLineChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Direct Line channel resource", - "oneOf": [ - { - "$ref": "#/definitions/DirectLineChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "DirectLine Speech channel definition", - "properties": { - "channelName": { - "enum": [ - "DirectLineSpeechChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to DirectLine Speech channel resource", - "oneOf": [ - { - "$ref": "#/definitions/DirectLineSpeechChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Email channel definition", - "properties": { - "channelName": { - "enum": [ - "EmailChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to email channel resource", - "oneOf": [ - { - "$ref": "#/definitions/EmailChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Facebook channel definition", - "properties": { - "channelName": { - "enum": [ - "FacebookChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to bot facebook channel", - "oneOf": [ - { - "$ref": "#/definitions/FacebookChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Kik channel definition", - "properties": { - "channelName": { - "enum": [ - "KikChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Kik channel resource", - "oneOf": [ - { - "$ref": "#/definitions/KikChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Line channel definition", - "properties": { - "channelName": { - "enum": [ - "LineChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to line channel resource", - "oneOf": [ - { - "$ref": "#/definitions/LineChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "M365 Extensions definition", - "properties": { - "channelName": { - "enum": [ - "M365Extensions" - ], - "type": "string" - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Microsoft Teams channel definition", - "properties": { - "channelName": { - "enum": [ - "MsTeamsChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Microsoft Teams channel resource", - "oneOf": [ - { - "$ref": "#/definitions/MsTeamsChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Omnichannel channel definition", - "properties": { - "channelName": { - "enum": [ - "Omnichannel" - ], - "type": "string" - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Outlook channel definition", - "properties": { - "channelName": { - "enum": [ - "OutlookChannel" - ], - "type": "string" - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "SearchAssistant definition", - "properties": { - "channelName": { - "enum": [ - "SearchAssistant" - ], - "type": "string" - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Skype channel definition", - "properties": { - "channelName": { - "enum": [ - "SkypeChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Skype channel resource", - "oneOf": [ - { - "$ref": "#/definitions/SkypeChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Slack channel definition", - "properties": { - "channelName": { - "enum": [ - "SlackChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Slack channel resource", - "oneOf": [ - { - "$ref": "#/definitions/SlackChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Sms channel definition", - "properties": { - "channelName": { - "enum": [ - "SmsChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Sms channel resource", - "oneOf": [ - { - "$ref": "#/definitions/SmsChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Telegram channel definition", - "properties": { - "channelName": { - "enum": [ - "TelegramChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Telegram channel resource", - "oneOf": [ - { - "$ref": "#/definitions/TelegramChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Telephony channel definition", - "properties": { - "channelName": { - "enum": [ - "TelephonyChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Telephony channel resource", - "oneOf": [ - { - "$ref": "#/definitions/TelephonyChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Web Chat channel definition", - "properties": { - "channelName": { - "enum": [ - "WebChatChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Web Chat channel resource", - "oneOf": [ - { - "$ref": "#/definitions/WebChatChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - } - ], - "properties": { - "etag": { - "description": "Entity Tag of the resource", - "type": "string" - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - } - }, - "type": "object" - }, - "ConnectionSettingParameter": { - "description": "Extra Parameter in a Connection Setting Properties to indicate service provider specific properties", - "properties": { - "key": { - "description": "Key for the Connection Setting Parameter.", - "type": "string" - }, - "value": { - "description": "Value associated with the Connection Setting Parameter.", - "type": "string" - } - }, - "type": "object" - }, - "ConnectionSettingProperties": { - "description": "Properties for a Connection Setting Item", - "properties": { - "clientId": { - "description": "Client Id associated with the Connection Setting.", - "type": "string" - }, - "clientSecret": { - "description": "Client Secret associated with the Connection Setting", - "type": "string" - }, - "id": { - "description": "Id of the Connection Setting.", - "type": "string" - }, - "name": { - "description": "Name of the Connection Setting.", - "type": "string" - }, - "parameters": { - "description": "Service Provider Parameters associated with the Connection Setting", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ConnectionSettingParameter" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "provisioningState": { - "description": "Provisioning state of the resource", - "type": "string" - }, - "scopes": { - "description": "Scopes associated with the Connection Setting", - "type": "string" - }, - "serviceProviderDisplayName": { - "description": "Service Provider Display Name associated with the Connection Setting", - "type": "string" - }, - "serviceProviderId": { - "description": "Service Provider Id associated with the Connection Setting", - "type": "string" - } - }, - "type": "object" - }, - "DirectLineChannelProperties": { - "description": "The parameters to provide for the Direct Line channel.", - "properties": { - "DirectLineEmbedCode": { - "description": "Direct Line embed code of the resource", - "type": "string" - }, - "extensionKey1": { - "description": "The extensionKey1", - "type": "string" - }, - "extensionKey2": { - "description": "The extensionKey2", - "type": "string" - }, - "sites": { - "description": "The list of Direct Line sites", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/DirectLineSite" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "DirectLineSite": { - "description": "A site for the Direct Line channel", - "properties": { - "appId": { - "description": "DirectLine application id", - "type": "string" - }, - "eTag": { - "description": "Entity Tag", - "type": "string" - }, - "isBlockUserUploadEnabled": { - "description": "Whether this site is enabled for block user upload.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isDetailedLoggingEnabled": { - "description": "Whether this site is disabled detailed logging for", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEnabled": { - "description": "Whether this site is enabled for DirectLine channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEndpointParametersEnabled": { - "description": "Whether this site is EndpointParameters enabled for channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isNoStorageEnabled": { - "description": "Whether this no-storage site is disabled detailed logging for", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isSecureSiteEnabled": { - "description": "Whether this site is enabled for authentication with Bot Framework.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isV1Enabled": { - "description": "Whether this site is enabled for Bot Framework V1 protocol.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isV3Enabled": { - "description": "Whether this site is enabled for Bot Framework V3 protocol.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isWebChatSpeechEnabled": { - "description": "Whether this site is enabled for Webchat Speech", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isWebchatPreviewEnabled": { - "description": "Whether this site is enabled for preview versions of Webchat", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "siteName": { - "description": "Site name", - "type": "string" - }, - "tenantId": { - "description": "Tenant Id", - "type": "string" - }, - "trustedOrigins": { - "description": "List of Trusted Origin URLs for this site. This field is applicable only if isSecureSiteEnabled is True.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "siteName", - "isEnabled" - ], - "type": "object" - }, - "DirectLineSpeechChannelProperties": { - "description": "The parameters to provide for the DirectLine Speech channel.", - "properties": { - "cognitiveServiceRegion": { - "description": "The cognitive service region with this channel registration.", - "type": "string" - }, - "cognitiveServiceResourceId": { - "description": "The cognitive service id with this channel registration.", - "type": "string" - }, - "cognitiveServiceSubscriptionKey": { - "description": "The cognitive service subscription key to use with this channel registration.", - "type": "string" - }, - "customSpeechModelId": { - "description": "Custom voice deployment id (optional).", - "type": "string" - }, - "customVoiceDeploymentId": { - "description": "Custom speech model id (optional).", - "type": "string" - }, - "isDefaultBotForCogSvcAccount": { - "description": "Make this a default bot for chosen cognitive service account.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEnabled": { - "description": "Whether this channel is enabled or not.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "EmailChannelProperties": { - "description": "The parameters to provide for the Email channel.", - "properties": { - "authMethod": { - "description": "Email channel auth method. 0 Password (Default); 1 Graph.", - "oneOf": [ - { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "emailAddress": { - "description": "The email address", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "magicCode": { - "description": "The magic code for setting up the modern authentication.", - "type": "string" - }, - "password": { - "description": "The password for the email address. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - } - }, - "required": [ - "emailAddress", - "isEnabled" - ], - "type": "object" - }, - "FacebookChannelProperties": { - "description": "The parameters to provide for the Facebook channel.", - "properties": { - "appId": { - "description": "Facebook application id", - "type": "string" - }, - "appSecret": { - "description": "Facebook application secret. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "pages": { - "description": "The list of Facebook pages", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/FacebookPage" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "appId", - "isEnabled" - ], - "type": "object" - }, - "FacebookPage": { - "description": "A Facebook page for Facebook channel registration", - "properties": { - "accessToken": { - "description": "Facebook application access token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "id": { - "description": "Page id", - "type": "string" - } - }, - "required": [ - "id" - ], - "type": "object" - }, - "KikChannelProperties": { - "description": "The parameters to provide for the Kik channel.", - "properties": { - "apiKey": { - "description": "Kik API key. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isValidated": { - "description": "Whether this channel is validated for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userName": { - "description": "The Kik user name", - "type": "string" - } - }, - "required": [ - "userName", - "isEnabled" - ], - "type": "object" - }, - "LineChannelProperties": { - "description": "The parameters to provide for the Line channel.", - "properties": { - "lineRegistrations": { - "description": "The list of line channel registrations", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/LineRegistration" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "lineRegistrations" - ], - "type": "object" - }, - "LineRegistration": { - "description": "The properties corresponding to a line channel registration", - "properties": { - "channelAccessToken": { - "description": "Access token for the line channel registration", - "type": "string" - }, - "channelSecret": { - "description": "Secret for the line channel registration", - "type": "string" - } - }, - "type": "object" - }, - "MsTeamsChannelProperties": { - "description": "The parameters to provide for the Microsoft Teams channel.", - "properties": { - "acceptedTerms": { - "description": "Whether this channel accepted terms", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "callingWebhook": { - "description": "Webhook for Microsoft Teams channel calls", - "type": "string" - }, - "deploymentEnvironment": { - "description": "Deployment environment for Microsoft Teams channel calls", - "type": "string" - }, - "enableCalling": { - "description": "Enable calling for Microsoft Teams channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "incomingCallRoute": { - "description": "Webhook for Microsoft Teams channel calls", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "PrivateEndpoint": { - "description": "The Private Endpoint resource.", - "properties": {}, - "type": "object" - }, - "PrivateEndpointConnectionProperties": { - "description": "Properties of the PrivateEndpointConnectProperties.", - "properties": { - "groupIds": { - "description": "Group ids", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateEndpoint": { - "description": "The resource of private end point.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "type": "object" - }, - "PrivateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "properties": { - "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "type": "string" - }, - "description": { - "description": "The reason for approval/rejection of the connection.", - "type": "string" - }, - "status": { - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.", - "oneOf": [ - { - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "Sku": { - "description": "The SKU of the cognitive services account.", - "properties": { - "name": { - "description": "The sku name", - "oneOf": [ - { - "enum": [ - "F0", - "S1" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "SkypeChannelProperties": { - "description": "The parameters to provide for the Microsoft Teams channel.", - "properties": { - "callingWebHook": { - "description": "Calling web hook for Skype channel", - "type": "string" - }, - "enableCalling": { - "description": "Enable calling for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableGroups": { - "description": "Enable groups for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableMediaCards": { - "description": "Enable media cards for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableMessaging": { - "description": "Enable messaging for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableScreenSharing": { - "description": "Enable screen sharing for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableVideo": { - "description": "Enable video for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "groupsMode": { - "description": "Group mode for Skype channel", - "type": "string" - }, - "incomingCallRoute": { - "description": "Incoming call route for Skype channel", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "SlackChannelProperties": { - "description": "The parameters to provide for the Slack channel.", - "properties": { - "clientId": { - "description": "The Slack client id", - "type": "string" - }, - "clientSecret": { - "description": "The Slack client secret. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "landingPageUrl": { - "description": "The Slack landing page Url", - "type": "string" - }, - "scopes": { - "description": "The Slack permission scopes.", - "type": "string" - }, - "signingSecret": { - "description": "The Slack signing secret.", - "type": "string" - }, - "verificationToken": { - "description": "The Slack verification token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "SmsChannelProperties": { - "description": "The parameters to provide for the Sms channel.", - "properties": { - "accountSID": { - "description": "The Sms account SID. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "authToken": { - "description": "The Sms auth token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isValidated": { - "description": "Whether this channel is validated for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "phone": { - "description": "The Sms phone", - "type": "string" - } - }, - "required": [ - "phone", - "accountSID", - "isEnabled" - ], - "type": "object" - }, - "TelegramChannelProperties": { - "description": "The parameters to provide for the Telegram channel.", - "properties": { - "accessToken": { - "description": "The Telegram access token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isValidated": { - "description": "Whether this channel is validated for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "TelephonyChannelProperties": { - "description": "The parameters to provide for the Direct Line channel.", - "properties": { - "apiConfigurations": { - "description": "The list of Telephony api configuration", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/TelephonyChannelResourceApiConfiguration" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "cognitiveServiceRegion": { - "description": "The extensionKey2", - "type": "string" - }, - "cognitiveServiceSubscriptionKey": { - "description": "The extensionKey1", - "type": "string" - }, - "defaultLocale": { - "description": "The default locale of the channel", - "type": "string" - }, - "isEnabled": { - "description": "Whether the channel is enabled", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "phoneNumbers": { - "description": "The list of Telephony phone numbers", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/TelephonyPhoneNumbers" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "premiumSKU": { - "description": "The premium SKU applied to the channel", - "type": "string" - } - }, - "type": "object" - }, - "TelephonyChannelResourceApiConfiguration": { - "description": "A resource Api configuration for the Telephony channel", - "properties": { - "cognitiveServiceRegion": { - "description": "The cognitive service region.", - "type": "string" - }, - "cognitiveServiceResourceId": { - "description": "The cognitive service resourceId.", - "type": "string" - }, - "cognitiveServiceSubscriptionKey": { - "description": "The cognitive service subscription key.", - "type": "string" - }, - "defaultLocale": { - "description": "The default locale.", - "type": "string" - }, - "id": { - "description": "The id of config.", - "type": "string" - }, - "providerName": { - "description": "The provider name.", - "type": "string" - } - }, - "type": "object" - }, - "TelephonyPhoneNumbers": { - "description": "A telephone number for the Telephony channel", - "properties": { - "acsEndpoint": { - "description": "The endpoint of ACS.", - "type": "string" - }, - "acsResourceId": { - "description": "The resource id of ACS.", - "type": "string" - }, - "acsSecret": { - "description": "The secret of ACS.", - "type": "string" - }, - "cognitiveServiceRegion": { - "description": "The service region of cognitive service.", - "type": "string" - }, - "cognitiveServiceResourceId": { - "description": "The resource id of cognitive service.", - "type": "string" - }, - "cognitiveServiceSubscriptionKey": { - "description": "The subscription key of cognitive service.", - "type": "string" - }, - "defaultLocale": { - "description": "The default locale of the phone number.", - "type": "string" - }, - "id": { - "description": "The element id.", - "type": "string" - }, - "offerType": { - "description": "Optional Property that will determine the offering type of the phone.", - "type": "string" - }, - "phoneNumber": { - "description": "The phone number.", - "type": "string" - } - }, - "type": "object" - }, - "WebChatChannelProperties": { - "description": "The parameters to provide for the Web Chat channel.", - "properties": { - "sites": { - "description": "The list of Web Chat sites", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/WebChatSite" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "WebChatSite": { - "description": "A site for the Webchat channel", - "properties": { - "appId": { - "description": "DirectLine application id", - "type": "string" - }, - "eTag": { - "description": "Entity Tag", - "type": "string" - }, - "isBlockUserUploadEnabled": { - "description": "Whether this site is enabled for block user upload.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isDetailedLoggingEnabled": { - "description": "Whether this site is disabled detailed logging for", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEnabled": { - "description": "Whether this site is enabled for DirectLine channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEndpointParametersEnabled": { - "description": "Whether this site is EndpointParameters enabled for channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isNoStorageEnabled": { - "description": "Whether this no-storage site is disabled detailed logging for", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isSecureSiteEnabled": { - "description": "Whether this site is enabled for authentication with Bot Framework.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isV1Enabled": { - "description": "Whether this site is enabled for Bot Framework V1 protocol.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isV3Enabled": { - "description": "Whether this site is enabled for Bot Framework V3 protocol.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isWebChatSpeechEnabled": { - "description": "Whether this site is enabled for Webchat Speech", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isWebchatPreviewEnabled": { - "description": "Whether this site is enabled for preview versions of Webchat", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "siteName": { - "description": "Site name", - "type": "string" - }, - "tenantId": { - "description": "Tenant Id", - "type": "string" - }, - "trustedOrigins": { - "description": "List of Trusted Origin URLs for this site. This field is applicable only if isSecureSiteEnabled is True.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "siteName", - "isEnabled" - ], - "type": "object" - }, - "botServices_channels_childResource": { - "description": "Microsoft.BotService/botServices/channels", - "properties": { - "apiVersion": { - "enum": [ - "2022-06-15-preview" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag.", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Channel resource.", - "oneOf": [ - { - "enum": [ - "AlexaChannel", - "FacebookChannel", - "EmailChannel", - "KikChannel", - "TelegramChannel", - "SlackChannel", - "MsTeamsChannel", - "SkypeChannel", - "WebChatChannel", - "DirectLineChannel", - "SmsChannel", - "LineChannel", - "DirectLineSpeechChannel", - "OutlookChannel", - "Omnichannel", - "TelephonyChannel", - "AcsChatChannel", - "SearchAssistant", - "M365Extensions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/Channel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "channels" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_connections_childResource": { - "description": "Microsoft.BotService/botServices/connections", - "properties": { - "apiVersion": { - "enum": [ - "2022-06-15-preview" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag.", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Bot Service Connection Setting resource.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 2, - "pattern": "^[a-zA-Z0-9][\\sa-zA-Z0-9_.-]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/ConnectionSettingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "connections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_privateEndpointConnections_childResource": { - "description": "Microsoft.BotService/botServices/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2022-06-15-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2022-09-15/Microsoft.BotService.json b/schemas/2022-09-15/Microsoft.BotService.json deleted file mode 100644 index 41fc8569ac..0000000000 --- a/schemas/2022-09-15/Microsoft.BotService.json +++ /dev/null @@ -1,2502 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-09-15/Microsoft.BotService.json#", - "title": "Microsoft.BotService", - "description": "Microsoft BotService Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "botServices": { - "description": "Microsoft.BotService/botServices", - "properties": { - "apiVersion": { - "enum": [ - "2022-09-15" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag.", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Bot resource.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 2, - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot resource", - "oneOf": [ - { - "$ref": "#/definitions/BotProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/botServices_channels_childResource" - }, - { - "$ref": "#/definitions/botServices_connections_childResource" - }, - { - "$ref": "#/definitions/botServices_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_channels": { - "description": "Microsoft.BotService/botServices/channels", - "properties": { - "apiVersion": { - "enum": [ - "2022-09-15" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag.", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Channel resource.", - "oneOf": [ - { - "enum": [ - "AlexaChannel", - "FacebookChannel", - "EmailChannel", - "KikChannel", - "TelegramChannel", - "SlackChannel", - "MsTeamsChannel", - "SkypeChannel", - "WebChatChannel", - "DirectLineChannel", - "SmsChannel", - "LineChannel", - "DirectLineSpeechChannel", - "OutlookChannel", - "Omnichannel", - "TelephonyChannel", - "AcsChatChannel", - "SearchAssistant", - "M365Extensions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/Channel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices/channels" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_connections": { - "description": "Microsoft.BotService/botServices/connections", - "properties": { - "apiVersion": { - "enum": [ - "2022-09-15" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag.", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Bot Service Connection Setting resource.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 2, - "pattern": "^[a-zA-Z0-9][\\sa-zA-Z0-9_.-]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/ConnectionSettingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices/connections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_privateEndpointConnections": { - "description": "Microsoft.BotService/botServices/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2022-09-15" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "AlexaChannelProperties": { - "description": "The parameters to provide for the Alexa channel.", - "properties": { - "alexaSkillId": { - "description": "The Alexa skill Id", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "alexaSkillId", - "isEnabled" - ], - "type": "object" - }, - "BotProperties": { - "description": "The parameters to provide for the Bot.", - "properties": { - "allSettings": { - "description": "Contains resource all settings defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "appPasswordHint": { - "description": "The hint (e.g. keyVault secret resourceId) on how to fetch the app secret", - "type": "string" - }, - "cmekKeyVaultUrl": { - "description": "The CMK Url", - "type": "string" - }, - "description": { - "description": "The description of the bot", - "type": "string" - }, - "developerAppInsightKey": { - "description": "The Application Insights key", - "type": "string" - }, - "developerAppInsightsApiKey": { - "description": "The Application Insights Api Key", - "type": "string" - }, - "developerAppInsightsApplicationId": { - "description": "The Application Insights App Id", - "type": "string" - }, - "disableLocalAuth": { - "description": "Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "displayName": { - "description": "The Name of the bot", - "type": "string" - }, - "endpoint": { - "description": "The bot's endpoint", - "type": "string" - }, - "iconUrl": { - "description": "The Icon Url of the bot", - "type": "string" - }, - "isCmekEnabled": { - "description": "Whether Cmek is enabled", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isStreamingSupported": { - "description": "Whether the bot is streaming supported", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "luisAppIds": { - "description": "Collection of LUIS App Ids", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "luisKey": { - "description": "The LUIS Key", - "type": "string" - }, - "manifestUrl": { - "description": "The bot's manifest url", - "type": "string" - }, - "msaAppId": { - "description": "Microsoft App Id for the bot", - "type": "string" - }, - "msaAppMSIResourceId": { - "description": "Microsoft App Managed Identity Resource Id for the bot", - "type": "string" - }, - "msaAppTenantId": { - "description": "Microsoft App Tenant Id for the bot", - "type": "string" - }, - "msaAppType": { - "description": "Microsoft App Type for the bot", - "oneOf": [ - { - "enum": [ - "UserAssignedMSI", - "SingleTenant", - "MultiTenant" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "openWithHint": { - "description": "The hint to browser (e.g. protocol handler) on how to open the bot for authoring", - "type": "string" - }, - "parameters": { - "description": "Contains resource parameters defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publicNetworkAccess": { - "description": "Whether the bot is in an isolated network", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publishingCredentials": { - "description": "Publishing credentials of the resource", - "type": "string" - }, - "schemaTransformationVersion": { - "description": "The channel schema transformation version for the bot", - "type": "string" - }, - "storageResourceId": { - "description": "The storage resourceId for the bot", - "type": "string" - }, - "tenantId": { - "description": "The Tenant Id for the bot", - "type": "string" - } - }, - "required": [ - "displayName", - "endpoint", - "msaAppId" - ], - "type": "object" - }, - "Channel": { - "description": "Channel definition", - "oneOf": [ - { - "description": "AcsChat channel definition", - "properties": { - "channelName": { - "enum": [ - "AcsChatChannel" - ], - "type": "string" - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Alexa channel definition", - "properties": { - "channelName": { - "enum": [ - "AlexaChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Alexa channel resource", - "oneOf": [ - { - "$ref": "#/definitions/AlexaChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Direct Line channel definition", - "properties": { - "channelName": { - "enum": [ - "DirectLineChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Direct Line channel resource", - "oneOf": [ - { - "$ref": "#/definitions/DirectLineChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "DirectLine Speech channel definition", - "properties": { - "channelName": { - "enum": [ - "DirectLineSpeechChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to DirectLine Speech channel resource", - "oneOf": [ - { - "$ref": "#/definitions/DirectLineSpeechChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Email channel definition", - "properties": { - "channelName": { - "enum": [ - "EmailChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to email channel resource", - "oneOf": [ - { - "$ref": "#/definitions/EmailChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Facebook channel definition", - "properties": { - "channelName": { - "enum": [ - "FacebookChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to bot facebook channel", - "oneOf": [ - { - "$ref": "#/definitions/FacebookChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Kik channel definition", - "properties": { - "channelName": { - "enum": [ - "KikChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Kik channel resource", - "oneOf": [ - { - "$ref": "#/definitions/KikChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Line channel definition", - "properties": { - "channelName": { - "enum": [ - "LineChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to line channel resource", - "oneOf": [ - { - "$ref": "#/definitions/LineChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "M365 Extensions definition", - "properties": { - "channelName": { - "enum": [ - "M365Extensions" - ], - "type": "string" - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Microsoft Teams channel definition", - "properties": { - "channelName": { - "enum": [ - "MsTeamsChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Microsoft Teams channel resource", - "oneOf": [ - { - "$ref": "#/definitions/MsTeamsChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Omnichannel channel definition", - "properties": { - "channelName": { - "enum": [ - "Omnichannel" - ], - "type": "string" - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Outlook channel definition", - "properties": { - "channelName": { - "enum": [ - "OutlookChannel" - ], - "type": "string" - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "SearchAssistant definition", - "properties": { - "channelName": { - "enum": [ - "SearchAssistant" - ], - "type": "string" - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Skype channel definition", - "properties": { - "channelName": { - "enum": [ - "SkypeChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Skype channel resource", - "oneOf": [ - { - "$ref": "#/definitions/SkypeChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Slack channel definition", - "properties": { - "channelName": { - "enum": [ - "SlackChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Slack channel resource", - "oneOf": [ - { - "$ref": "#/definitions/SlackChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Sms channel definition", - "properties": { - "channelName": { - "enum": [ - "SmsChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Sms channel resource", - "oneOf": [ - { - "$ref": "#/definitions/SmsChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Telegram channel definition", - "properties": { - "channelName": { - "enum": [ - "TelegramChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Telegram channel resource", - "oneOf": [ - { - "$ref": "#/definitions/TelegramChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Telephony channel definition", - "properties": { - "channelName": { - "enum": [ - "TelephonyChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Telephony channel resource", - "oneOf": [ - { - "$ref": "#/definitions/TelephonyChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Web Chat channel definition", - "properties": { - "channelName": { - "enum": [ - "WebChatChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Web Chat channel resource", - "oneOf": [ - { - "$ref": "#/definitions/WebChatChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - } - ], - "properties": { - "etag": { - "description": "Entity Tag of the resource", - "type": "string" - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - } - }, - "type": "object" - }, - "ConnectionSettingParameter": { - "description": "Extra Parameter in a Connection Setting Properties to indicate service provider specific properties", - "properties": { - "key": { - "description": "Key for the Connection Setting Parameter.", - "type": "string" - }, - "value": { - "description": "Value associated with the Connection Setting Parameter.", - "type": "string" - } - }, - "type": "object" - }, - "ConnectionSettingProperties": { - "description": "Properties for a Connection Setting Item", - "properties": { - "clientId": { - "description": "Client Id associated with the Connection Setting.", - "type": "string" - }, - "clientSecret": { - "description": "Client Secret associated with the Connection Setting", - "type": "string" - }, - "id": { - "description": "Id of the Connection Setting.", - "type": "string" - }, - "name": { - "description": "Name of the Connection Setting.", - "type": "string" - }, - "parameters": { - "description": "Service Provider Parameters associated with the Connection Setting", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ConnectionSettingParameter" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "provisioningState": { - "description": "Provisioning state of the resource", - "type": "string" - }, - "scopes": { - "description": "Scopes associated with the Connection Setting", - "type": "string" - }, - "serviceProviderDisplayName": { - "description": "Service Provider Display Name associated with the Connection Setting", - "type": "string" - }, - "serviceProviderId": { - "description": "Service Provider Id associated with the Connection Setting", - "type": "string" - } - }, - "type": "object" - }, - "DirectLineChannelProperties": { - "description": "The parameters to provide for the Direct Line channel.", - "properties": { - "DirectLineEmbedCode": { - "description": "Direct Line embed code of the resource", - "type": "string" - }, - "extensionKey1": { - "description": "The extensionKey1", - "type": "string" - }, - "extensionKey2": { - "description": "The extensionKey2", - "type": "string" - }, - "sites": { - "description": "The list of Direct Line sites", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/DirectLineSite" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "DirectLineSite": { - "description": "A site for the Direct Line channel", - "properties": { - "appId": { - "description": "DirectLine application id", - "type": "string" - }, - "eTag": { - "description": "Entity Tag", - "type": "string" - }, - "isBlockUserUploadEnabled": { - "description": "Whether this site is enabled for block user upload.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isDetailedLoggingEnabled": { - "description": "Whether this site is disabled detailed logging for", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEnabled": { - "description": "Whether this site is enabled for DirectLine channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEndpointParametersEnabled": { - "description": "Whether this site is EndpointParameters enabled for channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isNoStorageEnabled": { - "description": "Whether this no-storage site is disabled detailed logging for", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isSecureSiteEnabled": { - "description": "Whether this site is enabled for authentication with Bot Framework.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isV1Enabled": { - "description": "Whether this site is enabled for Bot Framework V1 protocol.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isV3Enabled": { - "description": "Whether this site is enabled for Bot Framework V3 protocol.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isWebChatSpeechEnabled": { - "description": "Whether this site is enabled for Webchat Speech", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isWebchatPreviewEnabled": { - "description": "Whether this site is enabled for preview versions of Webchat", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "siteName": { - "description": "Site name", - "type": "string" - }, - "tenantId": { - "description": "Tenant Id", - "type": "string" - }, - "trustedOrigins": { - "description": "List of Trusted Origin URLs for this site. This field is applicable only if isSecureSiteEnabled is True.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "siteName", - "isEnabled" - ], - "type": "object" - }, - "DirectLineSpeechChannelProperties": { - "description": "The parameters to provide for the DirectLine Speech channel.", - "properties": { - "cognitiveServiceRegion": { - "description": "The cognitive service region with this channel registration.", - "type": "string" - }, - "cognitiveServiceResourceId": { - "description": "The cognitive service id with this channel registration.", - "type": "string" - }, - "cognitiveServiceSubscriptionKey": { - "description": "The cognitive service subscription key to use with this channel registration.", - "type": "string" - }, - "customSpeechModelId": { - "description": "Custom voice deployment id (optional).", - "type": "string" - }, - "customVoiceDeploymentId": { - "description": "Custom speech model id (optional).", - "type": "string" - }, - "isDefaultBotForCogSvcAccount": { - "description": "Make this a default bot for chosen cognitive service account.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEnabled": { - "description": "Whether this channel is enabled or not.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "EmailChannelProperties": { - "description": "The parameters to provide for the Email channel.", - "properties": { - "authMethod": { - "description": "Email channel auth method. 0 Password (Default); 1 Graph.", - "oneOf": [ - { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "emailAddress": { - "description": "The email address", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "magicCode": { - "description": "The magic code for setting up the modern authentication.", - "type": "string" - }, - "password": { - "description": "The password for the email address. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - } - }, - "required": [ - "emailAddress", - "isEnabled" - ], - "type": "object" - }, - "FacebookChannelProperties": { - "description": "The parameters to provide for the Facebook channel.", - "properties": { - "appId": { - "description": "Facebook application id", - "type": "string" - }, - "appSecret": { - "description": "Facebook application secret. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "pages": { - "description": "The list of Facebook pages", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/FacebookPage" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "appId", - "isEnabled" - ], - "type": "object" - }, - "FacebookPage": { - "description": "A Facebook page for Facebook channel registration", - "properties": { - "accessToken": { - "description": "Facebook application access token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "id": { - "description": "Page id", - "type": "string" - } - }, - "required": [ - "id" - ], - "type": "object" - }, - "KikChannelProperties": { - "description": "The parameters to provide for the Kik channel.", - "properties": { - "apiKey": { - "description": "Kik API key. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isValidated": { - "description": "Whether this channel is validated for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userName": { - "description": "The Kik user name", - "type": "string" - } - }, - "required": [ - "userName", - "isEnabled" - ], - "type": "object" - }, - "LineChannelProperties": { - "description": "The parameters to provide for the Line channel.", - "properties": { - "lineRegistrations": { - "description": "The list of line channel registrations", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/LineRegistration" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "lineRegistrations" - ], - "type": "object" - }, - "LineRegistration": { - "description": "The properties corresponding to a line channel registration", - "properties": { - "channelAccessToken": { - "description": "Access token for the line channel registration", - "type": "string" - }, - "channelSecret": { - "description": "Secret for the line channel registration", - "type": "string" - } - }, - "type": "object" - }, - "MsTeamsChannelProperties": { - "description": "The parameters to provide for the Microsoft Teams channel.", - "properties": { - "acceptedTerms": { - "description": "Whether this channel accepted terms", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "callingWebhook": { - "description": "Webhook for Microsoft Teams channel calls", - "type": "string" - }, - "deploymentEnvironment": { - "description": "Deployment environment for Microsoft Teams channel calls", - "type": "string" - }, - "enableCalling": { - "description": "Enable calling for Microsoft Teams channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "incomingCallRoute": { - "description": "Webhook for Microsoft Teams channel calls", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "PrivateEndpoint": { - "description": "The Private Endpoint resource.", - "properties": {}, - "type": "object" - }, - "PrivateEndpointConnectionProperties": { - "description": "Properties of the PrivateEndpointConnectProperties.", - "properties": { - "groupIds": { - "description": "Group ids", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateEndpoint": { - "description": "The resource of private end point.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "type": "object" - }, - "PrivateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "properties": { - "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "type": "string" - }, - "description": { - "description": "The reason for approval/rejection of the connection.", - "type": "string" - }, - "status": { - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.", - "oneOf": [ - { - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "Sku": { - "description": "The SKU of the cognitive services account.", - "properties": { - "name": { - "description": "The sku name", - "oneOf": [ - { - "enum": [ - "F0", - "S1" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "SkypeChannelProperties": { - "description": "The parameters to provide for the Microsoft Teams channel.", - "properties": { - "callingWebHook": { - "description": "Calling web hook for Skype channel", - "type": "string" - }, - "enableCalling": { - "description": "Enable calling for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableGroups": { - "description": "Enable groups for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableMediaCards": { - "description": "Enable media cards for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableMessaging": { - "description": "Enable messaging for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableScreenSharing": { - "description": "Enable screen sharing for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableVideo": { - "description": "Enable video for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "groupsMode": { - "description": "Group mode for Skype channel", - "type": "string" - }, - "incomingCallRoute": { - "description": "Incoming call route for Skype channel", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "SlackChannelProperties": { - "description": "The parameters to provide for the Slack channel.", - "properties": { - "clientId": { - "description": "The Slack client id", - "type": "string" - }, - "clientSecret": { - "description": "The Slack client secret. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "landingPageUrl": { - "description": "The Slack landing page Url", - "type": "string" - }, - "registerBeforeOAuthFlow": { - "description": "Whether to register the settings before OAuth validation is performed. Recommended to True.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "scopes": { - "description": "The Slack permission scopes.", - "type": "string" - }, - "signingSecret": { - "description": "The Slack signing secret.", - "type": "string" - }, - "verificationToken": { - "description": "The Slack verification token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "SmsChannelProperties": { - "description": "The parameters to provide for the Sms channel.", - "properties": { - "accountSID": { - "description": "The Sms account SID. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "authToken": { - "description": "The Sms auth token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isValidated": { - "description": "Whether this channel is validated for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "phone": { - "description": "The Sms phone", - "type": "string" - } - }, - "required": [ - "phone", - "accountSID", - "isEnabled" - ], - "type": "object" - }, - "TelegramChannelProperties": { - "description": "The parameters to provide for the Telegram channel.", - "properties": { - "accessToken": { - "description": "The Telegram access token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isValidated": { - "description": "Whether this channel is validated for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "TelephonyChannelProperties": { - "description": "The parameters to provide for the Direct Line channel.", - "properties": { - "apiConfigurations": { - "description": "The list of Telephony api configuration", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/TelephonyChannelResourceApiConfiguration" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "cognitiveServiceRegion": { - "description": "The extensionKey2", - "type": "string" - }, - "cognitiveServiceSubscriptionKey": { - "description": "The extensionKey1", - "type": "string" - }, - "defaultLocale": { - "description": "The default locale of the channel", - "type": "string" - }, - "isEnabled": { - "description": "Whether the channel is enabled", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "phoneNumbers": { - "description": "The list of Telephony phone numbers", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/TelephonyPhoneNumbers" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "premiumSKU": { - "description": "The premium SKU applied to the channel", - "type": "string" - } - }, - "type": "object" - }, - "TelephonyChannelResourceApiConfiguration": { - "description": "A resource Api configuration for the Telephony channel", - "properties": { - "cognitiveServiceRegion": { - "description": "The cognitive service region.", - "type": "string" - }, - "cognitiveServiceResourceId": { - "description": "The cognitive service resourceId.", - "type": "string" - }, - "cognitiveServiceSubscriptionKey": { - "description": "The cognitive service subscription key.", - "type": "string" - }, - "defaultLocale": { - "description": "The default locale.", - "type": "string" - }, - "id": { - "description": "The id of config.", - "type": "string" - }, - "providerName": { - "description": "The provider name.", - "type": "string" - } - }, - "type": "object" - }, - "TelephonyPhoneNumbers": { - "description": "A telephone number for the Telephony channel", - "properties": { - "acsEndpoint": { - "description": "The endpoint of ACS.", - "type": "string" - }, - "acsResourceId": { - "description": "The resource id of ACS.", - "type": "string" - }, - "acsSecret": { - "description": "The secret of ACS.", - "type": "string" - }, - "cognitiveServiceRegion": { - "description": "The service region of cognitive service.", - "type": "string" - }, - "cognitiveServiceResourceId": { - "description": "The resource id of cognitive service.", - "type": "string" - }, - "cognitiveServiceSubscriptionKey": { - "description": "The subscription key of cognitive service.", - "type": "string" - }, - "defaultLocale": { - "description": "The default locale of the phone number.", - "type": "string" - }, - "id": { - "description": "The element id.", - "type": "string" - }, - "offerType": { - "description": "Optional Property that will determine the offering type of the phone.", - "type": "string" - }, - "phoneNumber": { - "description": "The phone number.", - "type": "string" - } - }, - "type": "object" - }, - "WebChatChannelProperties": { - "description": "The parameters to provide for the Web Chat channel.", - "properties": { - "sites": { - "description": "The list of Web Chat sites", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/WebChatSite" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "WebChatSite": { - "description": "A site for the Webchat channel", - "properties": { - "appId": { - "description": "DirectLine application id", - "type": "string" - }, - "eTag": { - "description": "Entity Tag", - "type": "string" - }, - "isBlockUserUploadEnabled": { - "description": "Whether this site is enabled for block user upload.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isDetailedLoggingEnabled": { - "description": "Whether this site is disabled detailed logging for", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEnabled": { - "description": "Whether this site is enabled for DirectLine channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEndpointParametersEnabled": { - "description": "Whether this site is EndpointParameters enabled for channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isNoStorageEnabled": { - "description": "Whether this no-storage site is disabled detailed logging for", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isSecureSiteEnabled": { - "description": "Whether this site is enabled for authentication with Bot Framework.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isV1Enabled": { - "description": "Whether this site is enabled for Bot Framework V1 protocol.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isV3Enabled": { - "description": "Whether this site is enabled for Bot Framework V3 protocol.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isWebChatSpeechEnabled": { - "description": "Whether this site is enabled for Webchat Speech", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isWebchatPreviewEnabled": { - "description": "Whether this site is enabled for preview versions of Webchat", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "siteName": { - "description": "Site name", - "type": "string" - }, - "tenantId": { - "description": "Tenant Id", - "type": "string" - }, - "trustedOrigins": { - "description": "List of Trusted Origin URLs for this site. This field is applicable only if isSecureSiteEnabled is True.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "siteName", - "isEnabled" - ], - "type": "object" - }, - "botServices_channels_childResource": { - "description": "Microsoft.BotService/botServices/channels", - "properties": { - "apiVersion": { - "enum": [ - "2022-09-15" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag.", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Channel resource.", - "oneOf": [ - { - "enum": [ - "AlexaChannel", - "FacebookChannel", - "EmailChannel", - "KikChannel", - "TelegramChannel", - "SlackChannel", - "MsTeamsChannel", - "SkypeChannel", - "WebChatChannel", - "DirectLineChannel", - "SmsChannel", - "LineChannel", - "DirectLineSpeechChannel", - "OutlookChannel", - "Omnichannel", - "TelephonyChannel", - "AcsChatChannel", - "SearchAssistant", - "M365Extensions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/Channel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "channels" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_connections_childResource": { - "description": "Microsoft.BotService/botServices/connections", - "properties": { - "apiVersion": { - "enum": [ - "2022-09-15" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag.", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Bot Service Connection Setting resource.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 2, - "pattern": "^[a-zA-Z0-9][\\sa-zA-Z0-9_.-]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/ConnectionSettingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "connections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_privateEndpointConnections_childResource": { - "description": "Microsoft.BotService/botServices/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2022-09-15" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2023-09-15-preview/Microsoft.BotService.json b/schemas/2023-09-15-preview/Microsoft.BotService.json deleted file mode 100644 index 8793fbc07d..0000000000 --- a/schemas/2023-09-15-preview/Microsoft.BotService.json +++ /dev/null @@ -1,2503 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2023-09-15-preview/Microsoft.BotService.json#", - "title": "Microsoft.BotService", - "description": "Microsoft BotService Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "botServices": { - "description": "Microsoft.BotService/botServices", - "properties": { - "apiVersion": { - "enum": [ - "2023-09-15-preview" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag.", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Bot resource.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 2, - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot resource", - "oneOf": [ - { - "$ref": "#/definitions/BotProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/botServices_channels_childResource" - }, - { - "$ref": "#/definitions/botServices_connections_childResource" - }, - { - "$ref": "#/definitions/botServices_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_channels": { - "description": "Microsoft.BotService/botServices/channels", - "properties": { - "apiVersion": { - "enum": [ - "2023-09-15-preview" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag.", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Channel resource.", - "oneOf": [ - { - "enum": [ - "AlexaChannel", - "FacebookChannel", - "EmailChannel", - "KikChannel", - "TelegramChannel", - "SlackChannel", - "MsTeamsChannel", - "SkypeChannel", - "WebChatChannel", - "DirectLineChannel", - "SmsChannel", - "LineChannel", - "DirectLineSpeechChannel", - "OutlookChannel", - "Omnichannel", - "TelephonyChannel", - "AcsChatChannel", - "SearchAssistant", - "M365Extensions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/Channel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices/channels" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_connections": { - "description": "Microsoft.BotService/botServices/connections", - "properties": { - "apiVersion": { - "enum": [ - "2023-09-15-preview" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag.", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Bot Service Connection Setting resource.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 2, - "pattern": "^[a-zA-Z0-9][\\sa-zA-Z0-9_.-]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/ConnectionSettingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices/connections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_privateEndpointConnections": { - "description": "Microsoft.BotService/botServices/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2023-09-15-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.BotService/botServices/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "AlexaChannelProperties": { - "description": "The parameters to provide for the Alexa channel.", - "properties": { - "alexaSkillId": { - "description": "The Alexa skill Id", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "alexaSkillId", - "isEnabled" - ], - "type": "object" - }, - "BotProperties": { - "description": "The parameters to provide for the Bot.", - "properties": { - "allSettings": { - "description": "Contains resource all settings defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "appPasswordHint": { - "description": "The hint (e.g. keyVault secret resourceId) on how to fetch the app secret", - "type": "string" - }, - "cmekKeyVaultUrl": { - "description": "The CMK Url", - "type": "string" - }, - "description": { - "description": "The description of the bot", - "type": "string" - }, - "developerAppInsightKey": { - "description": "The Application Insights key", - "type": "string" - }, - "developerAppInsightsApiKey": { - "description": "The Application Insights Api Key", - "type": "string" - }, - "developerAppInsightsApplicationId": { - "description": "The Application Insights App Id", - "type": "string" - }, - "disableLocalAuth": { - "description": "Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "displayName": { - "description": "The Name of the bot", - "type": "string" - }, - "endpoint": { - "description": "The bot's endpoint", - "type": "string" - }, - "iconUrl": { - "description": "The Icon Url of the bot", - "type": "string" - }, - "isCmekEnabled": { - "description": "Whether Cmek is enabled", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isStreamingSupported": { - "description": "Whether the bot is streaming supported", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "luisAppIds": { - "description": "Collection of LUIS App Ids", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "luisKey": { - "description": "The LUIS Key", - "type": "string" - }, - "manifestUrl": { - "description": "The bot's manifest url", - "type": "string" - }, - "msaAppId": { - "description": "Microsoft App Id for the bot", - "type": "string" - }, - "msaAppMSIResourceId": { - "description": "Microsoft App Managed Identity Resource Id for the bot", - "type": "string" - }, - "msaAppTenantId": { - "description": "Microsoft App Tenant Id for the bot", - "type": "string" - }, - "msaAppType": { - "description": "Microsoft App Type for the bot", - "oneOf": [ - { - "enum": [ - "UserAssignedMSI", - "SingleTenant", - "MultiTenant" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "openWithHint": { - "description": "The hint to browser (e.g. protocol handler) on how to open the bot for authoring", - "type": "string" - }, - "parameters": { - "description": "Contains resource parameters defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publicNetworkAccess": { - "description": "Whether the bot is in an isolated network", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled", - "SecuredByPerimeter" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publishingCredentials": { - "description": "Publishing credentials of the resource", - "type": "string" - }, - "schemaTransformationVersion": { - "description": "The channel schema transformation version for the bot", - "type": "string" - }, - "storageResourceId": { - "description": "The storage resourceId for the bot", - "type": "string" - }, - "tenantId": { - "description": "The Tenant Id for the bot", - "type": "string" - } - }, - "required": [ - "displayName", - "endpoint", - "msaAppId" - ], - "type": "object" - }, - "Channel": { - "description": "Channel definition", - "oneOf": [ - { - "description": "AcsChat channel definition", - "properties": { - "channelName": { - "enum": [ - "AcsChatChannel" - ], - "type": "string" - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Alexa channel definition", - "properties": { - "channelName": { - "enum": [ - "AlexaChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Alexa channel resource", - "oneOf": [ - { - "$ref": "#/definitions/AlexaChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Direct Line channel definition", - "properties": { - "channelName": { - "enum": [ - "DirectLineChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Direct Line channel resource", - "oneOf": [ - { - "$ref": "#/definitions/DirectLineChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "DirectLine Speech channel definition", - "properties": { - "channelName": { - "enum": [ - "DirectLineSpeechChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to DirectLine Speech channel resource", - "oneOf": [ - { - "$ref": "#/definitions/DirectLineSpeechChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Email channel definition", - "properties": { - "channelName": { - "enum": [ - "EmailChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to email channel resource", - "oneOf": [ - { - "$ref": "#/definitions/EmailChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Facebook channel definition", - "properties": { - "channelName": { - "enum": [ - "FacebookChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to bot facebook channel", - "oneOf": [ - { - "$ref": "#/definitions/FacebookChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Kik channel definition", - "properties": { - "channelName": { - "enum": [ - "KikChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Kik channel resource", - "oneOf": [ - { - "$ref": "#/definitions/KikChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Line channel definition", - "properties": { - "channelName": { - "enum": [ - "LineChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to line channel resource", - "oneOf": [ - { - "$ref": "#/definitions/LineChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "M365 Extensions definition", - "properties": { - "channelName": { - "enum": [ - "M365Extensions" - ], - "type": "string" - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Microsoft Teams channel definition", - "properties": { - "channelName": { - "enum": [ - "MsTeamsChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Microsoft Teams channel resource", - "oneOf": [ - { - "$ref": "#/definitions/MsTeamsChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Omnichannel channel definition", - "properties": { - "channelName": { - "enum": [ - "Omnichannel" - ], - "type": "string" - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Outlook channel definition", - "properties": { - "channelName": { - "enum": [ - "OutlookChannel" - ], - "type": "string" - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "SearchAssistant definition", - "properties": { - "channelName": { - "enum": [ - "SearchAssistant" - ], - "type": "string" - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Skype channel definition", - "properties": { - "channelName": { - "enum": [ - "SkypeChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Skype channel resource", - "oneOf": [ - { - "$ref": "#/definitions/SkypeChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Slack channel definition", - "properties": { - "channelName": { - "enum": [ - "SlackChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Slack channel resource", - "oneOf": [ - { - "$ref": "#/definitions/SlackChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Sms channel definition", - "properties": { - "channelName": { - "enum": [ - "SmsChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Sms channel resource", - "oneOf": [ - { - "$ref": "#/definitions/SmsChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Telegram channel definition", - "properties": { - "channelName": { - "enum": [ - "TelegramChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Telegram channel resource", - "oneOf": [ - { - "$ref": "#/definitions/TelegramChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Telephony channel definition", - "properties": { - "channelName": { - "enum": [ - "TelephonyChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Telephony channel resource", - "oneOf": [ - { - "$ref": "#/definitions/TelephonyChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - }, - { - "description": "Web Chat channel definition", - "properties": { - "channelName": { - "enum": [ - "WebChatChannel" - ], - "type": "string" - }, - "properties": { - "description": "The set of properties specific to Web Chat channel resource", - "oneOf": [ - { - "$ref": "#/definitions/WebChatChannelProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "channelName" - ], - "type": "object" - } - ], - "properties": { - "etag": { - "description": "Entity Tag of the resource", - "type": "string" - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - } - }, - "type": "object" - }, - "ConnectionSettingParameter": { - "description": "Extra Parameter in a Connection Setting Properties to indicate service provider specific properties", - "properties": { - "key": { - "description": "Key for the Connection Setting Parameter.", - "type": "string" - }, - "value": { - "description": "Value associated with the Connection Setting Parameter.", - "type": "string" - } - }, - "type": "object" - }, - "ConnectionSettingProperties": { - "description": "Properties for a Connection Setting Item", - "properties": { - "clientId": { - "description": "Client Id associated with the Connection Setting.", - "type": "string" - }, - "clientSecret": { - "description": "Client Secret associated with the Connection Setting", - "type": "string" - }, - "id": { - "description": "Id of the Connection Setting.", - "type": "string" - }, - "name": { - "description": "Name of the Connection Setting.", - "type": "string" - }, - "parameters": { - "description": "Service Provider Parameters associated with the Connection Setting", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ConnectionSettingParameter" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "provisioningState": { - "description": "Provisioning state of the resource", - "type": "string" - }, - "scopes": { - "description": "Scopes associated with the Connection Setting", - "type": "string" - }, - "serviceProviderDisplayName": { - "description": "Service Provider Display Name associated with the Connection Setting", - "type": "string" - }, - "serviceProviderId": { - "description": "Service Provider Id associated with the Connection Setting", - "type": "string" - } - }, - "type": "object" - }, - "DirectLineChannelProperties": { - "description": "The parameters to provide for the Direct Line channel.", - "properties": { - "DirectLineEmbedCode": { - "description": "Direct Line embed code of the resource", - "type": "string" - }, - "extensionKey1": { - "description": "The extensionKey1", - "type": "string" - }, - "extensionKey2": { - "description": "The extensionKey2", - "type": "string" - }, - "sites": { - "description": "The list of Direct Line sites", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/DirectLineSite" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "DirectLineSite": { - "description": "A site for the Direct Line channel", - "properties": { - "appId": { - "description": "DirectLine application id", - "type": "string" - }, - "eTag": { - "description": "Entity Tag", - "type": "string" - }, - "isBlockUserUploadEnabled": { - "description": "Whether this site is enabled for block user upload.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isDetailedLoggingEnabled": { - "description": "Whether this site is disabled detailed logging for", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEnabled": { - "description": "Whether this site is enabled for DirectLine channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEndpointParametersEnabled": { - "description": "Whether this site is EndpointParameters enabled for channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isNoStorageEnabled": { - "description": "Whether this no-storage site is disabled detailed logging for", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isSecureSiteEnabled": { - "description": "Whether this site is enabled for authentication with Bot Framework.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isV1Enabled": { - "description": "Whether this site is enabled for Bot Framework V1 protocol.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isV3Enabled": { - "description": "Whether this site is enabled for Bot Framework V3 protocol.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isWebChatSpeechEnabled": { - "description": "Whether this site is enabled for Webchat Speech", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isWebchatPreviewEnabled": { - "description": "Whether this site is enabled for preview versions of Webchat", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "siteName": { - "description": "Site name", - "type": "string" - }, - "tenantId": { - "description": "Tenant Id", - "type": "string" - }, - "trustedOrigins": { - "description": "List of Trusted Origin URLs for this site. This field is applicable only if isSecureSiteEnabled is True.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "siteName", - "isEnabled" - ], - "type": "object" - }, - "DirectLineSpeechChannelProperties": { - "description": "The parameters to provide for the DirectLine Speech channel.", - "properties": { - "cognitiveServiceRegion": { - "description": "The cognitive service region with this channel registration.", - "type": "string" - }, - "cognitiveServiceResourceId": { - "description": "The cognitive service id with this channel registration.", - "type": "string" - }, - "cognitiveServiceSubscriptionKey": { - "description": "The cognitive service subscription key to use with this channel registration.", - "type": "string" - }, - "customSpeechModelId": { - "description": "Custom voice deployment id (optional).", - "type": "string" - }, - "customVoiceDeploymentId": { - "description": "Custom speech model id (optional).", - "type": "string" - }, - "isDefaultBotForCogSvcAccount": { - "description": "Make this a default bot for chosen cognitive service account.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEnabled": { - "description": "Whether this channel is enabled or not.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "EmailChannelProperties": { - "description": "The parameters to provide for the Email channel.", - "properties": { - "authMethod": { - "description": "Email channel auth method. 0 Password (Default); 1 Graph.", - "oneOf": [ - { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "emailAddress": { - "description": "The email address", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "magicCode": { - "description": "The magic code for setting up the modern authentication.", - "type": "string" - }, - "password": { - "description": "The password for the email address. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - } - }, - "required": [ - "emailAddress", - "isEnabled" - ], - "type": "object" - }, - "FacebookChannelProperties": { - "description": "The parameters to provide for the Facebook channel.", - "properties": { - "appId": { - "description": "Facebook application id", - "type": "string" - }, - "appSecret": { - "description": "Facebook application secret. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "pages": { - "description": "The list of Facebook pages", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/FacebookPage" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "appId", - "isEnabled" - ], - "type": "object" - }, - "FacebookPage": { - "description": "A Facebook page for Facebook channel registration", - "properties": { - "accessToken": { - "description": "Facebook application access token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "id": { - "description": "Page id", - "type": "string" - } - }, - "required": [ - "id" - ], - "type": "object" - }, - "KikChannelProperties": { - "description": "The parameters to provide for the Kik channel.", - "properties": { - "apiKey": { - "description": "Kik API key. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isValidated": { - "description": "Whether this channel is validated for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userName": { - "description": "The Kik user name", - "type": "string" - } - }, - "required": [ - "userName", - "isEnabled" - ], - "type": "object" - }, - "LineChannelProperties": { - "description": "The parameters to provide for the Line channel.", - "properties": { - "lineRegistrations": { - "description": "The list of line channel registrations", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/LineRegistration" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "lineRegistrations" - ], - "type": "object" - }, - "LineRegistration": { - "description": "The properties corresponding to a line channel registration", - "properties": { - "channelAccessToken": { - "description": "Access token for the line channel registration", - "type": "string" - }, - "channelSecret": { - "description": "Secret for the line channel registration", - "type": "string" - } - }, - "type": "object" - }, - "MsTeamsChannelProperties": { - "description": "The parameters to provide for the Microsoft Teams channel.", - "properties": { - "acceptedTerms": { - "description": "Whether this channel accepted terms", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "callingWebhook": { - "description": "Webhook for Microsoft Teams channel calls", - "type": "string" - }, - "deploymentEnvironment": { - "description": "Deployment environment for Microsoft Teams channel calls", - "type": "string" - }, - "enableCalling": { - "description": "Enable calling for Microsoft Teams channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "incomingCallRoute": { - "description": "Webhook for Microsoft Teams channel calls", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "PrivateEndpoint": { - "description": "The Private Endpoint resource.", - "properties": {}, - "type": "object" - }, - "PrivateEndpointConnectionProperties": { - "description": "Properties of the PrivateEndpointConnectProperties.", - "properties": { - "groupIds": { - "description": "Group ids", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateEndpoint": { - "description": "The resource of private end point.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "type": "object" - }, - "PrivateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "properties": { - "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "type": "string" - }, - "description": { - "description": "The reason for approval/rejection of the connection.", - "type": "string" - }, - "status": { - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.", - "oneOf": [ - { - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "Sku": { - "description": "The SKU of the cognitive services account.", - "properties": { - "name": { - "description": "The sku name", - "oneOf": [ - { - "enum": [ - "F0", - "S1" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "SkypeChannelProperties": { - "description": "The parameters to provide for the Microsoft Teams channel.", - "properties": { - "callingWebHook": { - "description": "Calling web hook for Skype channel", - "type": "string" - }, - "enableCalling": { - "description": "Enable calling for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableGroups": { - "description": "Enable groups for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableMediaCards": { - "description": "Enable media cards for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableMessaging": { - "description": "Enable messaging for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableScreenSharing": { - "description": "Enable screen sharing for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "enableVideo": { - "description": "Enable video for Skype channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "groupsMode": { - "description": "Group mode for Skype channel", - "type": "string" - }, - "incomingCallRoute": { - "description": "Incoming call route for Skype channel", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "SlackChannelProperties": { - "description": "The parameters to provide for the Slack channel.", - "properties": { - "clientId": { - "description": "The Slack client id", - "type": "string" - }, - "clientSecret": { - "description": "The Slack client secret. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "landingPageUrl": { - "description": "The Slack landing page Url", - "type": "string" - }, - "registerBeforeOAuthFlow": { - "description": "Whether to register the settings before OAuth validation is performed. Recommended to True.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "scopes": { - "description": "The Slack permission scopes.", - "type": "string" - }, - "signingSecret": { - "description": "The Slack signing secret.", - "type": "string" - }, - "verificationToken": { - "description": "The Slack verification token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "SmsChannelProperties": { - "description": "The parameters to provide for the Sms channel.", - "properties": { - "accountSID": { - "description": "The Sms account SID. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "authToken": { - "description": "The Sms auth token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isValidated": { - "description": "Whether this channel is validated for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "phone": { - "description": "The Sms phone", - "type": "string" - } - }, - "required": [ - "phone", - "accountSID", - "isEnabled" - ], - "type": "object" - }, - "TelegramChannelProperties": { - "description": "The parameters to provide for the Telegram channel.", - "properties": { - "accessToken": { - "description": "The Telegram access token. Value only returned through POST to the action Channel List API, otherwise empty.", - "type": "string" - }, - "isEnabled": { - "description": "Whether this channel is enabled for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isValidated": { - "description": "Whether this channel is validated for the bot", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "isEnabled" - ], - "type": "object" - }, - "TelephonyChannelProperties": { - "description": "The parameters to provide for the Direct Line channel.", - "properties": { - "apiConfigurations": { - "description": "The list of Telephony api configuration", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/TelephonyChannelResourceApiConfiguration" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "cognitiveServiceRegion": { - "description": "The extensionKey2", - "type": "string" - }, - "cognitiveServiceSubscriptionKey": { - "description": "The extensionKey1", - "type": "string" - }, - "defaultLocale": { - "description": "The default locale of the channel", - "type": "string" - }, - "isEnabled": { - "description": "Whether the channel is enabled", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "phoneNumbers": { - "description": "The list of Telephony phone numbers", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/TelephonyPhoneNumbers" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "premiumSKU": { - "description": "The premium SKU applied to the channel", - "type": "string" - } - }, - "type": "object" - }, - "TelephonyChannelResourceApiConfiguration": { - "description": "A resource Api configuration for the Telephony channel", - "properties": { - "cognitiveServiceRegion": { - "description": "The cognitive service region.", - "type": "string" - }, - "cognitiveServiceResourceId": { - "description": "The cognitive service resourceId.", - "type": "string" - }, - "cognitiveServiceSubscriptionKey": { - "description": "The cognitive service subscription key.", - "type": "string" - }, - "defaultLocale": { - "description": "The default locale.", - "type": "string" - }, - "id": { - "description": "The id of config.", - "type": "string" - }, - "providerName": { - "description": "The provider name.", - "type": "string" - } - }, - "type": "object" - }, - "TelephonyPhoneNumbers": { - "description": "A telephone number for the Telephony channel", - "properties": { - "acsEndpoint": { - "description": "The endpoint of ACS.", - "type": "string" - }, - "acsResourceId": { - "description": "The resource id of ACS.", - "type": "string" - }, - "acsSecret": { - "description": "The secret of ACS.", - "type": "string" - }, - "cognitiveServiceRegion": { - "description": "The service region of cognitive service.", - "type": "string" - }, - "cognitiveServiceResourceId": { - "description": "The resource id of cognitive service.", - "type": "string" - }, - "cognitiveServiceSubscriptionKey": { - "description": "The subscription key of cognitive service.", - "type": "string" - }, - "defaultLocale": { - "description": "The default locale of the phone number.", - "type": "string" - }, - "id": { - "description": "The element id.", - "type": "string" - }, - "offerType": { - "description": "Optional Property that will determine the offering type of the phone.", - "type": "string" - }, - "phoneNumber": { - "description": "The phone number.", - "type": "string" - } - }, - "type": "object" - }, - "WebChatChannelProperties": { - "description": "The parameters to provide for the Web Chat channel.", - "properties": { - "sites": { - "description": "The list of Web Chat sites", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/WebChatSite" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "WebChatSite": { - "description": "A site for the Webchat channel", - "properties": { - "appId": { - "description": "DirectLine application id", - "type": "string" - }, - "eTag": { - "description": "Entity Tag", - "type": "string" - }, - "isBlockUserUploadEnabled": { - "description": "Whether this site is enabled for block user upload.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isDetailedLoggingEnabled": { - "description": "Whether this site is disabled detailed logging for", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEnabled": { - "description": "Whether this site is enabled for DirectLine channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEndpointParametersEnabled": { - "description": "Whether this site is EndpointParameters enabled for channel", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isNoStorageEnabled": { - "description": "Whether this no-storage site is disabled detailed logging for", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isSecureSiteEnabled": { - "description": "Whether this site is enabled for authentication with Bot Framework.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isV1Enabled": { - "description": "Whether this site is enabled for Bot Framework V1 protocol.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isV3Enabled": { - "description": "Whether this site is enabled for Bot Framework V3 protocol.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isWebChatSpeechEnabled": { - "description": "Whether this site is enabled for Webchat Speech", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isWebchatPreviewEnabled": { - "description": "Whether this site is enabled for preview versions of Webchat", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "siteName": { - "description": "Site name", - "type": "string" - }, - "tenantId": { - "description": "Tenant Id", - "type": "string" - }, - "trustedOrigins": { - "description": "List of Trusted Origin URLs for this site. This field is applicable only if isSecureSiteEnabled is True.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "siteName", - "isEnabled" - ], - "type": "object" - }, - "botServices_channels_childResource": { - "description": "Microsoft.BotService/botServices/channels", - "properties": { - "apiVersion": { - "enum": [ - "2023-09-15-preview" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag.", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Channel resource.", - "oneOf": [ - { - "enum": [ - "AlexaChannel", - "FacebookChannel", - "EmailChannel", - "KikChannel", - "TelegramChannel", - "SlackChannel", - "MsTeamsChannel", - "SkypeChannel", - "WebChatChannel", - "DirectLineChannel", - "SmsChannel", - "LineChannel", - "DirectLineSpeechChannel", - "OutlookChannel", - "Omnichannel", - "TelephonyChannel", - "AcsChatChannel", - "SearchAssistant", - "M365Extensions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/Channel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "channels" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_connections_childResource": { - "description": "Microsoft.BotService/botServices/connections", - "properties": { - "apiVersion": { - "enum": [ - "2023-09-15-preview" - ], - "type": "string" - }, - "etag": { - "description": "Entity Tag.", - "type": "string" - }, - "kind": { - "description": "Required. Gets or sets the Kind of the resource.", - "oneOf": [ - { - "enum": [ - "sdk", - "designer", - "bot", - "function", - "azurebot" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "name": { - "description": "The name of the Bot Service Connection Setting resource.", - "oneOf": [ - { - "maxLength": 64, - "minLength": 2, - "pattern": "^[a-zA-Z0-9][\\sa-zA-Z0-9_.-]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "The set of properties specific to bot channel resource", - "oneOf": [ - { - "$ref": "#/definitions/ConnectionSettingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "Gets or sets the SKU of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "connections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "botServices_privateEndpointConnections_childResource": { - "description": "Microsoft.BotService/botServices/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2023-09-15-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index ab4d6df4d4..217e01628e 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6382,93 +6382,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-06-01-preview/Microsoft.Blockchain.json#/resourceDefinitions/blockchainMembers_transactionNodes" }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.BotService.json#/resourceDefinitions/botServices" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.BotService.json#/resourceDefinitions/botServices_channels" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.BotService.json#/resourceDefinitions/botServices_Connections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-07-12/Microsoft.BotService.json#/resourceDefinitions/botServices" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-07-12/Microsoft.BotService.json#/resourceDefinitions/botServices_channels" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-07-12/Microsoft.BotService.json#/resourceDefinitions/botServices_Connections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-07-12/Microsoft.BotService.json#/resourceDefinitions/enterpriseChannels" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-02/Microsoft.BotService.json#/resourceDefinitions/botServices" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-02/Microsoft.BotService.json#/resourceDefinitions/botServices_channels" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-02/Microsoft.BotService.json#/resourceDefinitions/botServices_connections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.BotService.json#/resourceDefinitions/botServices" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.BotService.json#/resourceDefinitions/botServices_channels" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.BotService.json#/resourceDefinitions/botServices_connections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-01-preview/Microsoft.BotService.json#/resourceDefinitions/botServices" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-01-preview/Microsoft.BotService.json#/resourceDefinitions/botServices_channels" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-01-preview/Microsoft.BotService.json#/resourceDefinitions/botServices_connections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-01-preview/Microsoft.BotService.json#/resourceDefinitions/botServices_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-06-15-preview/Microsoft.BotService.json#/resourceDefinitions/botServices" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-06-15-preview/Microsoft.BotService.json#/resourceDefinitions/botServices_channels" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-06-15-preview/Microsoft.BotService.json#/resourceDefinitions/botServices_connections" - }, - { - "$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/2023-09-15-preview/Microsoft.BotService.json#/resourceDefinitions/botServices" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-09-15-preview/Microsoft.BotService.json#/resourceDefinitions/botServices_channels" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-09-15-preview/Microsoft.BotService.json#/resourceDefinitions/botServices_connections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-09-15-preview/Microsoft.BotService.json#/resourceDefinitions/botServices_privateEndpointConnections" - }, { "$ref": "https://schema.management.azure.com/schemas/2020-10-01-preview/Microsoft.Cache.Enterprise.json#/resourceDefinitions/redisEnterprise" },