Class: PaloAlto::XML::Config::Devices::Entry::Deviceconfig::HighAvailability
- Inherits:
-
PaloAlto::XML::ConfigClass
- Object
- Expression
- PaloAlto::XML::ConfigClass
- PaloAlto::XML::Config::Devices::Entry::Deviceconfig::HighAvailability
- Defined in:
- lib/palo_alto/config.rb
Defined Under Namespace
Classes: ElectionOption, PathMonitoring, Peer
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
- #election_option ⇒ Object
-
#enabled ⇒ Object
Enable high-availability.
-
#enabled=(val) ⇒ Object
Enable high-availability.
- #has_multiple_values? ⇒ Boolean
- #path_monitoring ⇒ Object
- #peer ⇒ Object
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
50624 50625 50626 |
# File 'lib/palo_alto/config.rb', line 50624 def _section :'high-availability' end |
#election_option ⇒ Object
50788 50789 50790 |
# File 'lib/palo_alto/config.rb', line 50788 def election_option @subclasses['election-option'] ||= ElectionOption.new(parent_instance: self, client: @client, create_children: @create_children) end |
#enabled ⇒ Object
Enable high-availability
50894 50895 50896 |
# File 'lib/palo_alto/config.rb', line 50894 def enabled prop_get('enabled') end |
#enabled=(val) ⇒ Object
Enable high-availability
50898 50899 50900 |
# File 'lib/palo_alto/config.rb', line 50898 def enabled=(val) prop_set('enabled', val) end |
#has_multiple_values? ⇒ Boolean
50623 |
# File 'lib/palo_alto/config.rb', line 50623 def has_multiple_values?; false; end |
#path_monitoring ⇒ Object
50889 50890 50891 |
# File 'lib/palo_alto/config.rb', line 50889 def path_monitoring @subclasses['path-monitoring'] ||= PathMonitoring.new(parent_instance: self, client: @client, create_children: @create_children) end |