Interface SqlFirewallRule

All Superinterfaces:
ChildResource<SqlServer>, ExternalChildResource<SqlFirewallRule,SqlServer>, HasInner<com.microsoft.azure.management.sql.implementation.FirewallRuleInner>, HasName, HasParent<SqlServer>, HasResourceGroup, Indexable, Refreshable<SqlFirewallRule>, Updatable<SqlFirewallRule.Update>

@Beta(V1_7_0) public interface SqlFirewallRule extends ExternalChildResource<SqlFirewallRule,SqlServer>, HasInner<com.microsoft.azure.management.sql.implementation.FirewallRuleInner>, HasResourceGroup, Refreshable<SqlFirewallRule>, Updatable<SqlFirewallRule.Update>
An immutable client-side representation of an Azure SQL Server Firewall Rule.
  • Method Details

    • sqlServerName

      String sqlServerName()
      Returns:
      name of the SQL Server to which this Firewall Rule belongs
    • startIPAddress

      String startIPAddress()
      Returns:
      the start IP address (in IPv4 format) of the Azure SQL Server Firewall Rule.
    • endIPAddress

      String endIPAddress()
      Returns:
      the end IP address (in IPv4 format) of the Azure SQL Server Firewall Rule.
    • kind

      String kind()
      Returns:
      kind of SQL Server that contains this Firewall Rule.
    • region

      Region region()
      Returns:
      region of SQL Server that contains this Firewall Rule.
    • parentId

      @Beta(V1_7_0) String parentId()
      Returns:
      the parent SQL server ID
    • delete

      void delete()
      Deletes the firewall rule.
    • deleteAsync

      @Beta(V1_7_0) rx.Completable deleteAsync()
      Deletes the firewall rule asynchronously.
      Returns:
      a representation of the deferred computation of this call