SqlServer.UpdateStages.WithFirewallRule Interface

public interface WithFirewallRule

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

A SQL Server definition for specifying the firewall rule.

Method Summary

Modifier and Type Method and Description
SqlServer.Update withNewFirewallRule(String ipAddress)

Create new firewall rule in the SQL Server.

SqlServer.Update withNewFirewallRule(String startIPAddress, String endIPAddress)

Create new firewall rule in the SQL Server.

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

Creates new firewall rule in the SQL Server.

SqlServer.Update withoutFirewallRule(String firewallRuleName)

Removes firewall rule from the SQL Server.

Method Details

withNewFirewallRule

public 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 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 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 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