Class: Ansible::Ruby::Modules::Os_user
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Os_user
- Defined in:
- lib/ansible/ruby/modules/generated/core/cloud/openstack/os_user.rb
Overview
Manage OpenStack Identity users. Users can be created, updated or deleted using this module. A user will be updated if I(name) matches an existing user and I(state) is present. The value for I(name) cannot be updated without deleting and re-creating the user.
Instance Method Summary collapse
-
#default_project ⇒ String?
Project name or ID that the user should be associated with by default.
-
#domain ⇒ String?
Domain to create the user in if the cloud supports domains.
-
#email ⇒ String?
Email address for the user.
-
#enabled ⇒ Boolean?
Is the user enabled.
-
#name ⇒ String
Username for the user.
-
#password ⇒ String?
Password for the user,Required when I(state) is present.
-
#state ⇒ :present, ...
Should the resource be present or absent.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#default_project ⇒ String?
Returns Project name or ID that the user should be associated with by default.
23 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_user.rb', line 23 attribute :default_project |
#domain ⇒ String?
Returns Domain to create the user in if the cloud supports domains.
27 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_user.rb', line 27 attribute :domain |
#email ⇒ String?
Returns Email address for the user.
19 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_user.rb', line 19 attribute :email |
#enabled ⇒ Boolean?
Returns Is the user enabled.
31 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_user.rb', line 31 attribute :enabled |
#name ⇒ String
Returns Username for the user.
11 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_user.rb', line 11 attribute :name |
#password ⇒ String?
Returns Password for the user,Required when I(state) is present.
15 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_user.rb', line 15 attribute :password |
#state ⇒ :present, ...
Returns Should the resource be present or absent.
35 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_user.rb', line 35 attribute :state |