Class: PaloAlto::XML::Config::Shared::Profiles::DosProtection::Entry::Flood::OtherIp::Red
- Inherits:
-
PaloAlto::XML::ConfigClass
- Object
- Expression
- PaloAlto::XML::ConfigClass
- PaloAlto::XML::Config::Shared::Profiles::DosProtection::Entry::Flood::OtherIp::Red
- Defined in:
- lib/palo_alto/config.rb
Defined Under Namespace
Classes: Block
Constant Summary
Constants included from DSL
DSL::AXES, DSL::LOWERCASE_LETTERS, DSL::METHODS, DSL::OPERATORS, DSL::UPPERCASE_LETTERS
Instance Attribute Summary
Attributes inherited from PaloAlto::XML::ConfigClass
#api_attributes, #parent_instance, #subclasses
Attributes inherited from Expression
Instance Method Summary collapse
- #_section ⇒ Object
-
#activate_rate ⇒ Object
Connection rate (cps) to start RED.
-
#activate_rate=(val) ⇒ Object
Connection rate (cps) to start RED.
-
#alarm_rate ⇒ Object
Connection rate (cps) to generate alarm.
-
#alarm_rate=(val) ⇒ Object
Connection rate (cps) to generate alarm.
- #block ⇒ Object
- #has_multiple_values? ⇒ Boolean
-
#maximal_rate ⇒ Object
Maximal connection rate (cps) allowed.
-
#maximal_rate=(val) ⇒ Object
Maximal connection rate (cps) allowed.
Methods inherited from PaloAlto::XML::ConfigClass
#array_class_setter, #clear!, #complete, #create!, #delete!, #delete_child, #edit!, #enforce_type, #enforce_types, #external_set, #get, #get_all, #get_class_from_child_str, #get_primary_key, #initialize, #inspect, #maybe_register_subclass, #multimove!, #prop_get, #prop_set, #selector_subclasses, #set!, #set_array_class_attributes, #set_values, #to_xml, #values, #xml_builder
Methods inherited from Expression
#current, #initialize, #to_xpath
Methods included from DSL
#anywhere, #axis, #binary_operator, #child, #contains_word, #css, #current, #descendant, #ends_with, #function, #is, #last, #lowercase, #method, #next_sibling, #one_of, #parenthesis, #position, #previous_sibling, #qname, #relative, #root, #text, #union, #uppercase, #where, #xpath_attr
Constructor Details
This class inherits a constructor from PaloAlto::XML::ConfigClass
Instance Method Details
#_section ⇒ Object
19025 19026 19027 |
# File 'lib/palo_alto/config.rb', line 19025 def _section :red end |
#activate_rate ⇒ Object
Connection rate (cps) to start RED
19054 19055 19056 |
# File 'lib/palo_alto/config.rb', line 19054 def activate_rate prop_get('activate-rate') end |
#activate_rate=(val) ⇒ Object
Connection rate (cps) to start RED
19058 19059 19060 |
# File 'lib/palo_alto/config.rb', line 19058 def activate_rate=(val) prop_set('activate-rate', val) end |
#alarm_rate ⇒ Object
Connection rate (cps) to generate alarm
19046 19047 19048 |
# File 'lib/palo_alto/config.rb', line 19046 def alarm_rate prop_get('alarm-rate') end |
#alarm_rate=(val) ⇒ Object
Connection rate (cps) to generate alarm
19050 19051 19052 |
# File 'lib/palo_alto/config.rb', line 19050 def alarm_rate=(val) prop_set('alarm-rate', val) end |
#block ⇒ Object
19041 19042 19043 |
# File 'lib/palo_alto/config.rb', line 19041 def block @subclasses['block'] ||= Block.new(parent_instance: self, client: @client, create_children: @create_children) end |
#has_multiple_values? ⇒ Boolean
19024 |
# File 'lib/palo_alto/config.rb', line 19024 def has_multiple_values?; false; end |
#maximal_rate ⇒ Object
Maximal connection rate (cps) allowed
19062 19063 19064 |
# File 'lib/palo_alto/config.rb', line 19062 def maximal_rate prop_get('maximal-rate') end |
#maximal_rate=(val) ⇒ Object
Maximal connection rate (cps) allowed
19066 19067 19068 |
# File 'lib/palo_alto/config.rb', line 19066 def maximal_rate=(val) prop_set('maximal-rate', val) end |