你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DirectLine interface

Interface representing a DirectLine.

Methods

regenerateKeys(string, string, RegenerateKeysChannelName, SiteInfo, DirectLineRegenerateKeysOptionalParams)

Regenerates secret keys and returns them for the DirectLine Channel of a particular BotService resource

Method Details

regenerateKeys(string, string, RegenerateKeysChannelName, SiteInfo, DirectLineRegenerateKeysOptionalParams)

Regenerates secret keys and returns them for the DirectLine Channel of a particular BotService resource

function regenerateKeys(resourceGroupName: string, resourceName: string, channelName: RegenerateKeysChannelName, parameters: SiteInfo, options?: DirectLineRegenerateKeysOptionalParams): Promise<BotChannel>

Parameters

resourceGroupName

string

The name of the Bot resource group in the user subscription.

resourceName

string

The name of the Bot resource.

channelName
RegenerateKeysChannelName

The name of the Channel resource for which keys are to be regenerated.

parameters
SiteInfo

The parameters to provide for the created bot.

options
DirectLineRegenerateKeysOptionalParams

The options parameters.

Returns

Promise<BotChannel>