Skip to main content

direct_lines

Creates, updates, deletes, gets or lists a direct_lines resource.

Overview

Namedirect_lines
TypeResource
Idazure.bot_service.direct_lines

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
regenerate_keysexecresourceGroupName, resourceName, subscriptionId, channelName, siteName, keyRegenerates secret keys and returns them for the DirectLine Channel of a particular BotService resource

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
channelNamestringThe name of the Channel resource for which keys are to be regenerated.
resourceGroupNamestringThe name of the Bot resource group in the user subscription.
resourceNamestringThe name of the Bot resource.
subscriptionIdstringAzure Subscription ID.

Lifecycle Methods

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

EXEC azure.bot_service.direct_lines.regenerate_keys 
@resourceGroupName='{{ resourceGroupName }}' --required,
@resourceName='{{ resourceName }}' --required,
@subscriptionId='{{ subscriptionId }}' --required,
@channelName='{{ channelName }}' --required
@@json=
'{
"siteName": "{{ siteName }}",
"key": "{{ key }}"
}'
;