Class: PaloAlto::XML::Config::Shared::PostRulebase::TunnelInspect::Rules::Entry

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

Defined Under Namespace

Classes: Application, Destination, From, InspectOptions, MonitorOptions, Source, SourceUser, Tag, Target, To, TunnelId, ZoneAssign

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



41159
41160
41161
# File 'lib/palo_alto/config.rb', line 41159

def _section
:entry
end

#applicationObject



41365
41366
41367
# File 'lib/palo_alto/config.rb', line 41365

def application
maybe_register_subclass('application', Application.new(parent_instance: self, client: @client, create_children: @create_children))
end

#descriptionObject



41585
41586
41587
# File 'lib/palo_alto/config.rb', line 41585

def description
prop_get('description')
end

#description=(val) ⇒ Object



41588
41589
41590
# File 'lib/palo_alto/config.rb', line 41588

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

#destinationObject



41333
41334
41335
# File 'lib/palo_alto/config.rb', line 41333

def destination
maybe_register_subclass('destination', Destination.new(parent_instance: self, client: @client, create_children: @create_children))
end

#disabledObject

Disable the rule



41578
41579
41580
# File 'lib/palo_alto/config.rb', line 41578

def disabled
prop_get('disabled')
end

#disabled=(val) ⇒ Object

Disable the rule



41582
41583
41584
# File 'lib/palo_alto/config.rb', line 41582

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

#fromObject



41269
41270
41271
# File 'lib/palo_alto/config.rb', line 41269

def from
maybe_register_subclass('from', From.new(parent_instance: self, client: @client, create_children: @create_children))
end

#group_tagObject



41591
41592
41593
# File 'lib/palo_alto/config.rb', line 41591

def group_tag
prop_get('group-tag')
end

#group_tag=(val) ⇒ Object



41594
41595
41596
# File 'lib/palo_alto/config.rb', line 41594

def group_tag=(val)
prop_set('group-tag', val)
end

#has_multiple_values?Boolean

Returns:

  • (Boolean)


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

def has_multiple_values?; false; end

#inspect_optionsObject



41453
41454
41455
# File 'lib/palo_alto/config.rb', line 41453

def inspect_options
@subclasses['inspect-options'] ||= InspectOptions.new(parent_instance: self, client: @client, create_children: @create_children)
end

#monitor_optionsObject



41557
41558
41559
# File 'lib/palo_alto/config.rb', line 41557

def monitor_options
@subclasses['monitor-options'] ||= MonitorOptions.new(parent_instance: self, client: @client, create_children: @create_children)
end

#nameObject

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



41562
41563
41564
# File 'lib/palo_alto/config.rb', line 41562

def name
prop_get('@name')
end

#negate_destinationObject



41571
41572
41573
# File 'lib/palo_alto/config.rb', line 41571

def negate_destination
prop_get('negate-destination')
end

#negate_destination=(val) ⇒ Object



41574
41575
41576
# File 'lib/palo_alto/config.rb', line 41574

def negate_destination=(val)
prop_set('negate-destination', val)
end

#negate_sourceObject



41565
41566
41567
# File 'lib/palo_alto/config.rb', line 41565

def negate_source
prop_get('negate-source')
end

#negate_source=(val) ⇒ Object



41568
41569
41570
# File 'lib/palo_alto/config.rb', line 41568

def negate_source=(val)
prop_set('negate-source', val)
end

#sourceObject



41301
41302
41303
# File 'lib/palo_alto/config.rb', line 41301

def source
maybe_register_subclass('source', Source.new(parent_instance: self, client: @client, create_children: @create_children))
end

#source_userObject



41317
41318
41319
# File 'lib/palo_alto/config.rb', line 41317

def source_user
maybe_register_subclass('source-user', SourceUser.new(parent_instance: self, client: @client, create_children: @create_children))
end

#tagObject



41349
41350
41351
# File 'lib/palo_alto/config.rb', line 41349

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

#targetObject



41253
41254
41255
# File 'lib/palo_alto/config.rb', line 41253

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

#toObject



41285
41286
41287
# File 'lib/palo_alto/config.rb', line 41285

def to
maybe_register_subclass('to', To.new(parent_instance: self, client: @client, create_children: @create_children))
end

#tunnel_idObject



41411
41412
41413
# File 'lib/palo_alto/config.rb', line 41411

def tunnel_id
@subclasses['tunnel-id'] ||= TunnelId.new(parent_instance: self, client: @client, create_children: @create_children)
end

#zone_assignObject



41495
41496
41497
# File 'lib/palo_alto/config.rb', line 41495

def zone_assign
@subclasses['zone-assign'] ||= ZoneAssign.new(parent_instance: self, client: @client, create_children: @create_children)
end