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>