Class PostgreSqlFirewallRule

  • All Implemented Interfaces:
    com.microsoft.azure.toolkit.lib.common.model.AzResource, com.microsoft.azure.toolkit.lib.common.model.AzResourceBase, com.microsoft.azure.toolkit.lib.common.model.Refreshable, com.microsoft.azure.toolkit.lib.database.entity.IFirewallRule
    Direct Known Subclasses:
    PostgreSqlFirewallRuleDraft

    public class PostgreSqlFirewallRule
    extends com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<PostgreSqlFirewallRule,​PostgreSqlServer,​com.azure.resourcemanager.postgresql.models.FirewallRule>
    implements com.microsoft.azure.toolkit.lib.database.entity.IFirewallRule
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResource

        com.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<T extends com.microsoft.azure.toolkit.lib.common.model.AzResource,​R extends Object>, com.microsoft.azure.toolkit.lib.common.model.AzResource.None, com.microsoft.azure.toolkit.lib.common.model.AzResource.Status
      • Nested classes/interfaces inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResourceBase

        com.microsoft.azure.toolkit.lib.common.model.AzResourceBase.FormalStatus
    • Field Summary

      • Fields inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResource

        CACHE_LIFETIME, NONE, RESOURCE_GROUP_PLACEHOLDER
      • Fields inherited from interface com.microsoft.azure.toolkit.lib.database.entity.IFirewallRule

        AZURE_SERVICES_ACCESS_FIREWALL_RULE_NAME, IP_ALLOW_ACCESS_TO_AZURE_SERVICES, MAX_FIREWALL_NAME_LENGTH
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getEndIpAddress()  
      String getStartIpAddress()  
      List<com.microsoft.azure.toolkit.lib.common.model.AbstractAzResourceModule<?,​?,​?>> getSubModules()  
      String loadStatus​(com.azure.resourcemanager.postgresql.models.FirewallRule remote)  
      protected com.azure.resourcemanager.postgresql.models.FirewallRule refreshRemoteFromAzure​(com.azure.resourcemanager.postgresql.models.FirewallRule remote)  
      • Methods inherited from class com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource

        canEqual, delete, deleteFromCache, doModify, doModify, equals, exists, getId, getModule, getName, getParent, getRemote, getResourceGroup, getResourceGroupName, getStatus, getSubModule, hashCode, invalidateCache, isDraft, isDraftForCreating, isDraftForUpdating, loadRemote, refresh, reloadStatus, remoteOptional, setRemote, setStatus, toString, update, updateAdditionalProperties
      • Methods inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResource

        getFullResourceType, getPortalUrl, getResourceTypeName, getSubscription, getSubscriptionId, id, name
      • Methods inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResourceBase

        getFormalStatus, getFormalStatus, getStatus, getStatus
    • Method Detail

      • refreshRemoteFromAzure

        @Nullable
        protected com.azure.resourcemanager.postgresql.models.FirewallRule refreshRemoteFromAzure​(@Nonnull
                                                                                                  com.azure.resourcemanager.postgresql.models.FirewallRule remote)
        Overrides:
        refreshRemoteFromAzure in class com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<PostgreSqlFirewallRule,​PostgreSqlServer,​com.azure.resourcemanager.postgresql.models.FirewallRule>
      • getSubModules

        @Nonnull
        public List<com.microsoft.azure.toolkit.lib.common.model.AbstractAzResourceModule<?,​?,​?>> getSubModules()
        Specified by:
        getSubModules in class com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<PostgreSqlFirewallRule,​PostgreSqlServer,​com.azure.resourcemanager.postgresql.models.FirewallRule>
      • loadStatus

        @Nonnull
        public String loadStatus​(@Nonnull
                                 com.azure.resourcemanager.postgresql.models.FirewallRule remote)
        Specified by:
        loadStatus in class com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<PostgreSqlFirewallRule,​PostgreSqlServer,​com.azure.resourcemanager.postgresql.models.FirewallRule>
      • getStartIpAddress

        @Nullable
        public String getStartIpAddress()
        Specified by:
        getStartIpAddress in interface com.microsoft.azure.toolkit.lib.database.entity.IFirewallRule
      • getEndIpAddress

        @Nullable
        public String getEndIpAddress()
        Specified by:
        getEndIpAddress in interface com.microsoft.azure.toolkit.lib.database.entity.IFirewallRule