Class: PaloAlto::XML::Config::Panorama::AuthenticationProfile::Entry::Lockout

Inherits:
PaloAlto::XML::ConfigClass show all
Defined in:
lib/palo_alto/config.rb

Constant Summary

Constants included from DSL

DSL::AXES, DSL::LOWERCASE_LETTERS, DSL::METHODS, DSL::OPERATORS, DSL::UPPERCASE_LETTERS

Instance Attribute Summary

Attributes inherited from PaloAlto::XML::ConfigClass

#api_attributes, #parent_instance, #subclasses

Attributes inherited from Expression

#arguments, #expression

Instance Method Summary collapse

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



2046
2047
2048
# File 'lib/palo_alto/config.rb', line 2046

def _section
:lockout
end

#failed_attemptsObject

Number of failed login attempts to trigger lock-out



2051
2052
2053
# File 'lib/palo_alto/config.rb', line 2051

def failed_attempts
prop_get('failed-attempts')
end

#failed_attempts=(val) ⇒ Object

Number of failed login attempts to trigger lock-out



2055
2056
2057
# File 'lib/palo_alto/config.rb', line 2055

def failed_attempts=(val)
prop_set('failed-attempts', val)
end

#has_multiple_values?Boolean

Returns:

  • (Boolean)


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

def has_multiple_values?; false; end

#lockout_timeObject

Number of minutes to lock-out



2059
2060
2061
# File 'lib/palo_alto/config.rb', line 2059

def lockout_time
prop_get('lockout-time')
end

#lockout_time=(val) ⇒ Object

Number of minutes to lock-out



2063
2064
2065
# File 'lib/palo_alto/config.rb', line 2063

def lockout_time=(val)
prop_set('lockout-time', val)
end