Class: PaloAlto::XML::Config::Panorama::ServerProfile::Dns::Entry

Inherits:
ArrayConfigClass show all
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

#selector

Attributes inherited from PaloAlto::XML::ConfigClass

#api_attributes, #parent_instance, #subclasses

Attributes inherited from Expression

#arguments, #expression

Instance Method Summary collapse

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

#_sectionObject



1886
1887
1888
# File 'lib/palo_alto/config.rb', line 1886

def _section
:entry
end

#has_multiple_values?Boolean

Returns:

  • (Boolean)


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

def has_multiple_values?; false; end

#inheritanceObject



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

#nameObject

alphanumeric string [ 0-9a-zA-Z._-]



1961
1962
1963
# File 'lib/palo_alto/config.rb', line 1961

def name
prop_get('@name')
end

#primaryObject

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

#secondaryObject

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

#sourceObject



1930
1931
1932
# File 'lib/palo_alto/config.rb', line 1930

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

#source_v6Object



1956
1957
1958
# File 'lib/palo_alto/config.rb', line 1956

def source_v6
@subclasses['source-v6'] ||= SourceV6.new(parent_instance: self, client: @client, create_children: @create_children)
end