Class: Ansible::Ruby::Modules::Cs_role_permission
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Cs_role_permission
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_role_permission.rb
Overview
Create, update and remove CloudStack role permissions. Managing role permissions only supported in CloudStack >= 4.9.
Instance Method Summary collapse
-
#description ⇒ String?
The description of the role permission.
-
#name ⇒ String
The API name of the permission.
-
#parent ⇒ Integer?
The parent role permission uuid.
-
#permission ⇒ :allow, ...
The rule permission, allow or deny.
-
#role ⇒ String
Name or ID of the role.
-
#state ⇒ :present, ...
State of the role permission.
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
#description ⇒ String?
Returns The description of the role permission.
29 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_role_permission.rb', line 29 attribute :description |
#name ⇒ String
Returns The API name of the permission.
13 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_role_permission.rb', line 13 attribute :name |
#parent ⇒ Integer?
Returns The parent role permission uuid. use 0 to move this rule at the top of the list.
33 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_role_permission.rb', line 33 attribute :parent |
#permission ⇒ :allow, ...
Returns The rule permission, allow or deny. Defaulted to deny.
21 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_role_permission.rb', line 21 attribute :permission |
#role ⇒ String
Returns Name or ID of the role.
17 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_role_permission.rb', line 17 attribute :role |
#state ⇒ :present, ...
Returns State of the role permission.
25 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_role_permission.rb', line 25 attribute :state |