az datashare consumer-invitation

注意

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

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

使用 datashare 管理取用者邀請。

命令

名稱 Description 類型 狀態
az datashare consumer-invitation list-invitation

列出邀請。

擴充 實驗性
az datashare consumer-invitation reject-invitation

拒絕邀請。

擴充 實驗性
az datashare consumer-invitation show

取得邀請。

擴充 實驗性

az datashare consumer-invitation list-invitation

實驗

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

列出邀請。

az datashare consumer-invitation list-invitation [--skip-token]

範例

ConsumerInvitations_ListInvitations

az datashare consumer-invitation list-invitation

選擇性參數

--skip-token

接續權杖。

全域參數
--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 consumer-invitation reject-invitation

實驗

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

拒絕邀請。

az datashare consumer-invitation reject-invitation --invitation-id
                                                   --location

範例

ConsumerInvitations_RejectInvitation

az datashare consumer-invitation reject-invitation --invitation-id "dfbbc788-19eb-4607-a5a1-c74181bfff03" --location "East US 2"

必要參數

--invitation-id

邀請的唯一識別碼。

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

az datashare consumer-invitation show

實驗

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

取得邀請。

az datashare consumer-invitation show --invitation-id
                                      --location

範例

ConsumerInvitations_Get

az datashare consumer-invitation show --invitation-id "dfbbc788-19eb-4607-a5a1-c74181bfff03" --location "East US 2"

必要參數

--invitation-id

邀請識別碼。

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