Class: PaloAlto::XML::Config::MgtConfig

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

Defined Under Namespace

Classes: AccessDomain, Devices, PasswordComplexity, PasswordProfile, Users

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



42007
42008
42009
# File 'lib/palo_alto/config.rb', line 42007

def _section
:'mgt-config'
end

#access_domainObject



43229
43230
43231
# File 'lib/palo_alto/config.rb', line 43229

def access_domain
maybe_register_subclass('access-domain', AccessDomain.new(parent_instance: self, client: @client, create_children: @create_children))
end

#devicesObject



43099
43100
43101
# File 'lib/palo_alto/config.rb', line 43099

def devices
maybe_register_subclass('devices', Devices.new(parent_instance: self, client: @client, create_children: @create_children))
end

#has_multiple_values?Boolean

Returns:

  • (Boolean)


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

def has_multiple_values?; false; end

#password_complexityObject



42155
42156
42157
# File 'lib/palo_alto/config.rb', line 42155

def password_complexity
@subclasses['password-complexity'] ||= PasswordComplexity.new(parent_instance: self, client: @client, create_children: @create_children)
end

#password_profileObject



42227
42228
42229
# File 'lib/palo_alto/config.rb', line 42227

def password_profile
maybe_register_subclass('password-profile', PasswordProfile.new(parent_instance: self, client: @client, create_children: @create_children))
end

#usersObject



42983
42984
42985
# File 'lib/palo_alto/config.rb', line 42983

def users
maybe_register_subclass('users', Users.new(parent_instance: self, client: @client, create_children: @create_children))
end