az datashare invitation
Note
This reference is part of the datashare extension for the Azure CLI (version 2.15.0 or higher). 當您第一次執行 az datashare 邀請 命令時,擴充功能會自動安裝。 Learn more about extensions.
命令群組 'datashare' 是實驗性且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
使用 datashare 管理邀請。
命令
名稱 | Description | 類型 | 狀態 |
---|---|---|---|
az datashare invitation create |
建立邀請。 |
Extension | Experimental |
az datashare invitation delete |
刪除共用中的邀請。 |
Extension | Experimental |
az datashare invitation list |
列出共用中的邀請。 |
Extension | Experimental |
az datashare invitation show |
在共用中取得邀請。 |
Extension | Experimental |
az datashare invitation create
命令群組 'datashare' 是實驗性且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
建立邀請。
az datashare invitation create --account-name
--invitation-name --name
--resource-group
--share-name
[--expiration-date]
[--target-active-directory-id]
[--target-email]
[--target-object-id]
範例
Invitations_Create
az datashare invitation create --account-name "Account1" --expiration-date "2020-08-26T22:33:24.5785265Z" --target-email "receiver@microsoft.com" --name "Invitation1" --resource-group "SampleResourceGroup" --share-name "Share1"
必要參數
共用帳戶的名稱。
邀請的名稱。
資源組名。 您可以使用 az configure --defaults group=<name>
來設定預設群組。
要傳送邀請的共享名稱。
選擇性參數
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
邀請和共用訂閱的到期日。
目標 Azure AD 識別碼。無法與電子郵件合併。
邀請傳送到的電子郵件。
要傳送邀請的目標使用者或應用程式識別碼。 必須沿著 TargetActiveDirectoryId 指定。 這可讓您將邀請傳送給AD租使用者中的特定使用者或應用程式。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
屬性 | 值 |
---|---|
預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
屬性 | 值 |
---|---|
預設值: | False |
Output format.
屬性 | 值 |
---|---|
預設值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID
來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
屬性 | 值 |
---|---|
預設值: | False |
az datashare invitation delete
命令群組 'datashare' 是實驗性且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
刪除共用中的邀請。
az datashare invitation delete [--account-name]
[--ids]
[--invitation-name --name]
[--resource-group]
[--share-name]
[--subscription]
[--yes]
範例
Invitations_Delete
az datashare invitation delete --account-name "Account1" --name "Invitation1" --resource-group "SampleResourceGroup" --share-name "Share1"
選擇性參數
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
共用帳戶的名稱。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
邀請的名稱。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>
來設定預設群組。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
共用的名稱。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID
來設定預設訂用帳戶。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
請勿提示確認。
屬性 | 值 |
---|---|
預設值: | False |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
屬性 | 值 |
---|---|
預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
屬性 | 值 |
---|---|
預設值: | False |
Output format.
屬性 | 值 |
---|---|
預設值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
屬性 | 值 |
---|---|
預設值: | False |
az datashare invitation list
命令群組 'datashare' 是實驗性且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
列出共用中的邀請。
az datashare invitation list --account-name
--resource-group
--share-name
[--filter]
[--orderby]
[--skip-token]
範例
Invitations_ListByShare
az datashare invitation list --account-name "Account1" --resource-group "SampleResourceGroup" --share-name "Share1"
必要參數
共用帳戶的名稱。
資源組名。 您可以使用 az configure --defaults group=<name>
來設定預設群組。
共用的名稱。
選擇性參數
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
使用 OData 語法篩選結果。
使用 OData 語法排序結果。
接續令牌。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
屬性 | 值 |
---|---|
預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
屬性 | 值 |
---|---|
預設值: | False |
Output format.
屬性 | 值 |
---|---|
預設值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID
來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
屬性 | 值 |
---|---|
預設值: | False |
az datashare invitation show
命令群組 'datashare' 是實驗性且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
在共用中取得邀請。
az datashare invitation show [--account-name]
[--ids]
[--invitation-name --name]
[--resource-group]
[--share-name]
[--subscription]
範例
Invitations_Get
az datashare invitation show --account-name "Account1" --name "Invitation1" --resource-group "SampleResourceGroup" --share-name "Share1"
選擇性參數
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
共用帳戶的名稱。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
邀請的名稱。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>
來設定預設群組。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
共用的名稱。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID
來設定預設訂用帳戶。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
屬性 | 值 |
---|---|
預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
屬性 | 值 |
---|---|
預設值: | False |
Output format.
屬性 | 值 |
---|---|
預設值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
屬性 | 值 |
---|---|
預設值: | False |