Remove-AzureSqlDatabaseServerFirewallRule

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Remove-AzureSqlDatabaseServerFirewallRule

Deletes a firewall rule from the specified Windows Azure SQL Database Server in the current subscription.

Syntax

Parameter Set: Default
Remove-AzureSqlDatabaseServerFirewallRule [-ServerName] <String> -RuleName <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Remove-AzureSqlDatabaseServerFirewallRule deletes a firewall rule from the specified SQL Database Server in the current subscription.

Parameters

-Force

Allows the action to complete without prompting you for confirmation.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-RuleName<String>

The SQL Database firewall rule name to be deleted.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ServerName<String>

The SQL Database Server name from where the firewall rule is to be deleted. Specify only the server name, and not the fully qualified DNS name.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.

Required?

false

Position?

named

Default Value

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.

Required?

false

Position?

named

Default Value

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

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

Inputs

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

  • Microsoft.WindowsAzure.Management.SqlDatabase.Model.SqlDatabaseServerFirewallRuleContext

Outputs

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

Examples

-------------- Example 1 --------------

This command deletes a firewall rule (“myRule”) from the specified SQL Database Server (“lpqd0zbr8y”).

PS C:\> Remove-AzureSqlDatabaseServerFirewallRule -ServerName "lpqd0zbr8y" -RuleName "myRule"



Get-AzureSqlDatabaseServerFirewallRule

New-AzureSqlDatabaseServerFirewallRule

Set-AzureSqlDatabaseServerFirewallRule