az bot slack

This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Manage the Slack Channel on a bot.

Commands

Name Description Type Status
az bot slack create

Create the Slack Channel on a bot.

Core Preview
az bot slack delete

Delete the Slack Channel on a bot.

Core Preview
az bot slack show

Get details of the Slack Channel on a bot.

Core Preview

az bot slack create

Preview

Command group 'bot slack' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Create the Slack Channel on a bot.

az bot slack create --client-id
                    --client-secret
                    --name
                    --resource-group
                    --verification-token
                    [--add-disabled {false, true}]
                    [--landing-page-url]
                    [--location]

Examples

Create the Slack Channel for a bot.

az bot slack create -n botName -g MyResourceGroup --client-id clientid \
--client-secret secret --verification-token token

Required Parameters

--client-id

The client ID from Slack.

--client-secret

The client secret from Slack.

--name -n

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 _.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--verification-token

The verification token from Slack.

Optional Parameters

--add-disabled

Add the channel in a disabled state.

accepted values: false, true
--landing-page-url

The landing page url to redirect to after login.

--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.

default value: global
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az bot slack delete

Preview

Command group 'bot slack' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Delete the Slack Channel on a bot.

az bot slack delete --name
                    --resource-group

Required Parameters

--name -n

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 _.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az bot slack show

Preview

Command group 'bot slack' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Get details of the Slack Channel on a bot.

az bot slack show --name
                  --resource-group
                  [--with-secrets {false, true}]

Required Parameters

--name -n

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 _.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--with-secrets

Show secrets in response for the channel.

accepted values: false, true
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.