Class: PaloAlto::XML::Config::Shared::Address::Entry

Inherits:
ArrayConfigClass show all
Defined in:
lib/palo_alto/config.rb

Defined Under Namespace

Classes: Tag

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



10988
10989
10990
# File 'lib/palo_alto/config.rb', line 10988

def _section
:entry
end

#descriptionObject



11020
11021
11022
# File 'lib/palo_alto/config.rb', line 11020

def description
prop_get('description')
end

#description=(val) ⇒ Object



11023
11024
11025
# File 'lib/palo_alto/config.rb', line 11023

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

#disable_overrideObject

disable object override in child device groups



11013
11014
11015
# File 'lib/palo_alto/config.rb', line 11013

def disable_override
prop_get('disable-override')
end

#disable_override=(val) ⇒ Object

disable object override in child device groups



11017
11018
11019
# File 'lib/palo_alto/config.rb', line 11017

def disable_override=(val)
prop_set('disable-override', val)
end

#fqdnObject



11044
11045
11046
# File 'lib/palo_alto/config.rb', line 11044

def fqdn
prop_get('fqdn')
end

#fqdn=(val) ⇒ Object



11047
11048
11049
# File 'lib/palo_alto/config.rb', line 11047

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

#has_multiple_values?Boolean

Returns:

  • (Boolean)


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

def has_multiple_values?; false; end

#ip_netmaskObject



11026
11027
11028
# File 'lib/palo_alto/config.rb', line 11026

def ip_netmask
prop_get('ip-netmask')
end

#ip_netmask=(val) ⇒ Object



11029
11030
11031
# File 'lib/palo_alto/config.rb', line 11029

def ip_netmask=(val)
prop_set('ip-netmask', val)
end

#ip_rangeObject



11032
11033
11034
# File 'lib/palo_alto/config.rb', line 11032

def ip_range
prop_get('ip-range')
end

#ip_range=(val) ⇒ Object



11035
11036
11037
# File 'lib/palo_alto/config.rb', line 11035

def ip_range=(val)
prop_set('ip-range', val)
end

#ip_wildcardObject



11038
11039
11040
# File 'lib/palo_alto/config.rb', line 11038

def ip_wildcard
prop_get('ip-wildcard')
end

#ip_wildcard=(val) ⇒ Object



11041
11042
11043
# File 'lib/palo_alto/config.rb', line 11041

def ip_wildcard=(val)
prop_set('ip-wildcard', val)
end

#nameObject

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



11009
11010
11011
# File 'lib/palo_alto/config.rb', line 11009

def name
prop_get('@name')
end

#tagObject



11004
11005
11006
# File 'lib/palo_alto/config.rb', line 11004

def tag
maybe_register_subclass('tag', Tag.new(parent_instance: self, client: @client, create_children: @create_children))
end