Class: Ansible::Ruby::Modules::Ipa_hbacrule
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ipa_hbacrule
- Defined in:
- lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb
Overview
Add, modify or delete an IPA HBAC rule using IPA API.
Instance Method Summary collapse
-
#cn ⇒ Object
Canonical name.,Can not be changed as it is the unique identifier.
-
#description ⇒ String?
Description.
-
#host ⇒ Object?
List of host names to assign.,If an empty list is passed all hosts will be removed from the rule.,If option is omitted hosts will not be checked or changed.
-
#hostcategory ⇒ :all?
Host category.
-
#hostgroup ⇒ Array<String>, ...
List of hostgroup names to assign.,If an empty list is passed all hostgroups will be removed.
-
#service ⇒ Object?
List of service names to assign.,If an empty list is passed all services will be removed from the rule.,If option is omitted services will not be checked or changed.
-
#servicecategory ⇒ :all?
Service category.
-
#servicegroup ⇒ Object?
List of service group names to assign.,If an empty list is passed all assigned service groups will be removed from the rule.,If option is omitted service groups will not be checked or changed.
-
#sourcehost ⇒ Object?
List of source host names to assign.,If an empty list if passed all assigned source hosts will be removed from the rule.,If option is omitted source hosts will not be checked or changed.
-
#sourcehostcategory ⇒ :all?
Source host category.
-
#sourcehostgroup ⇒ Object?
List of source host group names to assign.,If an empty list if passed all assigned source host groups will be removed from the rule.,If option is omitted source host groups will not be checked or changed.
-
#state ⇒ :present, ...
State to ensure.
-
#user ⇒ Object?
List of user names to assign.,If an empty list if passed all assigned users will be removed from the rule.,If option is omitted users will not be checked or changed.
-
#usercategory ⇒ :all?
User category.
-
#usergroup ⇒ Array<String>, ...
List of user group names to assign.,If an empty list if passed all assigned user groups will be removed from the rule.,If option is omitted user groups will not be checked or changed.
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
#cn ⇒ Object
Returns Canonical name.,Can not be changed as it is the unique identifier.
12 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 12 attribute :cn |
#description ⇒ String?
Returns Description.
16 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 16 attribute :description |
#host ⇒ Object?
Returns List of host names to assign.,If an empty list is passed all hosts will be removed from the rule.,If option is omitted hosts will not be checked or changed.
20 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 20 attribute :host |
#hostcategory ⇒ :all?
Returns Host category.
23 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 23 attribute :hostcategory |
#hostgroup ⇒ Array<String>, ...
Returns List of hostgroup names to assign.,If an empty list is passed all hostgroups will be removed. from the rule,If option is omitted hostgroups will not be checked or changed.
27 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 27 attribute :hostgroup |
#service ⇒ Object?
Returns List of service names to assign.,If an empty list is passed all services will be removed from the rule.,If option is omitted services will not be checked or changed.
31 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 31 attribute :service |
#servicecategory ⇒ :all?
Returns Service category.
34 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 34 attribute :servicecategory |
#servicegroup ⇒ Object?
Returns List of service group names to assign.,If an empty list is passed all assigned service groups will be removed from the rule.,If option is omitted service groups will not be checked or changed.
38 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 38 attribute :servicegroup |
#sourcehost ⇒ Object?
Returns List of source host names to assign.,If an empty list if passed all assigned source hosts will be removed from the rule.,If option is omitted source hosts will not be checked or changed.
41 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 41 attribute :sourcehost |
#sourcehostcategory ⇒ :all?
Returns Source host category.
44 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 44 attribute :sourcehostcategory |
#sourcehostgroup ⇒ Object?
Returns List of source host group names to assign.,If an empty list if passed all assigned source host groups will be removed from the rule.,If option is omitted source host groups will not be checked or changed.
48 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 48 attribute :sourcehostgroup |
#state ⇒ :present, ...
Returns State to ensure.
51 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 51 attribute :state |
#user ⇒ Object?
Returns List of user names to assign.,If an empty list if passed all assigned users will be removed from the rule.,If option is omitted users will not be checked or changed.
55 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 55 attribute :user |
#usercategory ⇒ :all?
Returns User category.
58 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 58 attribute :usercategory |
#usergroup ⇒ Array<String>, ...
Returns List of user group names to assign.,If an empty list if passed all assigned user groups will be removed from the rule.,If option is omitted user groups will not be checked or changed.
62 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hbacrule.rb', line 62 attribute :usergroup |