Share via


az synapse kusto pool-principal-assignment

This command group is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Manage kusto pool principal assignment with synapse.

Commands

Name Description Type Status
az synapse kusto pool-principal-assignment create

Create a Kusto pool principalAssignment.

Core Experimental
az synapse kusto pool-principal-assignment delete

Deletes a Kusto pool principalAssignment.

Core Experimental
az synapse kusto pool-principal-assignment list

Lists all Kusto pool principalAssignments.

Core Experimental
az synapse kusto pool-principal-assignment show

Gets a Kusto pool principalAssignment.

Core Experimental
az synapse kusto pool-principal-assignment update

Update a Kusto pool principalAssignment.

Core Experimental
az synapse kusto pool-principal-assignment wait

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

Core Experimental

az synapse kusto pool-principal-assignment create

Experimental

Command group 'synapse kusto pool-principal-assignment' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Create a Kusto pool principalAssignment.

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

Examples

KustoPoolPrincipalAssignmentsCreateOrUpdate

az synapse kusto pool-principal-assignment create --kusto-pool-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" --workspace-name "synapseWorkspaceName"

Required Parameters

--kusto-pool-name

The name of the Kusto pool.

--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>.

--workspace-name

The name of the workspace.

Optional Parameters

--no-wait

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

Default value: False
--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.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az synapse kusto pool-principal-assignment delete

Experimental

Command group 'synapse kusto pool-principal-assignment' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Deletes a Kusto pool principalAssignment.

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

Examples

KustoPoolPrincipalAssignmentsDelete

az synapse kusto pool-principal-assignment delete --kusto-pool-name "kustoclusterrptest4" --principal-assignment-name "kustoprincipal1" --resource-group "kustorptest" --workspace-name "synapseWorkspaceName"

Optional Parameters

--ids

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.

--kusto-pool-name

The name of the Kusto pool.

--no-wait

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

Default value: False
--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>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--workspace-name

The name of the workspace.

--yes -y

Do not prompt for confirmation.

Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az synapse kusto pool-principal-assignment list

Experimental

Command group 'synapse kusto pool-principal-assignment' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Lists all Kusto pool principalAssignments.

az synapse kusto pool-principal-assignment list --kusto-pool-name
                                                --resource-group
                                                --workspace-name

Examples

KustoPoolPrincipalAssignmentsList

az synapse kusto pool-principal-assignment list --kusto-pool-name "kustoclusterrptest4" --resource-group "kustorptest" --workspace-name "synapseWorkspaceName"

Required Parameters

--kusto-pool-name

The name of the Kusto pool.

--resource-group -g

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

--workspace-name

The name of the workspace.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az synapse kusto pool-principal-assignment show

Experimental

Command group 'synapse kusto pool-principal-assignment' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Gets a Kusto pool principalAssignment.

az synapse kusto pool-principal-assignment show [--ids]
                                                [--kusto-pool-name]
                                                [--principal-assignment-name]
                                                [--resource-group]
                                                [--subscription]
                                                [--workspace-name]

Examples

KustoPoolPrincipalAssignmentsGet

az synapse kusto pool-principal-assignment show --kusto-pool-name "kustoclusterrptest4" --principal-assignment-name "kustoprincipal1" --resource-group "kustorptest" --workspace-name "synapseWorkspaceName"

Optional Parameters

--ids

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.

--kusto-pool-name

The name of the Kusto pool.

--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>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--workspace-name

The name of the workspace.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az synapse kusto pool-principal-assignment update

Experimental

Command group 'synapse kusto pool-principal-assignment' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Update a Kusto pool principalAssignment.

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

Optional Parameters

--add

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>.

Default value: []
--force-string

When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.

Default value: False
--ids

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.

--kusto-pool-name

The name of the Kusto pool.

--no-wait

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

Default value: False
--principal-assignment-name

The name of the Kusto principalAssignment.

--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
--remove

Remove a property or an element from a list. Example: --remove property.list <indexToRemove> OR --remove propertyToRemove.

Default value: []
--resource-group -g

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

--role

Cluster principal role.

Accepted values: AllDatabasesAdmin, AllDatabasesViewer
--set

Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>.

Default value: []
--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--tenant-id

The tenant id of the principal.

--workspace-name

The name of the workspace.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az synapse kusto pool-principal-assignment wait

Experimental

Command group 'synapse kusto pool-principal-assignment' 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 synapse kusto pool-principal-assignment is met.

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

Examples

Pause executing next line of CLI script until the synapse kusto pool-principal-assignment is successfully created.

az synapse kusto pool-principal-assignment wait --kusto-pool-name "kustoclusterrptest4" --principal-assignment-name "kustoprincipal1" --resource-group "kustorptest" --workspace-name "synapseWorkspaceName" --created

Pause executing next line of CLI script until the synapse kusto pool-principal-assignment is successfully updated.

az synapse kusto pool-principal-assignment wait --kusto-pool-name "kustoclusterrptest4" --principal-assignment-name "kustoprincipal1" --resource-group "kustorptest" --workspace-name "synapseWorkspaceName" --updated

Pause executing next line of CLI script until the synapse kusto pool-principal-assignment is successfully deleted.

az synapse kusto pool-principal-assignment wait --kusto-pool-name "kustoclusterrptest4" --principal-assignment-name "kustoprincipal1" --resource-group "kustorptest" --workspace-name "synapseWorkspaceName" --deleted

Optional Parameters

--created

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

Default value: False
--custom

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

--deleted

Wait until deleted.

Default value: False
--exists

Wait until the resource exists.

Default value: False
--ids

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.

--interval

Polling interval in seconds.

Default value: 30
--kusto-pool-name

The name of the Kusto pool.

--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>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--timeout

Maximum wait in seconds.

Default value: 3600
--updated

Wait until updated with provisioningState at 'Succeeded'.

Default value: False
--workspace-name

The name of the workspace.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.