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

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

Defined Under Namespace

Classes: Category, Destination, DestinationHip, From, Service, Source, SourceHip, 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

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



38501
38502
38503
# File 'lib/palo_alto/config.rb', line 38501

def _section
:entry
end

#authentication_enforcementObject

Authentication enforcement object to use for authentication.



38796
38797
38798
# File 'lib/palo_alto/config.rb', line 38796

def authentication_enforcement
prop_get('authentication-enforcement')
end

#authentication_enforcement=(val) ⇒ Object

Authentication enforcement object to use for authentication.



38800
38801
38802
# File 'lib/palo_alto/config.rb', line 38800

def authentication_enforcement=(val)
prop_set('authentication-enforcement', val)
end

#categoryObject



38755
38756
38757
# File 'lib/palo_alto/config.rb', line 38755

def category
maybe_register_subclass('category', Category.new(parent_instance: self, client: @client, create_children: @create_children))
end

#descriptionObject



38783
38784
38785
# File 'lib/palo_alto/config.rb', line 38783

def description
prop_get('description')
end

#description=(val) ⇒ Object



38786
38787
38788
# File 'lib/palo_alto/config.rb', line 38786

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

#destinationObject



38675
38676
38677
# File 'lib/palo_alto/config.rb', line 38675

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

#destination_hipObject



38707
38708
38709
# File 'lib/palo_alto/config.rb', line 38707

def destination_hip
maybe_register_subclass('destination-hip', DestinationHip.new(parent_instance: self, client: @client, create_children: @create_children))
end

#disabledObject

Disable the rule



38776
38777
38778
# File 'lib/palo_alto/config.rb', line 38776

def disabled
prop_get('disabled')
end

#disabled=(val) ⇒ Object

Disable the rule



38780
38781
38782
# File 'lib/palo_alto/config.rb', line 38780

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

#fromObject



38611
38612
38613
# File 'lib/palo_alto/config.rb', line 38611

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

#group_tagObject



38789
38790
38791
# File 'lib/palo_alto/config.rb', line 38789

def group_tag
prop_get('group-tag')
end

#group_tag=(val) ⇒ Object



38792
38793
38794
# File 'lib/palo_alto/config.rb', line 38792

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

#has_multiple_values?Boolean

Returns:

  • (Boolean)


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

def has_multiple_values?; false; end

#log_authentication_timeoutObject



38819
38820
38821
# File 'lib/palo_alto/config.rb', line 38819

def log_authentication_timeout
prop_get('log-authentication-timeout')
end

#log_authentication_timeout=(val) ⇒ Object



38822
38823
38824
# File 'lib/palo_alto/config.rb', line 38822

def log_authentication_timeout=(val)
prop_set('log-authentication-timeout', val)
end

#log_settingObject

Log setting for forwarding authentication logs



38804
38805
38806
# File 'lib/palo_alto/config.rb', line 38804

def log_setting
prop_get('log-setting')
end

#log_setting=(val) ⇒ Object

Log setting for forwarding authentication logs



38808
38809
38810
# File 'lib/palo_alto/config.rb', line 38808

def log_setting=(val)
prop_set('log-setting', val)
end

#nameObject

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



38760
38761
38762
# File 'lib/palo_alto/config.rb', line 38760

def name
prop_get('@name')
end

#negate_destinationObject



38769
38770
38771
# File 'lib/palo_alto/config.rb', line 38769

def negate_destination
prop_get('negate-destination')
end

#negate_destination=(val) ⇒ Object



38772
38773
38774
# File 'lib/palo_alto/config.rb', line 38772

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

#negate_sourceObject



38763
38764
38765
# File 'lib/palo_alto/config.rb', line 38763

def negate_source
prop_get('negate-source')
end

#negate_source=(val) ⇒ Object



38766
38767
38768
# File 'lib/palo_alto/config.rb', line 38766

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

#serviceObject



38739
38740
38741
# File 'lib/palo_alto/config.rb', line 38739

def service
maybe_register_subclass('service', Service.new(parent_instance: self, client: @client, create_children: @create_children))
end

#sourceObject



38643
38644
38645
# File 'lib/palo_alto/config.rb', line 38643

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

#source_hipObject



38691
38692
38693
# File 'lib/palo_alto/config.rb', line 38691

def source_hip
maybe_register_subclass('source-hip', SourceHip.new(parent_instance: self, client: @client, create_children: @create_children))
end

#source_userObject



38659
38660
38661
# File 'lib/palo_alto/config.rb', line 38659

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

#tagObject



38723
38724
38725
# File 'lib/palo_alto/config.rb', line 38723

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

#targetObject



38595
38596
38597
# File 'lib/palo_alto/config.rb', line 38595

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

#timeoutObject

expiration timer (minutes)



38812
38813
38814
# File 'lib/palo_alto/config.rb', line 38812

def timeout
prop_get('timeout')
end

#timeout=(val) ⇒ Object

expiration timer (minutes)



38816
38817
38818
# File 'lib/palo_alto/config.rb', line 38816

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

#toObject



38627
38628
38629
# File 'lib/palo_alto/config.rb', line 38627

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