Class: PaloAlto::XML::Config::Shared::PreRulebase::Pbf::Rules::Entry::Action::Forward::Monitor

Inherits:
PaloAlto::XML::ConfigClass show all
Defined in:
lib/palo_alto/config.rb

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



34972
34973
34974
# File 'lib/palo_alto/config.rb', line 34972

def _section
:monitor
end

#disable_if_unreachableObject

Disable this rule if nexthop/monitor ip is unreachable



34985
34986
34987
# File 'lib/palo_alto/config.rb', line 34985

def disable_if_unreachable
prop_get('disable-if-unreachable')
end

#disable_if_unreachable=(val) ⇒ Object

Disable this rule if nexthop/monitor ip is unreachable



34989
34990
34991
# File 'lib/palo_alto/config.rb', line 34989

def disable_if_unreachable=(val)
prop_set('disable-if-unreachable', val)
end

#has_multiple_values?Boolean

Returns:

  • (Boolean)


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

def has_multiple_values?; false; end

#ip_addressObject

Monitor IP address



34993
34994
34995
# File 'lib/palo_alto/config.rb', line 34993

def ip_address
prop_get('ip-address')
end

#ip_address=(val) ⇒ Object

Monitor IP address



34997
34998
34999
# File 'lib/palo_alto/config.rb', line 34997

def ip_address=(val)
prop_set('ip-address', val)
end

#profileObject

Monitoring profile associated with this rule



34977
34978
34979
# File 'lib/palo_alto/config.rb', line 34977

def profile
prop_get('profile')
end

#profile=(val) ⇒ Object

Monitoring profile associated with this rule



34981
34982
34983
# File 'lib/palo_alto/config.rb', line 34981

def profile=(val)
prop_set('profile', val)
end