共用方式為


az kusto cluster-principal-assignment

Note

This reference is part of the kusto extension for the Azure CLI (version 2.15.0 or higher). 擴充功能會在您第一次執行 az kusto cluster-principal-assignment 命令時自動安裝。 Learn more about extensions.

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

使用 kusto 管理叢集主體指派。

命令

名稱 Description 類型 狀態
az kusto cluster-principal-assignment create

建立 Kusto 叢集主體Assignment。

Extension Experimental
az kusto cluster-principal-assignment delete

刪除 Kusto 叢集主體Assignment。

Extension Experimental
az kusto cluster-principal-assignment list

列出所有 Kusto 叢集主體Assignments。

Extension Experimental
az kusto cluster-principal-assignment show

取得 Kusto 叢集主體Assignment。

Extension Experimental
az kusto cluster-principal-assignment update

更新 Kusto 叢集主體Assignment。

Extension Experimental
az kusto cluster-principal-assignment wait

將 CLI 置於等候狀態,直到符合 kusto cluster-principal-assignment 的條件為止。

Extension Experimental

az kusto cluster-principal-assignment create

實驗

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

建立 Kusto 叢集主體Assignment。

az kusto cluster-principal-assignment create --cluster-name
                                             --principal-assignment-name
                                             --resource-group
                                             [--no-wait]
                                             [--principal-id]
                                             [--principal-type {App, Group, User}]
                                             [--role {AllDatabasesAdmin, AllDatabasesViewer}]
                                             [--tenant-id]

範例

KustoClusterPrincipalAssignmentsCreateOrUpdate

az kusto cluster-principal-assignment create --cluster-name "kustoclusterrptest4" --principal-id "87654321-1234-1234-1234-123456789123" --principal-type "App" --role "AllDatabasesAdmin" --tenant-id "12345678-1234-1234-1234-123456789123" --principal-assignment-name "kustoprincipal1" --resource-group "kustorptest"

必要參數

--cluster-name

Kusto 叢集的名稱。

--principal-assignment-name

Kusto principalAssignment 的名稱。

--resource-group -g

資源組名。 您可以使用 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.

--no-wait

請勿等候長時間執行的作業完成。

屬性
預設值: False
--principal-id

指派給叢集主體的主體標識碼。 它可以是使用者電子郵件、應用程式識別碼或安全組名稱。

--principal-type

Principal type.

屬性
接受的值: App, Group, User
--role

叢集主體角色。

屬性
接受的值: AllDatabasesAdmin, AllDatabasesViewer
--tenant-id

主體的租用戶標識碼。

全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

Output format.

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

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

--subscription

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

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False

az kusto cluster-principal-assignment delete

實驗

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

刪除 Kusto 叢集主體Assignment。

az kusto cluster-principal-assignment delete [--cluster-name]
                                             [--ids]
                                             [--no-wait]
                                             [--principal-assignment-name]
                                             [--resource-group]
                                             [--subscription]
                                             [--yes]

範例

KustoClusterPrincipalAssignmentsDelete

az kusto cluster-principal-assignment delete --cluster-name "kustoclusterrptest4" --principal-assignment-name "kustoprincipal1" --resource-group "kustorptest"

選擇性參數

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--cluster-name

Kusto 叢集的名稱。

屬性
Parameter group: Resource Id Arguments
--ids

一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。

屬性
Parameter group: Resource Id Arguments
--no-wait

請勿等候長時間執行的作業完成。

屬性
預設值: False
--principal-assignment-name

Kusto principalAssignment 的名稱。

屬性
Parameter group: Resource Id Arguments
--resource-group -g

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

屬性
Parameter group: Resource Id Arguments
--subscription

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

屬性
Parameter group: Resource Id Arguments
--yes -y

請勿提示確認。

屬性
預設值: False
全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

Output format.

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

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

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False

az kusto cluster-principal-assignment list

實驗

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

列出所有 Kusto 叢集主體Assignments。

az kusto cluster-principal-assignment list --cluster-name
                                           --resource-group

範例

KustoPrincipalAssignmentsList

az kusto cluster-principal-assignment list --cluster-name "kustoclusterrptest4" --resource-group "kustorptest"

必要參數

--cluster-name

Kusto 叢集的名稱。

--resource-group -g

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

全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

Output format.

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

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

--subscription

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

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False

az kusto cluster-principal-assignment show

實驗

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

取得 Kusto 叢集主體Assignment。

az kusto cluster-principal-assignment show [--cluster-name]
                                           [--ids]
                                           [--principal-assignment-name]
                                           [--resource-group]
                                           [--subscription]

範例

KustoClusterPrincipalAssignmentsGet

az kusto cluster-principal-assignment show --cluster-name "kustoclusterrptest4" --principal-assignment-name "kustoprincipal1" --resource-group "kustorptest"

選擇性參數

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--cluster-name

Kusto 叢集的名稱。

屬性
Parameter group: Resource Id Arguments
--ids

一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。

屬性
Parameter group: Resource Id Arguments
--principal-assignment-name

Kusto principalAssignment 的名稱。

屬性
Parameter group: Resource Id Arguments
--resource-group -g

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

屬性
Parameter group: Resource Id Arguments
--subscription

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

屬性
Parameter group: Resource Id Arguments
全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

Output format.

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

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

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False

az kusto cluster-principal-assignment update

實驗

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

更新 Kusto 叢集主體Assignment。

az kusto cluster-principal-assignment update [--add]
                                             [--cluster-name]
                                             [--force-string]
                                             [--ids]
                                             [--no-wait]
                                             [--principal-assignment-name]
                                             [--principal-id]
                                             [--principal-type {App, Group, User}]
                                             [--remove]
                                             [--resource-group]
                                             [--role {AllDatabasesAdmin, AllDatabasesViewer}]
                                             [--set]
                                             [--subscription]
                                             [--tenant-id]

選擇性參數

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--add

藉由指定路徑和索引鍵值組,將物件加入物件清單。 範例: --add property.listProperty <key=value, string or JSON string>.

屬性
Parameter group: Generic Update Arguments
預設值: []
--cluster-name

Kusto 叢集的名稱。

屬性
Parameter group: Resource Id Arguments
--force-string

使用 'set' 或 'add' 時,請保留字串常值,而不是嘗試轉換成 JSON。

屬性
Parameter group: Generic Update Arguments
預設值: False
--ids

一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。

屬性
Parameter group: Resource Id Arguments
--no-wait

請勿等候長時間執行的作業完成。

屬性
預設值: False
--principal-assignment-name

Kusto principalAssignment 的名稱。

屬性
Parameter group: Resource Id Arguments
--principal-id

指派給叢集主體的主體標識碼。 它可以是使用者電子郵件、應用程式識別碼或安全組名稱。

--principal-type

Principal type.

屬性
接受的值: App, Group, User
--remove

從清單中移除屬性或專案。 範例: --remove property.list <indexToRemove>--remove propertyToRemove

屬性
Parameter group: Generic Update Arguments
預設值: []
--resource-group -g

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

屬性
Parameter group: Resource Id Arguments
--role

叢集主體角色。

屬性
接受的值: AllDatabasesAdmin, AllDatabasesViewer
--set

指定要設定的屬性路徑和值,以更新物件。 範例: --set property1.property2=<value>.

屬性
Parameter group: Generic Update Arguments
預設值: []
--subscription

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

屬性
Parameter group: Resource Id Arguments
--tenant-id

主體的租用戶標識碼。

全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

Output format.

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

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

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False

az kusto cluster-principal-assignment wait

實驗

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

將 CLI 置於等候狀態,直到符合 kusto cluster-principal-assignment 的條件為止。

az kusto cluster-principal-assignment wait [--cluster-name]
                                           [--created]
                                           [--custom]
                                           [--deleted]
                                           [--exists]
                                           [--ids]
                                           [--interval]
                                           [--principal-assignment-name]
                                           [--resource-group]
                                           [--subscription]
                                           [--timeout]
                                           [--updated]

範例

暫停執行下一行 CLI 腳本,直到成功建立 kusto cluster-principal-assignment 為止。

az kusto cluster-principal-assignment wait --cluster-name "kustoclusterrptest4" --principal-assignment-name "kustoprincipal1" --resource-group "kustorptest" --created

暫停執行下一行 CLI 腳本,直到 kusto cluster-principal-assignment 成功更新為止。

az kusto cluster-principal-assignment wait --cluster-name "kustoclusterrptest4" --principal-assignment-name "kustoprincipal1" --resource-group "kustorptest" --updated

暫停執行下一行 CLI 腳本,直到成功刪除 kusto cluster-principal-assignment 為止。

az kusto cluster-principal-assignment wait --cluster-name "kustoclusterrptest4" --principal-assignment-name "kustoprincipal1" --resource-group "kustorptest" --deleted

選擇性參數

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--cluster-name

Kusto 叢集的名稱。

屬性
Parameter group: Resource Id Arguments
--created

請等候在 'Succeeded' 使用 'provisioningState' 建立。

屬性
Parameter group: Wait Condition Arguments
預設值: False
--custom

等到條件符合自定義 JMESPath 查詢為止。 例如 provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running']。

屬性
Parameter group: Wait Condition Arguments
--deleted

等到刪除為止。

屬性
Parameter group: Wait Condition Arguments
預設值: False
--exists

等候資源存在。

屬性
Parameter group: Wait Condition Arguments
預設值: False
--ids

一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。

屬性
Parameter group: Resource Id Arguments
--interval

輪詢間隔以秒為單位。

屬性
Parameter group: Wait Condition Arguments
預設值: 30
--principal-assignment-name

Kusto principalAssignment 的名稱。

屬性
Parameter group: Resource Id Arguments
--resource-group -g

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

屬性
Parameter group: Resource Id Arguments
--subscription

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

屬性
Parameter group: Resource Id Arguments
--timeout

以秒為單位的等候上限。

屬性
Parameter group: Wait Condition Arguments
預設值: 3600
--updated

等到 provisioningState 更新為 'Succeeded'。

屬性
Parameter group: Wait Condition Arguments
預設值: False
全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

Output format.

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

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

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False