Share via


Suspend-AzureSqlDatabase

Suspend-AzureSqlDatabase

Suspends an Azure SQL database.

Syntax

Parameter Set: Default
Suspend-AzureSqlDatabase [-ResourceGroupName] <String> [-ServerName] <String> -DatabaseName <String> [-Profile <AzureProfile> ] [ <CommonParameters>]

Detailed Description

The Suspend-AzureSqlDatabase cmdlet suspends an Azure SQL database.

Parameters

-DatabaseName<String>

Specifies the name of the database that this cmdlet suspends.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true(ByPropertyName)

Accept Wildcard Characters?

false

-Profile<AzureProfile>

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ResourceGroupName<String>

Specifies the name of the resource group.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true(ByPropertyName)

Accept Wildcard Characters?

false

-ServerName<String>

Specifies the name of the server which hosts the database that this cmdlet suspends.

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

true(ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Get-AzureSqlDatabase

New-AzureSqlDatabase

Remove-AzureSqlDatabase

Resume-AzureSqlDatabase

Set-AzureSqlDatabase