Share via


az datashare email-registration

注意

此參考是 Azure CLI 的資料共用 延伸模組的一部分 (2.15.0 版或更高版本)。 擴充功能會在您第一次執行 az datashare email-registration 命令時自動安裝。 深入了解擴充功能。

命令群組 'datashare' 是實驗性且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus

使用 datashare 管理電子郵件註冊。

命令

名稱 Description 類型 狀態
az datashare email-registration activate-email

啟用目前租使用者的電子郵件註冊。

擴充 實驗性
az datashare email-registration register-email

註冊目前租使用者的電子郵件。

擴充 實驗性

az datashare email-registration activate-email

實驗

命令群組 'datashare' 是實驗性且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus

啟用目前租使用者的電子郵件註冊。

az datashare email-registration activate-email --location
                                               [--activation-code]

範例

EmailRegistrations_ActivateEmail

az datashare email-registration activate-email --activation-code "djsfhakj2lekowd3wepfklpwe9lpflcd" --location "East US 2"

必要參數

--location -l

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

選擇性參數

--activation-code

註冊的啟用碼。

全域參數
--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 datashare email-registration register-email

實驗

命令群組 'datashare' 是實驗性且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus

註冊目前租使用者的電子郵件。

az datashare email-registration register-email --location

範例

EmailRegistrations_RegisterEmail

az datashare email-registration register-email --location "East US 2"

必要參數

--location -l

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

全域參數
--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 來取得完整偵錯記錄。