Class: PaloAlto::XML::Config::Shared::PostRulebase::TunnelInspect::Rules::Entry
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
#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
41159
41160
41161
|
# File 'lib/palo_alto/config.rb', line 41159
def _section
:entry
end
|
#application ⇒ Object
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
|
#description ⇒ Object
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
|
#destination ⇒ Object
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
|
#disabled ⇒ Object
41578
41579
41580
|
# File 'lib/palo_alto/config.rb', line 41578
def disabled
prop_get('disabled')
end
|
#disabled=(val) ⇒ Object
41582
41583
41584
|
# File 'lib/palo_alto/config.rb', line 41582
def disabled=(val)
prop_set('disabled', val)
end
|
#from ⇒ Object
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_tag ⇒ Object
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
41158
|
# File 'lib/palo_alto/config.rb', line 41158
def has_multiple_values?; false; end
|
#inspect_options ⇒ Object
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_options ⇒ Object
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
|
#name ⇒ Object
alphanumeric string [ 0-9a-zA-Z._-]
41562
41563
41564
|
# File 'lib/palo_alto/config.rb', line 41562
def name
prop_get('@name')
end
|
#negate_destination ⇒ Object
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_source ⇒ Object
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
|
#source ⇒ Object
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_user ⇒ Object
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
|
#tag ⇒ Object
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
|
#target ⇒ Object
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
|
#to ⇒ Object
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_id ⇒ Object
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_assign ⇒ Object
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
|