Class: Ansible::Ruby::Modules::Ldap_attr
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ldap_attr
- Defined in:
- lib/ansible/ruby/modules/generated/net_tools/ldap/ldap_attr.rb
Overview
Add or remove LDAP attribute values.
Instance Method Summary collapse
-
#name ⇒ String
The name of the attribute to modify.
-
#state ⇒ :present, ...
The state of the attribute values.
-
#values ⇒ Array<String>, String
The value(s) to add or remove.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#name ⇒ String
Returns The name of the attribute to modify.
12 |
# File 'lib/ansible/ruby/modules/generated/net_tools/ldap/ldap_attr.rb', line 12 attribute :name |
#state ⇒ :present, ...
Returns The state of the attribute values. If C(present), all given values will be added if they’re missing. If C(absent), all given values will be removed if present. If C(exact), the set of values will be forced to exactly those provided and no others. If I(state=exact) and I(value) is an empty list, all values for this attribute will be removed.
16 |
# File 'lib/ansible/ruby/modules/generated/net_tools/ldap/ldap_attr.rb', line 16 attribute :state |
#values ⇒ Array<String>, String
Returns The value(s) to add or remove. This can be a string or a list of strings. The complex argument format is required in order to pass a list of strings (see examples).
20 |
# File 'lib/ansible/ruby/modules/generated/net_tools/ldap/ldap_attr.rb', line 20 attribute :values |