Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Remove-AzureSqlDatabaseServerFirewallRule

Remove-AzureSqlDatabaseServerFirewallRule

microsoft.windowsazure.commands.sqldatabase.dll

Synopsis

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

Syntax

Remove-AzureSqlDatabaseServerFirewallRule [-ServerName] [-RuleName] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

Detailed Description

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

Parameters

-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

0

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-RuleName <String>

The SQL Database firewall rule name to be deleted.

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Force <SwitchParameter>

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

-WhatIf <SwitchParameter>

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Aliases

None

Required?

false

Position

named

Default value

false

Accept pipeline input?

false

Accept wildcard characters?

false

-Confirm <SwitchParameter>

Prompts you for confirmation before running the cmdlet.

Aliases

None

Required?

false

Position

named

Default value

false

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type

Microsoft.WindowsAzure.Commands.SqlDatabase.Model.SqlDatabaseServerFirewallRuleContext

Return Type


Notes

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