Interface SqlServer.DefinitionStages.WithFirewallRule
- All Known Subinterfaces:
SqlServer.Definition, SqlServer.DefinitionStages.WithCreate
- Enclosing interface:
SqlServer.DefinitionStages
public static interface SqlServer.DefinitionStages.WithFirewallRule
The stage of the SQL Server definition allowing to specify the SQL Firewall rules.
-
Method Summary
Modifier and TypeMethodDescriptiondefineFirewallRule(String firewallRuleName) Begins the definition of a new SQL Firewall rule to be added to this server.Sets the Azure services default access to this server to false.
-
Method Details
-
withoutAccessFromAzureServices
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
-
defineFirewallRule
SqlFirewallRule.DefinitionStages.Blank<? extends SqlServer.DefinitionStages.WithCreate> 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
-