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<With |
defineFirewallRule(String firewallRuleName)
Begins the definition of a new SQL Firewall rule to be added to this server. |
abstract
With |
withNewFirewallRule(String ipAddress)
Creates new firewall rule in the SQL Server. |
abstract
With |
withNewFirewallRule(String startIPAddress, String endIPAddress)
Creates new firewall rule in the SQL Server. |
abstract
With |
withNewFirewallRule(String startIPAddress, String endIPAddress, String firewallRuleName)
Creates new firewall rule in the SQL Server. |
abstract
With |
withoutAccessFromAzureServices()
Sets the Azure services default access to this server to false. |
Method Details
defineFirewallRule
public abstract SqlFirewallRule.DefinitionStages.Blank
Begins the definition of a new SQL Firewall rule to be added to this server.
Parameters:
Returns:
withNewFirewallRule
public abstract SqlServer.DefinitionStages.WithCreate withNewFirewallRule(String ipAddress)
Creates new firewall rule in the SQL Server.
Parameters:
Returns:
withNewFirewallRule
public abstract SqlServer.DefinitionStages.WithCreate withNewFirewallRule(String startIPAddress, String endIPAddress)
Creates new firewall rule in the SQL Server.
Parameters:
Returns:
withNewFirewallRule
public abstract SqlServer.DefinitionStages.WithCreate withNewFirewallRule(String startIPAddress, String endIPAddress, String firewallRuleName)
Creates new firewall rule in the SQL Server.
Parameters:
Returns:
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:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för