Class: Ansible::Ruby::Modules::Cs_role

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_role.rb

Overview

Create, update, delete user roles.

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

#descriptionObject?

Returns Description of the role.

Returns:

  • (Object, nil)

    Description of the role.



24
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_role.rb', line 24

attribute :description

#idString?

Returns ID of the role.,If provided, C(id) is used as key.

Returns:

  • (String, nil)

    ID of the role.,If provided, C(id) is used as key.



16
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_role.rb', line 16

attribute :id

#nameString

Returns Name of the role.

Returns:

  • (String)

    Name of the role.



12
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_role.rb', line 12

attribute :name

#role_type:User, ...

Returns Type of the role.,Only considered for creation.

Returns:

  • (:User, :DomainAdmin, :ResourceAdmin, :Admin, nil)

    Type of the role.,Only considered for creation.



20
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_role.rb', line 20

attribute :role_type

#state:present, ...

Returns State of the role.

Returns:

  • (:present, :absent, nil)

    State of the role.



27
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_role.rb', line 27

attribute :state