SqlServer.DefinitionStages.WithFirewallRule Interface

public static interface SqlServer.DefinitionStages.WithFirewallRule

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

Method Summary

Modifier and Type Method and Description
abstract Blank<WithCreate> defineFirewallRule(String firewallRuleName)

Begins the definition of a new SQL Firewall rule to be added to this server.

abstract WithCreate withNewFirewallRule(String ipAddress)

Creates new firewall rule in the SQL Server.

abstract WithCreate withNewFirewallRule(String startIPAddress, String endIPAddress)

Creates new firewall rule in the SQL Server.

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

Creates new firewall rule in the SQL Server.

abstract WithCreate withoutAccessFromAzureServices()

Sets the Azure services default access to this server to false.

Method Details

defineFirewallRule

public abstract SqlFirewallRule.DefinitionStages.Blank defineFirewallRule(String firewallRuleName)

Begins the definition of a new SQL Firewall rule to be added to this server.

Parameters:

firewallRuleName - the name of the new SQL Firewall rule

Returns:

the first stage of the new SQL Firewall rule definition

withNewFirewallRule


public abstract SqlServer.DefinitionStages.WithCreate withNewFirewallRule(String ipAddress)

Creates new firewall rule in the SQL Server.

Parameters:

ipAddress - ipAddress for the firewall rule

Returns:

Next stage of the SQL Server definition

withNewFirewallRule


public abstract SqlServer.DefinitionStages.WithCreate withNewFirewallRule(String startIPAddress, String endIPAddress)

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

Returns:

Next stage of the SQL Server definition

withNewFirewallRule


public abstract SqlServer.DefinitionStages.WithCreate 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 definition

withoutAccessFromAzureServices

public abstract SqlServer.DefinitionStages.WithCreate withoutAccessFromAzureServices()

Sets the Azure services default access to this server to false.

The default is to allow Azure services default access to this server via a special firewall rule named "AllowAllWindowsAzureIps" with the start IP "0.0.0.0".

Returns:

Next stage of the SQL Server definition

Applies to