Class: PaloAlto::XML::Config::Shared::PreRulebase::Dos::Rules::Entry
Defined Under Namespace
Classes: Action, Destination, From, Protection, Service, Source, SourceUser, Tag, Target, To
Constant Summary
Constants included
from DSL
DSL::AXES, DSL::LOWERCASE_LETTERS, DSL::METHODS, DSL::OPERATORS, DSL::UPPERCASE_LETTERS
Instance Attribute Summary
#selector
#api_attributes, #parent_instance, #subclasses
Attributes inherited from Expression
#arguments, #expression
Instance Method Summary
collapse
#move!, #rename!, #set_xpath_from_selector!
#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
Instance Method Details
#_section ⇒ Object
35525
35526
35527
|
# File 'lib/palo_alto/config.rb', line 35525
def _section
:entry
end
|
#action ⇒ Object
35887
35888
35889
|
# File 'lib/palo_alto/config.rb', line 35887
def action
@subclasses['action'] ||= Action.new(parent_instance: self, client: @client, create_children: @create_children)
end
|
#description ⇒ Object
35921
35922
35923
|
# File 'lib/palo_alto/config.rb', line 35921
def description
prop_get('description')
end
|
#description=(val) ⇒ Object
35924
35925
35926
|
# File 'lib/palo_alto/config.rb', line 35924
def description=(val)
prop_set('description', val)
end
|
#destination ⇒ Object
35751
35752
35753
|
# File 'lib/palo_alto/config.rb', line 35751
def destination
maybe_register_subclass('destination', Destination.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#disabled ⇒ Object
35914
35915
35916
|
# File 'lib/palo_alto/config.rb', line 35914
def disabled
prop_get('disabled')
end
|
#disabled=(val) ⇒ Object
35918
35919
35920
|
# File 'lib/palo_alto/config.rb', line 35918
def disabled=(val)
prop_set('disabled', val)
end
|
#from ⇒ Object
35661
35662
35663
|
# File 'lib/palo_alto/config.rb', line 35661
def from
@subclasses['from'] ||= From.new(parent_instance: self, client: @client, create_children: @create_children)
end
|
#group_tag ⇒ Object
35927
35928
35929
|
# File 'lib/palo_alto/config.rb', line 35927
def group_tag
prop_get('group-tag')
end
|
#group_tag=(val) ⇒ Object
35930
35931
35932
|
# File 'lib/palo_alto/config.rb', line 35930
def group_tag=(val)
prop_set('group-tag', val)
end
|
#has_multiple_values? ⇒ Boolean
35524
|
# File 'lib/palo_alto/config.rb', line 35524
def has_multiple_values?; false; end
|
#log_setting ⇒ Object
35933
35934
35935
|
# File 'lib/palo_alto/config.rb', line 35933
def log_setting
prop_get('log-setting')
end
|
#log_setting=(val) ⇒ Object
35936
35937
35938
|
# File 'lib/palo_alto/config.rb', line 35936
def log_setting=(val)
prop_set('log-setting', val)
end
|
#name ⇒ Object
alphanumeric string [ 0-9a-zA-Z._-]
35892
35893
35894
|
# File 'lib/palo_alto/config.rb', line 35892
def name
prop_get('@name')
end
|
#negate_destination ⇒ Object
35907
35908
35909
|
# File 'lib/palo_alto/config.rb', line 35907
def negate_destination
prop_get('negate-destination')
end
|
#negate_destination=(val) ⇒ Object
35910
35911
35912
|
# File 'lib/palo_alto/config.rb', line 35910
def negate_destination=(val)
prop_set('negate-destination', val)
end
|
#negate_source ⇒ Object
35901
35902
35903
|
# File 'lib/palo_alto/config.rb', line 35901
def negate_source
prop_get('negate-source')
end
|
#negate_source=(val) ⇒ Object
35904
35905
35906
|
# File 'lib/palo_alto/config.rb', line 35904
def negate_source=(val)
prop_set('negate-source', val)
end
|
#protection ⇒ Object
35847
35848
35849
|
# File 'lib/palo_alto/config.rb', line 35847
def protection
@subclasses['protection'] ||= Protection.new(parent_instance: self, client: @client, create_children: @create_children)
end
|
#schedule ⇒ Object
35895
35896
35897
|
# File 'lib/palo_alto/config.rb', line 35895
def schedule
prop_get('schedule')
end
|
#schedule=(val) ⇒ Object
35898
35899
35900
|
# File 'lib/palo_alto/config.rb', line 35898
def schedule=(val)
prop_set('schedule', val)
end
|
#service ⇒ Object
35767
35768
35769
|
# File 'lib/palo_alto/config.rb', line 35767
def service
maybe_register_subclass('service', Service.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#source ⇒ Object
35719
35720
35721
|
# File 'lib/palo_alto/config.rb', line 35719
def source
maybe_register_subclass('source', Source.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#source_user ⇒ Object
35735
35736
35737
|
# File 'lib/palo_alto/config.rb', line 35735
def source_user
maybe_register_subclass('source-user', SourceUser.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#tag ⇒ Object
35783
35784
35785
|
# File 'lib/palo_alto/config.rb', line 35783
def tag
maybe_register_subclass('tag', Tag.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#target ⇒ Object
35619
35620
35621
|
# File 'lib/palo_alto/config.rb', line 35619
def target
@subclasses['target'] ||= Target.new(parent_instance: self, client: @client, create_children: @create_children)
end
|
#to ⇒ Object
35703
35704
35705
|
# File 'lib/palo_alto/config.rb', line 35703
def to
@subclasses['to'] ||= To.new(parent_instance: self, client: @client, create_children: @create_children)
end
|