az bot skype

此命令群組處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus

管理 Bot 上的 Skype 通道。

命令

名稱 Description 類型 狀態
az bot skype create

在 Bot 上建立 Skype 通道。

核心 預覽版
az bot skype delete

刪除 Bot 上的 Skype 通道。

核心 預覽版
az bot skype show

取得 Bot 上 Skype 通道的詳細資料。

核心 預覽版

az bot skype create

預覽

命令群組 'bot skype' 處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus

在 Bot 上建立 Skype 通道。

az bot skype create --name
                    --resource-group
                    [--add-disabled {false, true}]
                    [--calling-web-hook]
                    [--enable-calling {false, true}]
                    [--enable-groups {false, true}]
                    [--enable-media-cards {false, true}]
                    [--enable-messaging {false, true}]
                    [--enable-screen-sharing {false, true}]
                    [--enable-video {false, true}]
                    [--groups-mode]
                    [--location]

範例

為已啟用訊息和螢幕共用的 Bot 建立 Skype 通道

az bot skype create -n botName -g MyResourceGroup --enable-messaging
--enable-screen-sharing

必要參數

--name -n

Bot 的資源名稱。 Bot 名稱長度必須介於 4 到 42 個字元之間。 Bot 名稱只能包含下列字元:-、a 到 z、A 到 Z、0 到 9 和 _。

--resource-group -g

資源組名。 您可以使用 來設定預設群組 az configure --defaults group=<name>

選擇性參數

--add-disabled

以停用狀態新增通道。

接受的值: false, true
--calling-web-hook

在 Skype 上使用的通話 Web 攔截。

--enable-calling

在 Skype 上啟用通話。

接受的值: false, true
--enable-groups

在 Skype 上啟用群組。

接受的值: false, true
--enable-media-cards

在 Skype 上啟用媒體卡。

接受的值: false, true
--enable-messaging

在 Skype 上啟用傳訊。

接受的值: false, true
--enable-screen-sharing

在 Skype 上啟用螢幕共用。

接受的值: false, true
--enable-video

在 Skype 上啟用視訊。

接受的值: false, true
--groups-mode

在 Skype 上選取群組模式。

--location -l

位置。​​ 來自的值: az account list-locations 。 您可以使用 來設定預設位置 az configure --defaults location=<location>

預設值: global
全域參數
--debug

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
預設值: json
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--subscription

訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 az account set -s NAME_OR_ID 帳戶。

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az bot skype delete

預覽

命令群組 'bot skype' 處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus

刪除 Bot 上的 Skype 通道。

az bot skype delete --name
                    --resource-group

必要參數

--name -n

Bot 的資源名稱。 Bot 名稱長度必須介於 4 到 42 個字元之間。 Bot 名稱只能包含下列字元:-、a 到 z、A 到 Z、0 到 9 和 _。

--resource-group -g

資源組名。 您可以使用 來設定預設群組 az configure --defaults group=<name>

全域參數
--debug

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
預設值: json
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--subscription

訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 az account set -s NAME_OR_ID 帳戶。

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az bot skype show

預覽

命令群組 'bot skype' 處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus

取得 Bot 上 Skype 通道的詳細資料。

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

必要參數

--name -n

Bot 的資源名稱。 Bot 名稱長度必須介於 4 到 42 個字元之間。 Bot 名稱只能包含下列字元:-、a 到 z、A 到 Z、0 到 9 和 _。

--resource-group -g

資源組名。 您可以使用 來設定預設群組 az configure --defaults group=<name>

選擇性參數

--with-secrets

顯示回應通道的秘密。

接受的值: false, true
全域參數
--debug

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
預設值: json
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--subscription

訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 az account set -s NAME_OR_ID 帳戶。

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。