Class: PaloAlto::XML::Config::Shared::Profiles::DosProtection::Entry::Flood::Udp::Red
- Inherits:
-
PaloAlto::XML::ConfigClass
- Object
- Expression
- PaloAlto::XML::ConfigClass
- PaloAlto::XML::Config::Shared::Profiles::DosProtection::Entry::Flood::Udp::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
18827 18828 18829 |
# File 'lib/palo_alto/config.rb', line 18827 def _section :red end |
#activate_rate ⇒ Object
Connection rate (cps) to start RED
18856 18857 18858 |
# File 'lib/palo_alto/config.rb', line 18856 def activate_rate prop_get('activate-rate') end |
#activate_rate=(val) ⇒ Object
Connection rate (cps) to start RED
18860 18861 18862 |
# File 'lib/palo_alto/config.rb', line 18860 def activate_rate=(val) prop_set('activate-rate', val) end |
#alarm_rate ⇒ Object
Connection rate (cps) to generate alarm
18848 18849 18850 |
# File 'lib/palo_alto/config.rb', line 18848 def alarm_rate prop_get('alarm-rate') end |
#alarm_rate=(val) ⇒ Object
Connection rate (cps) to generate alarm
18852 18853 18854 |
# File 'lib/palo_alto/config.rb', line 18852 def alarm_rate=(val) prop_set('alarm-rate', val) end |
#block ⇒ Object
18843 18844 18845 |
# File 'lib/palo_alto/config.rb', line 18843 def block @subclasses['block'] ||= Block.new(parent_instance: self, client: @client, create_children: @create_children) end |
#has_multiple_values? ⇒ Boolean
18826 |
# File 'lib/palo_alto/config.rb', line 18826 def has_multiple_values?; false; end |
#maximal_rate ⇒ Object
Maximal connection rate (cps) allowed
18864 18865 18866 |
# File 'lib/palo_alto/config.rb', line 18864 def maximal_rate prop_get('maximal-rate') end |
#maximal_rate=(val) ⇒ Object
Maximal connection rate (cps) allowed
18868 18869 18870 |
# File 'lib/palo_alto/config.rb', line 18868 def maximal_rate=(val) prop_set('maximal-rate', val) end |