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
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, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#domain ⇒ String?
Returns ID of the domain to scope the role association to. Valid only with keystone version 3, and required if I(project) is not specified.
25 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_user_role.rb', line 25 attribute :domain |
#group ⇒ Object?
Returns Name or ID for the group. Valid only with keystone version 3. If I(group) is not specified, then I(user) is required. Both may not be specified.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_user_role.rb', line 18 attribute :group |
#project ⇒ String?
Returns Name or ID of the project to scope the role assocation to. If you are using keystone version 2, then this value is required.
21 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_user_role.rb', line 21 attribute :project |
#role ⇒ String
Returns Name or ID for the role.
10 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_user_role.rb', line 10 attribute :role |
#state ⇒ :present, ...
Returns Should the roles be present or absent on the user.
29 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_user_role.rb', line 29 attribute :state |
#user ⇒ String?
Returns Name or ID for the user. If I(user) is not specified, then I(group) is required. Both may not be specified.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_user_role.rb', line 14 attribute :user |