az kusto cluster-principal-assignment

Kusto cluster-principal-assignment.

Commands

az kusto cluster-principal-assignment create

Create a Kusto cluster principalAssignment.

az kusto cluster-principal-assignment delete

Deletes a Kusto cluster principalAssignment.

az kusto cluster-principal-assignment list

Lists all Kusto cluster principalAssignments.

az kusto cluster-principal-assignment show

Gets a Kusto cluster principalAssignment.

az kusto cluster-principal-assignment update

Create a Kusto cluster principalAssignment.

az kusto cluster-principal-assignment wait

Place the CLI in a waiting state until a condition of the kusto cluster-principal-assignment is met.

az kusto cluster-principal-assignment create

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

--cluster-name

The name of the Kusto cluster.

--principal-assignment-name

The name of the Kusto principalAssignment.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--no-wait

Do not wait for the long-running operation to finish.

--principal-id

The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name.

--principal-type

Principal type.

accepted values: App, Group, User
--role

Cluster principal role.

accepted values: AllDatabasesAdmin, AllDatabasesViewer
--tenant-id

The tenant id of the principal.

az kusto cluster-principal-assignment delete

Deletes a Kusto cluster principalAssignment.

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

Examples

KustoClusterPrincipalAssignmentsDelete

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

Required Parameters

--cluster-name

The name of the Kusto cluster.

--principal-assignment-name

The name of the Kusto principalAssignment.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--no-wait

Do not wait for the long-running operation to finish.

az kusto cluster-principal-assignment list

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

--cluster-name

The name of the Kusto cluster.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az kusto cluster-principal-assignment show

Gets a Kusto cluster principalAssignment.

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

Examples

KustoClusterPrincipalAssignmentsGet

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

Required Parameters

--cluster-name

The name of the Kusto cluster.

--principal-assignment-name

The name of the Kusto principalAssignment.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az kusto cluster-principal-assignment update

Create a Kusto cluster principalAssignment.

az kusto cluster-principal-assignment update --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 update --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

--cluster-name

The name of the Kusto cluster.

--principal-assignment-name

The name of the Kusto principalAssignment.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--no-wait

Do not wait for the long-running operation to finish.

--principal-id

The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name.

--principal-type

Principal type.

accepted values: App, Group, User
--role

Cluster principal role.

accepted values: AllDatabasesAdmin, AllDatabasesViewer
--tenant-id

The tenant id of the principal.

az kusto cluster-principal-assignment wait

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
                                           --principal-assignment-name
                                           --resource-group
                                           [--created]
                                           [--custom]
                                           [--deleted]
                                           [--exists]
                                           [--interval]
                                           [--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 deleted.

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

Required Parameters

--cluster-name

The name of the Kusto cluster.

--principal-assignment-name

The name of the Kusto principalAssignment.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--created

Wait until created with 'provisioningState' at 'Succeeded'.

--custom

Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].

--deleted

Wait until deleted.

--exists

Wait until the resource exists.

--interval

Polling interval in seconds.

default value: 30
--timeout

Maximum wait in seconds.

default value: 3600
--updated

Wait until updated with provisioningState at 'Succeeded'.