In this post, we will fetch firewall rules from SQL Azure. Each Database server
in SQL Azure is associated with one or more firewall rules. Each firewall rules
have,
- Name
- Start IP Address
- End IP Address
Firewall rules can be fetched by querying
against Master Database.
To retrieve firewall rules login to SQL Azure portal and open Database Manager
for Master database.
Read here about SQL Azure portal and working with Database Manager
Once, Database manager is open select new query option and execute below select
statement.
select name , start_ip_address, end_ip_address FROM sys.FireWall_rules
On successful execution on select statement all firewall rules will get listed
as below,
In coming article we will fetch firewall rules programmatically.