az synapse sql pool

Manage SQL pools.

Commands

az synapse sql pool create

Create a SQL pool.

az synapse sql pool delete

Delete a SQL pool.

az synapse sql pool list

List all SQL pools.

az synapse sql pool pause

Pause a SQL pool.

az synapse sql pool resume

Resume a SQL pool.

az synapse sql pool show

Get a SQL pool.

az synapse sql pool update

Update a SQL pool.

az synapse sql pool wait

Place the CLI in a waiting state until a condition of a SQL pool is met.

az synapse sql pool create

Create a SQL pool.

az synapse sql pool create --name
                           --performance-level
                           --resource-group
                           --workspace-name
                           [--no-wait]
                           [--tags]

Examples

Create a SQL pool.

az synapse sql pool create --name sqlpoolcli1 --performance-level "DW1000c" \
--workspace-name testsynapseworkspace --resource-group rg

Required Parameters

--name -n

The SQL pool name.

--performance-level

The performance level.

--resource-group -g

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

--workspace-name

The workspace name.

Optional Parameters

--no-wait

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

--tags

Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.

az synapse sql pool delete

Delete a SQL pool.

az synapse sql pool delete --name
                           --resource-group
                           --workspace-name
                           [--no-wait]
                           [--yes]

Examples

Delete a SQL pool.

az synapse sql pool delete --name sqlpoolcli1 --workspace-name testsynapseworkspace --resource-group rg

Required Parameters

--name -n

The SQL pool name.

--resource-group -g

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

--workspace-name

The workspace name.

Optional Parameters

--no-wait

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

--yes -y

Do not prompt for confirmation.

az synapse sql pool list

List all SQL pools.

az synapse sql pool list --resource-group
                         --workspace-name

Examples

List SQL pools.

az synapse sql pool list --workspace-name testsynapseworkspace --resource-group rg

Required Parameters

--resource-group -g

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

--workspace-name

The workspace name.

az synapse sql pool pause

Pause a SQL pool.

az synapse sql pool pause --name
                          --resource-group
                          --workspace-name

Examples

Pause a SQL pool.

az synapse sql pool pause --name sqlpoolcli1 --workspace-name testsynapseworkspace --resource-group rg

Required Parameters

--name -n

The SQL pool name.

--resource-group -g

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

--workspace-name

The workspace name.

az synapse sql pool resume

Resume a SQL pool.

az synapse sql pool resume --name
                           --resource-group
                           --workspace-name

Examples

Resume a SQL pool.

az synapse sql pool resume --name sqlpoolcli1 --workspace-name testsynapseworkspace --resource-group rg

Required Parameters

--name -n

The SQL pool name.

--resource-group -g

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

--workspace-name

The workspace name.

az synapse sql pool show

Get a SQL pool.

az synapse sql pool show --name
                         --resource-group
                         --workspace-name

Examples

Get a SQL pool.

az synapse sql pool show --name sqlpoolcli1 --workspace-name testsynapseworkspace --resource-group rg

Required Parameters

--name -n

The SQL pool name.

--resource-group -g

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

--workspace-name

The workspace name.

az synapse sql pool update

Update a SQL pool.

az synapse sql pool update --name
                           --resource-group
                           --workspace-name
                           [--performance-level]
                           [--tags]

Examples

Update a SQL pool.

az synapse sql pool update --name sqlpoolcli1 --workspace-name testsynapseworkspace --resource-group rg \
--tags key1=value1

Required Parameters

--name -n

The SQL pool name.

--resource-group -g

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

--workspace-name

The workspace name.

Optional Parameters

--performance-level

The performance level.

--tags

Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.

az synapse sql pool wait

Place the CLI in a waiting state until a condition of a SQL pool is met.

az synapse sql pool wait --resource-group
                         --sql-pool-name
                         --workspace-name
                         [--created]
                         [--custom]
                         [--deleted]
                         [--exists]
                         [--interval]
                         [--timeout]
                         [--updated]

Required Parameters

--resource-group -g

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

--sql-pool-name

SQL pool name.

--workspace-name

The workspace 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'.