Remove-AzureSqlElasticPool

Remove-AzureSqlElasticPool

Deletes an elastic database pool.

Syntax

Parameter Set: Default
Remove-AzureSqlElasticPool [-ResourceGroupName] <System.String> [-ServerName] <System.String> [-ElasticPoolName] <System.String> [-Force] [-Profile <Microsoft.Azure.Common.Authentication.Models.AzureProfile> ] 

Detailed Description

The Remove-AzureSqlElasticPool cmdlet deletes an elastic pool in Azure SQL Database.

Parameters

-ElasticPoolName<System.String>

Specifies the name of the elastic pool that this cmdlet deletes.

Aliases

none

Required?

true

Position?

3

Default Value

none

Accept Pipeline Input?

true(ByPropertyName)

Accept Wildcard Characters?

false

-Force

Forces the command to run without asking for user confirmation.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Profile<Microsoft.Azure.Common.Authentication.Models.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<System.String>

Specifies the name of the resource group that contains the elastic pool that this cmdlet deletes.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true(ByPropertyName)

Accept Wildcard Characters?

false

-ServerName<System.String>

Specifies the name of the server that contains the elastic pool that this cmdlet modifies.

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

true(ByPropertyName)

Accept Wildcard Characters?

false

Inputs

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

  • System.String

Outputs

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

  • System.Object

Notes

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

Examples

Example 1: Delete an elastic pool

This command deletes an elastic pool named ElasticPool27.

PS C:\> Remove-AzureSqlElasticPool -ResourceGroupName "ResourceGroup11" -ServerName "Server01" -ElasticPoolName "ElasticPool27"

Azure SQL Database

Get-AzureSqlElasticPool

Get-AzureSqlElasticPoolActivity

Get-AzureSqlElasticPoolDatabase

Get-AzureSqlElasticPoolDatabaseActivity

New-AzureSqlElasticPool

Set-AzureSqlElasticPool