direct_line
Creates, updates, deletes, gets or lists a direct_line resource.
Overview
| Name | direct_line |
| Type | Resource |
| Id | azure.bot_service.direct_line |
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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
regenerate_keys | exec | resource_group_name, resource_name, channel_name, subscription_id, siteName, key | Regenerates 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.
| Name | Datatype | Description |
|---|---|---|
channel_name | string | The name of the Channel resource for which keys are to be regenerated. Known values are: "WebChatChannel" and "DirectLineChannel". Required. |
resource_group_name | string | The name of the Bot resource group in the user subscription. Required. |
resource_name | string | The name of the Bot resource. Required. |
subscription_id | string |
Lifecycle Methods
- regenerate_keys
Regenerates secret keys and returns them for the DirectLine Channel of a particular BotService resource.
EXEC azure.bot_service.direct_line.regenerate_keys
@resource_group_name='{{ resource_group_name }}' --required,
@resource_name='{{ resource_name }}' --required,
@channel_name='{{ channel_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"siteName": "{{ siteName }}",
"key": "{{ key }}"
}'
;