java.lang.Object
com.microsoft.azure.management.storage.IPRule

public class IPRule extends Object
IP rule with specific IP or IP range in CIDR format.
  • Constructor Details

    • IPRule

      public IPRule()
  • Method Details

    • iPAddressOrRange

      public String iPAddressOrRange()
      Get specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
      Returns:
      the iPAddressOrRange value
    • withIPAddressOrRange

      public IPRule withIPAddressOrRange(String iPAddressOrRange)
      Set specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
      Parameters:
      iPAddressOrRange - the iPAddressOrRange value to set
      Returns:
      the IPRule object itself.
    • action

      public Action action()
      Get the action of IP ACL rule. Possible values include: 'Allow'.
      Returns:
      the action value
    • withAction

      public IPRule withAction(Action action)
      Set the action of IP ACL rule. Possible values include: 'Allow'.
      Parameters:
      action - the action value to set
      Returns:
      the IPRule object itself.