Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

az sql server deleted-server

Gets details of deleted SQL servers.

Commands

Name Description Type Status
az sql server deleted-server list

List all deleted SQL servers in a specific location.

Core Preview
az sql server deleted-server show

Get the details of a deleted SQL server in a specific location.

Core Preview

az sql server deleted-server list

Preview

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

List all deleted SQL servers in a specific location.

az sql server deleted-server list --location

Examples

List all deleted servers in a specific location.

az sql server deleted-server list --location westus2

Required Parameters

--location -l

Location where the deleted servers were originally located.

az sql server deleted-server show

Preview

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

Get the details of a deleted SQL server in a specific location.

az sql server deleted-server show --location
 [--ids]
 [--name]
 [--subscription]

Examples

Get details of a deleted server by name and location.

az sql server deleted-server show --name myserver --location westus2

Required Parameters

--location -l

Location where the deleted server was originally located.

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

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

Property Value
Parameter group: Resource Id Arguments
--name -n

Name of the deleted server.

Property Value
Parameter group: Resource Id Arguments
--subscription

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

Property Value
Parameter group: Resource Id Arguments

Feedback

Was this page helpful?