共用方式為


az communication phonenumber

備註

此參考是 Azure CLI 的 通訊 延伸模組的一部分(2.59.0 版或更高版本)。 當您第一次執行 az communication phonenumber 命令時,擴充功能會自動安裝。 深入瞭解擴充功能

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

管理通訊服務資源的電話號碼的命令。

命令

名稱 Description 類型 狀態
az communication phonenumber list

列出與通訊服務資源相關聯的所有電話號碼。

擴充套件 預覽
az communication phonenumber show

顯示與通訊服務資源相關聯的電話號碼詳細數據。

擴充套件 預覽

az communication phonenumber list

預覽

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

列出與通訊服務資源相關聯的所有電話號碼。

az communication phonenumber list [--connection-string]

範例

列出 phonenumbers

az communication phonenumber list

選擇性參數

--connection-string

通訊連接字串。 環境變數:AZURE_COMMUNICATION_CONNECTION_STRING。

全域參數
--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 communication phonenumber show

預覽

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

顯示與通訊服務資源相關聯的電話號碼詳細數據。

az communication phonenumber show --phonenumber
                                  [--connection-string]

範例

顯示 phonenumber

az communication phonenumber show --phonenumber "+1833xxxxxxx"

必要參數

--phonenumber

要取得相關信息的電話號碼。

選擇性參數

--connection-string

通訊連接字串。 環境變數:AZURE_COMMUNICATION_CONNECTION_STRING。

全域參數
--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。