az bot directline
This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage the Directline Channel on a bot.
Commands
Name | Description | Type | Status |
---|---|---|---|
az bot directline create |
Create the DirectLine Channel on a bot with only v3 protocol enabled. |
Core | Preview |
az bot directline delete |
Delete the Directline Channel on a bot. |
Core | Preview |
az bot directline show |
Get details of the Directline Channel on a bot. |
Core | Preview |
az bot directline update |
Update the DirectLine Channel on a bot with only v3 protocol enabled. |
Core | Preview |
az bot directline create
Command group 'bot directline' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Create the DirectLine Channel on a bot with only v3 protocol enabled.
az bot directline create --name
--resource-group
[--add-disabled {false, true}]
[--disablev1 {false, true}]
[--disablev3 {false, true}]
[--enable-enhanced-auth {false, true}]
[--location]
[--site-name]
[--trusted-origins]
Examples
Create the DirectLine Channel for a bot.
az bot directline create -n botName -g MyResourceGroup --disablev1
Required Parameters
The resource name of the bot. Bot name must be between 4 and 42 characters in length. Bot name can only have the following characters -, a - z, A - Z, 0 - 9, and _.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Add the channel in a disabled state.
If true, v1 protocol will be disabled on the channel.
If true, v3 protocol will be disabled on the channel.
If true, enables enhanced authentication features. Must be true for --trusted-origins parameters to work.
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
Name of the Directline channel site.
Space separated Trusted Origins URLs (must use HTTPS) e.g. --trusted-origins https://mybotsite1.azurewebsites.net https://mybotsite2.azurewebsites.net.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az bot directline delete
Command group 'bot directline' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Delete the Directline Channel on a bot.
az bot directline delete --name
--resource-group
Required Parameters
The resource name of the bot. Bot name must be between 4 and 42 characters in length. Bot name can only have the following characters -, a - z, A - Z, 0 - 9, and _.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az bot directline show
Command group 'bot directline' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Get details of the Directline Channel on a bot.
az bot directline show --name
--resource-group
[--with-secrets {false, true}]
Required Parameters
The resource name of the bot. Bot name must be between 4 and 42 characters in length. Bot name can only have the following characters -, a - z, A - Z, 0 - 9, and _.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Show secrets in response for the channel.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az bot directline update
Command group 'bot directline' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Update the DirectLine Channel on a bot with only v3 protocol enabled.
az bot directline update --name
--resource-group
[--add-disabled {false, true}]
[--disablev1 {false, true}]
[--disablev3 {false, true}]
[--enable-enhanced-auth {false, true}]
[--site-name]
[--trusted-origins]
Examples
Update the DirectLine Channel for a bot.
az bot directline update -n botName -g MyResourceGroup --disablev1
Required Parameters
The resource name of the bot. Bot name must be between 4 and 42 characters in length. Bot name can only have the following characters -, a - z, A - Z, 0 - 9, and _.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Add the channel in a disabled state.
If true, v1 protocol will be disabled on the channel.
If true, v3 protocol will be disabled on the channel.
If true, enables enhanced authentication features. Must be true for --trusted-origins parameters to work.
Name of the Directline channel site.
Space separated Trusted Origins URLs (must use HTTPS) e.g. --trusted-origins https://mybotsite1.azurewebsites.net https://mybotsite2.azurewebsites.net.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.