az kusto database-principal-assignment
Kusto database-principal-assignment.
Commands
az kusto database-principal-assignment create |
Creates a Kusto cluster database principalAssignment. |
az kusto database-principal-assignment delete |
Deletes a Kusto principalAssignment. |
az kusto database-principal-assignment list |
Lists all Kusto cluster database principalAssignments. |
az kusto database-principal-assignment show |
Gets a Kusto cluster database principalAssignment. |
az kusto database-principal-assignment update |
Creates a Kusto cluster database principalAssignment. |
az kusto database-principal-assignment wait |
Place the CLI in a waiting state until a condition of the kusto database-principal-assignment is met. |
az kusto database-principal-assignment create
Creates a Kusto cluster database principalAssignment.
az kusto database-principal-assignment create --cluster-name
--database-name
--principal-assignment-name
--resource-group
[--no-wait]
[--principal-id]
[--principal-type {App, Group, User}]
[--role {Admin, Ingestor, Monitor, UnrestrictedViewers, User, Viewer}]
[--tenant-id]
Examples
KustoDatabasePrincipalAssignmentsCreateOrUpdate
az kusto database-principal-assignment create --cluster-name "kustoclusterrptest4" --database-name "Kustodatabase8" --principal-id "87654321-1234-1234-1234-123456789123" --principal-type "App" --role "Admin" --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 database in 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 database principal. It can be a user email, application ID, or security group name.
Principal type.
Database principal role.
The tenant id of the principal.
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.
Increase logging verbosity. Use --debug for full debug logs.
az kusto database-principal-assignment delete
Deletes a Kusto principalAssignment.
az kusto database-principal-assignment delete --cluster-name
--database-name
--principal-assignment-name
--resource-group
[--no-wait]
Examples
KustoDatabasePrincipalAssignmentsDelete
az kusto database-principal-assignment delete --cluster-name "kustoclusterrptest4" --database-name "Kustodatabase8" --principal-assignment-name "kustoprincipal1" --resource-group "kustorptest"
Required Parameters
The name of the Kusto cluster.
The name of the database in 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.
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.
Increase logging verbosity. Use --debug for full debug logs.
az kusto database-principal-assignment list
Lists all Kusto cluster database principalAssignments.
az kusto database-principal-assignment list --cluster-name
--database-name
--resource-group
Examples
KustoPrincipalAssignmentsList
az kusto database-principal-assignment list --cluster-name "kustoclusterrptest4" --database-name "Kustodatabase8" --resource-group "kustorptest"
Required Parameters
The name of the Kusto cluster.
The name of the database in the Kusto cluster.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
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.
Increase logging verbosity. Use --debug for full debug logs.
az kusto database-principal-assignment show
Gets a Kusto cluster database principalAssignment.
az kusto database-principal-assignment show --cluster-name
--database-name
--principal-assignment-name
--resource-group
Examples
KustoDatabasePrincipalAssignmentsGet
az kusto database-principal-assignment show --cluster-name "kustoclusterrptest4" --database-name "Kustodatabase8" --principal-assignment-name "kustoprincipal1" --resource-group "kustorptest"
Required Parameters
The name of the Kusto cluster.
The name of the database in 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>
.
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.
Increase logging verbosity. Use --debug for full debug logs.
az kusto database-principal-assignment update
Creates a Kusto cluster database principalAssignment.
az kusto database-principal-assignment update --cluster-name
--database-name
--principal-assignment-name
--resource-group
[--no-wait]
[--principal-id]
[--principal-type {App, Group, User}]
[--role {Admin, Ingestor, Monitor, UnrestrictedViewers, User, Viewer}]
[--tenant-id]
Examples
KustoDatabasePrincipalAssignmentsCreateOrUpdate
az kusto database-principal-assignment update --cluster-name "kustoclusterrptest4" --database-name "Kustodatabase8" --principal-id "87654321-1234-1234-1234-123456789123" --principal-type "App" --role "Admin" --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 database in 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 database principal. It can be a user email, application ID, or security group name.
Principal type.
Database principal role.
The tenant id of the principal.
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.
Increase logging verbosity. Use --debug for full debug logs.
az kusto database-principal-assignment wait
Place the CLI in a waiting state until a condition of the kusto database-principal-assignment is met.
az kusto database-principal-assignment wait --cluster-name
--database-name
--principal-assignment-name
--resource-group
[--created]
[--custom]
[--deleted]
[--exists]
[--interval]
[--timeout]
[--updated]
Examples
Pause executing next line of CLI script until the kusto database-principal-assignment is successfully created.
az kusto database-principal-assignment wait --cluster-name "kustoclusterrptest4" --database-name "Kustodatabase8" --principal-assignment-name "kustoprincipal1" --resource-group "kustorptest" --created
Pause executing next line of CLI script until the kusto database-principal-assignment is successfully deleted.
az kusto database-principal-assignment wait --cluster-name "kustoclusterrptest4" --database-name "Kustodatabase8" --principal-assignment-name "kustoprincipal1" --resource-group "kustorptest" --deleted
Required Parameters
The name of the Kusto cluster.
The name of the database in 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
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.
Polling interval in seconds.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
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.
Increase logging verbosity. Use --debug for full debug logs.