az kusto cluster-principal-assignment
Note
This reference is part of the kusto extension for the Azure CLI (version 2.15.0 or higher). The extension will automatically install the first time you run an az kusto cluster-principal-assignment command. Learn more about extensions.
Command group 'kusto' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage cluster principal assignment with kusto.
Commands
Name | Description | Type | Status |
---|---|---|---|
az kusto cluster-principal-assignment create |
Create a Kusto cluster principalAssignment. |
Extension | Experimental |
az kusto cluster-principal-assignment delete |
Deletes a Kusto cluster principalAssignment. |
Extension | Experimental |
az kusto cluster-principal-assignment list |
Lists all Kusto cluster principalAssignments. |
Extension | Experimental |
az kusto cluster-principal-assignment show |
Gets a Kusto cluster principalAssignment. |
Extension | Experimental |
az kusto cluster-principal-assignment update |
Update a Kusto cluster principalAssignment. |
Extension | Experimental |
az kusto cluster-principal-assignment wait |
Place the CLI in a waiting state until a condition of the kusto cluster-principal-assignment is met. |
Extension | Experimental |
az kusto cluster-principal-assignment create
Command group 'kusto' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Create a Kusto cluster principalAssignment.
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]
Examples
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"
Required Parameters
The name of the Kusto cluster.
The name of the Kusto principalAssignment.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Do not wait for the long-running operation to finish.
The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name.
Principal type.
Cluster principal role.
The tenant id of the principal.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az kusto cluster-principal-assignment delete
Command group 'kusto' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Deletes a Kusto cluster principalAssignment.
az kusto cluster-principal-assignment delete [--cluster-name]
[--ids]
[--no-wait]
[--principal-assignment-name]
[--resource-group]
[--subscription]
[--yes]
Examples
KustoClusterPrincipalAssignmentsDelete
az kusto cluster-principal-assignment delete --cluster-name "kustoclusterrptest4" --principal-assignment-name "kustoprincipal1" --resource-group "kustorptest"
Optional Parameters
The name of the Kusto cluster.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Do not wait for the long-running operation to finish.
The name of the Kusto principalAssignment.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az kusto cluster-principal-assignment list
Command group 'kusto' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Lists all Kusto cluster principalAssignments.
az kusto cluster-principal-assignment list --cluster-name
--resource-group
Examples
KustoPrincipalAssignmentsList
az kusto cluster-principal-assignment list --cluster-name "kustoclusterrptest4" --resource-group "kustorptest"
Required Parameters
The name of the Kusto cluster.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az kusto cluster-principal-assignment show
Command group 'kusto' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Gets a Kusto cluster principalAssignment.
az kusto cluster-principal-assignment show [--cluster-name]
[--ids]
[--principal-assignment-name]
[--resource-group]
[--subscription]
Examples
KustoClusterPrincipalAssignmentsGet
az kusto cluster-principal-assignment show --cluster-name "kustoclusterrptest4" --principal-assignment-name "kustoprincipal1" --resource-group "kustorptest"
Optional Parameters
The name of the Kusto cluster.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
The name of the Kusto principalAssignment.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az kusto cluster-principal-assignment update
Command group 'kusto' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Update a Kusto cluster principalAssignment.
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]
Optional Parameters
Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>
.
The name of the Kusto cluster.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Do not wait for the long-running operation to finish.
The name of the Kusto principalAssignment.
The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name.
Principal type.
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Cluster principal role.
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
The tenant id of the principal.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az kusto cluster-principal-assignment wait
Command group 'kusto' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Place the CLI in a waiting state until a condition of the kusto cluster-principal-assignment is met.
az kusto cluster-principal-assignment wait [--cluster-name]
[--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--principal-assignment-name]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
Examples
Pause executing next line of CLI script until the kusto cluster-principal-assignment is successfully created.
az kusto cluster-principal-assignment wait --cluster-name "kustoclusterrptest4" --principal-assignment-name "kustoprincipal1" --resource-group "kustorptest" --created
Pause executing next line of CLI script until the kusto cluster-principal-assignment is successfully updated.
az kusto cluster-principal-assignment wait --cluster-name "kustoclusterrptest4" --principal-assignment-name "kustoprincipal1" --resource-group "kustorptest" --updated
Pause executing next line of CLI script until the kusto cluster-principal-assignment is successfully deleted.
az kusto cluster-principal-assignment wait --cluster-name "kustoclusterrptest4" --principal-assignment-name "kustoprincipal1" --resource-group "kustorptest" --deleted
Optional Parameters
The name of the Kusto cluster.
Wait until created with 'provisioningState' at 'Succeeded'.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
Wait until the resource exists.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Polling interval in seconds.
The name of the Kusto principalAssignment.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI