diff --git a/specification/botservice/resource-manager/Microsoft.BotService/stable/2021-03-01/botservice.json b/specification/botservice/resource-manager/Microsoft.BotService/stable/2021-03-01/botservice.json index 51d8b32ac081..251e6e60c61b 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/stable/2021-03-01/botservice.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/stable/2021-03-01/botservice.json @@ -1974,9 +1974,14 @@ }, "DirectLineSpeechChannelProperties": { "properties": { - "cognitiveServicesSubscriptionId": { + "cognitiveServiceRegion": { "type": "string", - "description": "The cognitive service subscription ID to use with this channel registration." + "description": "The cognitive service region with this channel registration." + }, + "cognitiveServiceSubscriptionKey": { + "x-ms-secret": true, + "type": "string", + "description": "The cognitive service subscription key to use with this channel registration." }, "isEnabled": { "type": "boolean", @@ -1997,7 +2002,8 @@ }, "description": "The parameters to provide for the DirectLine Speech channel.", "required": [ - "cognitiveServicesSubscriptionId" + "cognitiveServiceRegion", + "cognitiveServiceSubscriptionKey" ] }, "ChannelResponseList": { diff --git a/specification/botservice/resource-manager/Microsoft.BotService/stable/2021-03-01/examples/GetDirectLineSpeechChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/stable/2021-03-01/examples/GetDirectLineSpeechChannel.json index f4d15d88a187..35110c6719ff 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/stable/2021-03-01/examples/GetDirectLineSpeechChannel.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/stable/2021-03-01/examples/GetDirectLineSpeechChannel.json @@ -13,7 +13,7 @@ "properties": { "channelName": "DirectLineSpeechChannel", "properties": { - "cognitiveServicesSubscriptionId": "Cognitive services subscription ID", + "cognitiveServiceRegion": "Cognitive service region", "customVoiceDeploymentId": "Custom voice deployment ID", "customSpeechModelId": "Custom speech model ID", "isDefaultBotForCogSvcAccount": true, diff --git a/specification/botservice/resource-manager/Microsoft.BotService/stable/2021-03-01/examples/PutDirectLineSpeechChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/stable/2021-03-01/examples/PutDirectLineSpeechChannel.json index f8bb8546de01..0411ec285694 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/stable/2021-03-01/examples/PutDirectLineSpeechChannel.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/stable/2021-03-01/examples/PutDirectLineSpeechChannel.json @@ -10,7 +10,8 @@ "properties": { "channelName": "DirectLineSpeechChannel", "properties": { - "cognitiveServicesSubscriptionId": "XcognitiveServicesSubscriptionIdX", + "cognitiveServiceRegion": "XcognitiveServiceRegionX", + "cognitiveServiceSubscriptionKey": "XcognitiveServiceSubscriptionKeyX", "isEnabled": true } } @@ -23,7 +24,7 @@ "properties": { "channelName": "DirectLineSpeechChannel", "properties": { - "cognitiveServicesSubscriptionId": "XcognitiveServicesSubscriptionIdX", + "cognitiveServiceRegion": "XcognitiveServiceRegionX", "isEnabled": true } } @@ -35,7 +36,7 @@ "properties": { "channelName": "DirectLineSpeechChannel", "properties": { - "cognitiveServicesSubscriptionId": "XcognitiveServicesSubscriptionIdX", + "cognitiveServiceRegion": "XcognitiveServiceRegionX", "isEnabled": true } } diff --git a/specification/botservice/resource-manager/Microsoft.BotService/stable/2021-03-01/examples/UpdateDirectLineSpeechChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/stable/2021-03-01/examples/UpdateDirectLineSpeechChannel.json index f8bb8546de01..0411ec285694 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/stable/2021-03-01/examples/UpdateDirectLineSpeechChannel.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/stable/2021-03-01/examples/UpdateDirectLineSpeechChannel.json @@ -10,7 +10,8 @@ "properties": { "channelName": "DirectLineSpeechChannel", "properties": { - "cognitiveServicesSubscriptionId": "XcognitiveServicesSubscriptionIdX", + "cognitiveServiceRegion": "XcognitiveServiceRegionX", + "cognitiveServiceSubscriptionKey": "XcognitiveServiceSubscriptionKeyX", "isEnabled": true } } @@ -23,7 +24,7 @@ "properties": { "channelName": "DirectLineSpeechChannel", "properties": { - "cognitiveServicesSubscriptionId": "XcognitiveServicesSubscriptionIdX", + "cognitiveServiceRegion": "XcognitiveServiceRegionX", "isEnabled": true } } @@ -35,7 +36,7 @@ "properties": { "channelName": "DirectLineSpeechChannel", "properties": { - "cognitiveServicesSubscriptionId": "XcognitiveServicesSubscriptionIdX", + "cognitiveServiceRegion": "XcognitiveServiceRegionX", "isEnabled": true } }