public interface FirewallRule
An immutable client-side representation of FirewallRule.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    The entirety of the FirewallRule definition.
    static interface 
    The FirewallRule definition stages.
    static interface 
    The template for FirewallRule update.
    static interface 
    The FirewallRule update stages.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the endIpAddress property: The end IP address of the server firewall rule.
    id()
    Gets the id property: Fully qualified resource Id for the resource.
    Gets the inner com.azure.resourcemanager.postgresqlflexibleserver.fluent.models.FirewallRuleInner object.
    Gets the name property: The name of the resource.
    Refreshes the resource to sync with Azure.
    refresh(com.azure.core.util.Context context)
    Refreshes the resource to sync with Azure.
    Gets the name of the resource group.
    Gets the startIpAddress property: The start IP address of the server firewall rule.
    com.azure.core.management.SystemData
    Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Gets the type property: The type of the resource.
    Begins update for the FirewallRule resource.
  • Method Details

    • id

      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      Returns:
      the id value.
    • name

      String name()
      Gets the name property: The name of the resource.
      Returns:
      the name value.
    • type

      String type()
      Gets the type property: The type of the resource.
      Returns:
      the type value.
    • systemData

      com.azure.core.management.SystemData systemData()
      Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • startIpAddress

      String startIpAddress()
      Gets the startIpAddress property: The start IP address of the server firewall rule. Must be IPv4 format.
      Returns:
      the startIpAddress value.
    • endIpAddress

      String endIpAddress()
      Gets the endIpAddress property: The end IP address of the server firewall rule. Must be IPv4 format.
      Returns:
      the endIpAddress value.
    • resourceGroupName

      String resourceGroupName()
      Gets the name of the resource group.
      Returns:
      the name of the resource group.
    • innerModel

      FirewallRuleInner innerModel()
      Gets the inner com.azure.resourcemanager.postgresqlflexibleserver.fluent.models.FirewallRuleInner object.
      Returns:
      the inner object.
    • update

      Begins update for the FirewallRule resource.
      Returns:
      the stage of resource update.
    • refresh

      FirewallRule refresh()
      Refreshes the resource to sync with Azure.
      Returns:
      the refreshed resource.
    • refresh

      FirewallRule refresh(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the refreshed resource.