Class: PaloAlto::XML::Config::Shared::Profiles::DosProtection::Entry::Flood::TcpSyn::Red

Inherits:
PaloAlto::XML::ConfigClass show all
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

#arguments, #expression

Instance Method Summary collapse

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

#_sectionObject



18711
18712
18713
# File 'lib/palo_alto/config.rb', line 18711

def _section
:red
end

#activate_rateObject

Connection rate (cps) to start RED



18740
18741
18742
# File 'lib/palo_alto/config.rb', line 18740

def activate_rate
prop_get('activate-rate')
end

#activate_rate=(val) ⇒ Object

Connection rate (cps) to start RED



18744
18745
18746
# File 'lib/palo_alto/config.rb', line 18744

def activate_rate=(val)
prop_set('activate-rate', val)
end

#alarm_rateObject

Connection rate (cps) to generate alarm



18732
18733
18734
# File 'lib/palo_alto/config.rb', line 18732

def alarm_rate
prop_get('alarm-rate')
end

#alarm_rate=(val) ⇒ Object

Connection rate (cps) to generate alarm



18736
18737
18738
# File 'lib/palo_alto/config.rb', line 18736

def alarm_rate=(val)
prop_set('alarm-rate', val)
end

#blockObject



18727
18728
18729
# File 'lib/palo_alto/config.rb', line 18727

def block
@subclasses['block'] ||= Block.new(parent_instance: self, client: @client, create_children: @create_children)
end

#has_multiple_values?Boolean

Returns:

  • (Boolean)


18710
# File 'lib/palo_alto/config.rb', line 18710

def has_multiple_values?; false; end

#maximal_rateObject

Maximal connection rate (cps) allowed



18748
18749
18750
# File 'lib/palo_alto/config.rb', line 18748

def maximal_rate
prop_get('maximal-rate')
end

#maximal_rate=(val) ⇒ Object

Maximal connection rate (cps) allowed



18752
18753
18754
# File 'lib/palo_alto/config.rb', line 18752

def maximal_rate=(val)
prop_set('maximal-rate', val)
end