SqlServer.UpdateStages.WithFirewallRule Interface

public static interface SqlServer.UpdateStages.WithFirewallRule

The stage of the SQL Server update definition allowing to specify the SQL Firewall rules.

Method Summary

Modifier and Type Method and Description
abstract Update withNewFirewallRule(String ipAddress)

Create new firewall rule in the SQL Server.

abstract Update withNewFirewallRule(String startIPAddress, String endIPAddress)

Create new firewall rule in the SQL Server.

abstract Update withNewFirewallRule(String startIPAddress, String endIPAddress, String firewallRuleName)

Creates new firewall rule in the SQL Server.

abstract Update withoutFirewallRule(String firewallRuleName)

Removes firewall rule from the SQL Server.

Method Details

withNewFirewallRule


public abstract SqlServer.Update withNewFirewallRule(String ipAddress)

Create new firewall rule in the SQL Server.

Parameters:

ipAddress - IP address for the firewall rule

Returns:

Next stage of the SQL Server update

withNewFirewallRule


public abstract SqlServer.Update withNewFirewallRule(String startIPAddress, String endIPAddress)

Create new firewall rule in the SQL Server.

Parameters:

startIPAddress - Start IP address for the firewall rule
endIPAddress - IP address for the firewall rule

Returns:

Next stage of the SQL Server update

withNewFirewallRule


public abstract SqlServer.Update withNewFirewallRule(String startIPAddress, String endIPAddress, String firewallRuleName)

Creates new firewall rule in the SQL Server.

Parameters:

startIPAddress - start IP address for the firewall rule
endIPAddress - end IP address for the firewall rule
firewallRuleName - name for the firewall rule

Returns:

Next stage of the SQL Server update

withoutFirewallRule


public abstract SqlServer.Update withoutFirewallRule(String firewallRuleName)

Removes firewall rule from the SQL Server.

Parameters:

firewallRuleName - name of the firewall rule to be removed

Returns:

Next stage of the SQL Server update

Applies to