Interface SqlFirewallRule

All Superinterfaces:
ChildResource<SqlServer>, ExternalChildResource<SqlFirewallRule,SqlServer>, HasInnerModel<FirewallRuleInner>, HasName, HasParent<SqlServer>, HasResourceGroup, Indexable, Refreshable<SqlFirewallRule>, Updatable<SqlFirewallRule.Update>

An immutable client-side representation of an Azure SQL Server Firewall Rule.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Grouping of all the SQL Firewall Rule definition stages.
    static interface 
    Container interface for all the definitions that need to be implemented.
    static interface 
    The template for a SQL Firewall Rule update operation, containing all the settings that can be modified.
    static interface 
    Grouping of all the SQL Firewall Rule update stages.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deletes the firewall rule.
    Deletes the firewall rule asynchronously.
    Gets the end Ip address (in Ipv4 format) of the Azure SQL Server Firewall Rule.
    Gets the kind of SQL Server that contains this Firewall Rule.
    Gets the parent SQL server ID.
    com.azure.core.management.Region
    Gets the region of SQL Server that contains this Firewall Rule.
    Gets the name of the SQL Server to which this Firewall Rule belongs.
    Gets the start Ip address (in Ipv4 format) of the Azure SQL Server Firewall Rule.

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.ExternalChildResource

    id

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel

    innerModel

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName

    name

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasParent

    parent

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup

    resourceGroupName

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Indexable

    key

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable

    refresh, refreshAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Updatable

    update
  • Method Details

    • sqlServerName

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

      String startIpAddress()
      Gets the start Ip address (in Ipv4 format) of the Azure SQL Server Firewall Rule.
      Returns:
      the start Ip address (in Ipv4 format) of the Azure SQL Server Firewall Rule.
    • endIpAddress

      String endIpAddress()
      Gets the end Ip address (in Ipv4 format) of the Azure SQL Server Firewall Rule.
      Returns:
      the end Ip address (in Ipv4 format) of the Azure SQL Server Firewall Rule.
    • kind

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

      com.azure.core.management.Region region()
      Gets the region of SQL Server that contains this Firewall Rule.
      Returns:
      region of SQL Server that contains this Firewall Rule.
    • parentId

      String parentId()
      Gets the parent SQL server ID.
      Returns:
      the parent SQL server ID
    • delete

      void delete()
      Deletes the firewall rule.
    • deleteAsync

      Mono<Void> deleteAsync()
      Deletes the firewall rule asynchronously.
      Returns:
      a representation of the deferred computation of this call