Class: PaloAlto::XML::Config::Panorama::ServerProfile::Dns::Entry
- Inherits:
-
ArrayConfigClass
- Object
- Expression
- PaloAlto::XML::ConfigClass
- ArrayConfigClass
- PaloAlto::XML::Config::Panorama::ServerProfile::Dns::Entry
- Defined in:
- lib/palo_alto/config.rb
Defined Under Namespace
Classes: Inheritance, Source, SourceV6
Constant Summary
Constants included from DSL
DSL::AXES, DSL::LOWERCASE_LETTERS, DSL::METHODS, DSL::OPERATORS, DSL::UPPERCASE_LETTERS
Instance Attribute Summary
Attributes inherited from ArrayConfigClass
Attributes inherited from PaloAlto::XML::ConfigClass
#api_attributes, #parent_instance, #subclasses
Attributes inherited from Expression
Instance Method Summary collapse
- #_section ⇒ Object
- #has_multiple_values? ⇒ Boolean
- #inheritance ⇒ Object
-
#name ⇒ Object
alphanumeric string [ 0-9a-zA-Z._-].
-
#primary ⇒ Object
Primary DNS Name server IP address.
-
#primary=(val) ⇒ Object
Primary DNS Name server IP address.
-
#secondary ⇒ Object
Secondary DNS Name server IP address.
-
#secondary=(val) ⇒ Object
Secondary DNS Name server IP address.
- #source ⇒ Object
- #source_v6 ⇒ Object
Methods inherited from ArrayConfigClass
#move!, #rename!, #set_xpath_from_selector!
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
1886 1887 1888 |
# File 'lib/palo_alto/config.rb', line 1886 def _section :entry end |
#has_multiple_values? ⇒ Boolean
1885 |
# File 'lib/palo_alto/config.rb', line 1885 def has_multiple_values?; false; end |
#inheritance ⇒ Object
1904 1905 1906 |
# File 'lib/palo_alto/config.rb', line 1904 def inheritance @subclasses['inheritance'] ||= Inheritance.new(parent_instance: self, client: @client, create_children: @create_children) end |
#name ⇒ Object
alphanumeric string [ 0-9a-zA-Z._-]
1961 1962 1963 |
# File 'lib/palo_alto/config.rb', line 1961 def name prop_get('@name') end |
#primary ⇒ Object
Primary DNS Name server IP address
1965 1966 1967 |
# File 'lib/palo_alto/config.rb', line 1965 def primary prop_get('primary') end |
#primary=(val) ⇒ Object
Primary DNS Name server IP address
1969 1970 1971 |
# File 'lib/palo_alto/config.rb', line 1969 def primary=(val) prop_set('primary', val) end |
#secondary ⇒ Object
Secondary DNS Name server IP address
1973 1974 1975 |
# File 'lib/palo_alto/config.rb', line 1973 def secondary prop_get('secondary') end |
#secondary=(val) ⇒ Object
Secondary DNS Name server IP address
1977 1978 1979 |
# File 'lib/palo_alto/config.rb', line 1977 def secondary=(val) prop_set('secondary', val) end |