Class: Ansible::Ruby::Modules::Cs_role_permission

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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

#descriptionString?

Returns The description of the role permission.

Returns:

  • (String, nil)

    The description of the role permission.



29
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_role_permission.rb', line 29

attribute :description

#nameString

Returns The API name of the permission.

Returns:

  • (String)

    The API name of the permission.



13
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_role_permission.rb', line 13

attribute :name

#parentInteger?

Returns The parent role permission uuid. use 0 to move this rule at the top of the list.

Returns:

  • (Integer, nil)

    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.

Returns:

  • (:allow, :deny, nil)

    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

#roleString

Returns Name or ID of the role.

Returns:

  • (String)

    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.

Returns:

  • (:present, :absent, nil)

    State of the role permission.



25
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_role_permission.rb', line 25

attribute :state