Listing Firewall rules in SQL Azure


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,

  1. Name
  2. Start IP Address
  3. 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.

Azure1.gif

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,

Azure2.gif

In coming article we will fetch firewall rules programmatically.

Up Next
    Ebook Download
    View all
    Learn
    View all