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). If provided, no other 'Resource Id' arguments should be specified.

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

--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]
[--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). If provided, no other 'Resource Id' arguments should be specified.

--name -n

The virtual cluster name.

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