az sql virtual-cluster

Manage SQL virtual clusters.

Commands

az sql virtual-cluster delete

Delete a virtual cluster.

az sql virtual-cluster list

List available virtual clusters.

az sql virtual-cluster show

Get the details for a virtual cluster.

az sql virtual-cluster delete

Delete a virtual cluster.

az sql virtual-cluster delete [--ids]
                              [--name]
                              [--no-wait]
                              [--resource-group]
                              [--subscription]

Examples

Delete a virtual cluster

az sql virtual-cluster delete -g mygroup -n mycluster

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.

--name -n

The virtual cluster name.

--no-wait

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

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

az sql virtual-cluster list

List available virtual clusters.

az sql virtual-cluster list [--query-examples]
                            [--resource-group]
                            [--subscription]

Examples

List all virtual clusters in the current subscription.

az sql virtual-cluster list

List all virtual clusters in a resource group.

az sql virtual-cluster list -g mygroup

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

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

az sql virtual-cluster show

Get the details for a virtual cluster.

az sql virtual-cluster show [--ids]
                            [--name]
                            [--query-examples]
                            [--resource-group]
                            [--subscription]

Examples

Get the details for a virtual cluster

az sql virtual-cluster show -g mygroup -n mycluster

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.

--name -n

The virtual cluster name.

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

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