SqlServer.FirewallRules Interface
public interface FirewallRules
Entry point to firewall rules from the SQL Server.
Method Summary
Modifier and Type | Method and Description |
---|---|
SqlFirewallRule.DefinitionStages.Blank |
define(String firewallRuleName)
Creates a new firewall rule in SQL Server. |
void |
delete(String firewallRuleName)
Delete specified firewall rule in the server. |
Completable |
deleteAsync(String firewallRuleName)
Delete specified firewall rule in the server. |
Sql |
get(String firewallRuleName)
Gets a particular firewall rule. |
List<Sql |
list()
Returns all the firewall rules for the server. |
Method Details
define
public SqlFirewallRule.DefinitionStages.Blank define(String firewallRuleName)
Creates a new firewall rule in SQL Server.
Parameters:
Returns:
delete
public void delete(String firewallRuleName)
Delete specified firewall rule in the server.
Parameters:
deleteAsync
public Completable deleteAsync(String firewallRuleName)
Delete specified firewall rule in the server.
Parameters:
Returns:
get
public SqlFirewallRule get(String firewallRuleName)
Gets a particular firewall rule.
Parameters:
Returns:
list
public List
Returns all the firewall rules for the server.
Returns:
Applies to
Azure SDK for Java