az synapse workspace managed-identity
Manage workspace's managed-identity.
Commands
Name | Description | Type | Status |
---|---|---|---|
az synapse workspace managed-identity grant-sql-access |
Grant workspace's sql-access to managed-identity. |
Core | GA |
az synapse workspace managed-identity revoke-sql-access |
Revoke workspace's sql-access to managed-identity. |
Core | GA |
az synapse workspace managed-identity show-sql-access |
Show workspace's sql-access state to managed-identity. |
Core | GA |
az synapse workspace managed-identity wait |
Place the CLI in a waiting state until a condition of sql-access state to managed-identity is met. |
Core | GA |
az synapse workspace managed-identity grant-sql-access
Grant workspace's sql-access to managed-identity.
az synapse workspace managed-identity grant-sql-access [--ids]
[--no-wait]
[--resource-group]
[--subscription]
[--workspace-name]
Examples
Grant workspace's sql-access to managed-identity.
az synapse workspace managed-identity grant-sql-access --workspace-name testsynapseworkspace \
--resource-group rg
Optional Parameters
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.
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
.
The workspace 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 synapse workspace managed-identity revoke-sql-access
Revoke workspace's sql-access to managed-identity.
az synapse workspace managed-identity revoke-sql-access [--ids]
[--no-wait]
[--resource-group]
[--subscription]
[--workspace-name]
Examples
Revoke workspace's sql-access to managed-identity.
az synapse workspace managed-identity revoke-sql-access --workspace-name testsynapseworkspace \
--resource-group rg
Optional Parameters
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.
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
.
The workspace 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 synapse workspace managed-identity show-sql-access
Show workspace's sql-access state to managed-identity.
az synapse workspace managed-identity show-sql-access [--ids]
[--resource-group]
[--subscription]
[--workspace-name]
Examples
Show workspace's sql-access state to managed-identity.
az synapse workspace managed-identity show-sql-access --workspace-name testsynapseworkspace \
--resource-group rg
Optional Parameters
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.
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
.
The workspace 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 synapse workspace managed-identity wait
Place the CLI in a waiting state until a condition of sql-access state to managed-identity is met.
az synapse workspace managed-identity wait [--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
[--workspace-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.
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.
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'.
The workspace 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.