Class: Ansible::Ruby::Modules::Os_user_role
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Os_user_role
- Defined in:
- lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_user_role.rb
Overview
Grant and revoke roles in either project or domain context for OpenStack Identity Users.
Instance Method Summary collapse
-
#domain ⇒ String?
ID of the domain to scope the role association to.
-
#group ⇒ Object?
Name or ID for the group.
-
#project ⇒ String?
Name or ID of the project to scope the role assocation to.
-
#role ⇒ String
Name or ID for the role.
-
#state ⇒ :present, ...
Should the roles be present or absent on the user.
-
#user ⇒ String?
Name or ID for the user.
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
#domain ⇒ String?
26 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_user_role.rb', line 26 attribute :domain |
#group ⇒ Object?
19 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_user_role.rb', line 19 attribute :group |
#project ⇒ String?
22 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_user_role.rb', line 22 attribute :project |
#role ⇒ String
11 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_user_role.rb', line 11 attribute :role |
#state ⇒ :present, ...
30 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_user_role.rb', line 30 attribute :state |
#user ⇒ String?
15 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_user_role.rb', line 15 attribute :user |