Class: PaloAlto::XML::Config::Panorama::ServerProfile::Ldap::Entry

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

Defined Under Namespace

Classes: Server

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



1014
1015
1016
# File 'lib/palo_alto/config.rb', line 1014

def _section
:entry
end

#baseObject

Default base distinguished name (DN) to use for searches



1095
1096
1097
# File 'lib/palo_alto/config.rb', line 1095

def base
prop_get('base')
end

#base=(val) ⇒ Object

Default base distinguished name (DN) to use for searches



1099
1100
1101
# File 'lib/palo_alto/config.rb', line 1099

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

#bind_dnObject

bind distinguished name



1103
1104
1105
# File 'lib/palo_alto/config.rb', line 1103

def bind_dn
prop_get('bind-dn')
end

#bind_dn=(val) ⇒ Object

bind distinguished name



1107
1108
1109
# File 'lib/palo_alto/config.rb', line 1107

def bind_dn=(val)
prop_set('bind-dn', val)
end

#bind_passwordObject

bind password



1111
1112
1113
# File 'lib/palo_alto/config.rb', line 1111

def bind_password
prop_get('bind-password')
end

#bind_password=(val) ⇒ Object

bind password



1115
1116
1117
# File 'lib/palo_alto/config.rb', line 1115

def bind_password=(val)
prop_set('bind-password', val)
end

#bind_timelimitObject

number of seconds to use for connecting to servers



1127
1128
1129
# File 'lib/palo_alto/config.rb', line 1127

def bind_timelimit
prop_get('bind-timelimit')
end

#bind_timelimit=(val) ⇒ Object

number of seconds to use for connecting to servers



1131
1132
1133
# File 'lib/palo_alto/config.rb', line 1131

def bind_timelimit=(val)
prop_set('bind-timelimit', val)
end

#disabledObject



1088
1089
1090
# File 'lib/palo_alto/config.rb', line 1088

def disabled
prop_get('disabled')
end

#disabled=(val) ⇒ Object



1091
1092
1093
# File 'lib/palo_alto/config.rb', line 1091

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

#has_multiple_values?Boolean

Returns:

  • (Boolean)


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

def has_multiple_values?; false; end

#ldap_typeObject



1068
1069
1070
# File 'lib/palo_alto/config.rb', line 1068

def ldap_type
prop_get('ldap-type')
end

#ldap_type=(val) ⇒ Object



1071
1072
1073
# File 'lib/palo_alto/config.rb', line 1071

def ldap_type=(val)
prop_set('ldap-type', val)
end

#nameObject

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



1065
1066
1067
# File 'lib/palo_alto/config.rb', line 1065

def name
prop_get('@name')
end

#retry_intervalObject

Interval (seconds) for reconnecting LDAP server



1135
1136
1137
# File 'lib/palo_alto/config.rb', line 1135

def retry_interval
prop_get('retry-interval')
end

#retry_interval=(val) ⇒ Object

Interval (seconds) for reconnecting LDAP server



1139
1140
1141
# File 'lib/palo_alto/config.rb', line 1139

def retry_interval=(val)
prop_set('retry-interval', val)
end

#serverObject



1060
1061
1062
# File 'lib/palo_alto/config.rb', line 1060

def server
maybe_register_subclass('server', Server.new(parent_instance: self, client: @client, create_children: @create_children))
end

#sslObject



1074
1075
1076
# File 'lib/palo_alto/config.rb', line 1074

def ssl
prop_get('ssl')
end

#ssl=(val) ⇒ Object



1077
1078
1079
# File 'lib/palo_alto/config.rb', line 1077

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

#timelimitObject

number of seconds to wait for performing searches



1119
1120
1121
# File 'lib/palo_alto/config.rb', line 1119

def timelimit
prop_get('timelimit')
end

#timelimit=(val) ⇒ Object

number of seconds to wait for performing searches



1123
1124
1125
# File 'lib/palo_alto/config.rb', line 1123

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

#verify_server_certificateObject

Verify server certificate for SSL sessions



1081
1082
1083
# File 'lib/palo_alto/config.rb', line 1081

def verify_server_certificate
prop_get('verify-server-certificate')
end

#verify_server_certificate=(val) ⇒ Object

Verify server certificate for SSL sessions



1085
1086
1087
# File 'lib/palo_alto/config.rb', line 1085

def verify_server_certificate=(val)
prop_set('verify-server-certificate', val)
end