Class: Ansible::Ruby::Modules::Cs_account

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

Overview

Create, disable, lock, enable and remove accounts.

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

#account_type:user, ...

Returns Type of the account.

Returns:

  • (:user, :root_admin, :domain_admin, nil)

    Type of the account.



42
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_account.rb', line 42

attribute :account_type

#domainString?

Returns Domain the account is related to.

Returns:

  • (String, nil)

    Domain the account is related to.



46
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_account.rb', line 46

attribute :domain

#emailString?

Returns Email of the user to be created if account did not exist.,Required on C(state=present).

Returns:

  • (String, nil)

    Email of the user to be created if account did not exist.,Required on C(state=present).



32
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_account.rb', line 32

attribute :email

#first_nameString?

Returns First name of the user to be created if account did not exist.,Required on C(state=present).

Returns:

  • (String, nil)

    First name of the user to be created if account did not exist.,Required on C(state=present).



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

attribute :first_name

#last_nameString?

Returns Last name of the user to be created if account did not exist.,Required on C(state=present).

Returns:

  • (String, nil)

    Last name of the user to be created if account did not exist.,Required on C(state=present).



28
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_account.rb', line 28

attribute :last_name

#nameString

Returns Name of account.

Returns:

  • (String)

    Name of account.



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

attribute :name

#network_domainObject?

Returns Network domain of the account.

Returns:

  • (Object, nil)

    Network domain of the account.



39
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_account.rb', line 39

attribute :network_domain

#passwordString?

Returns Password of the user to be created if account did not exist.,Required on C(state=present).

Returns:

  • (String, nil)

    Password of the user to be created if account did not exist.,Required on C(state=present).



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

attribute :password

#poll_async:yes, ...

Returns Poll async jobs until job has finished.

Returns:

  • (:yes, :no, nil)

    Poll async jobs until job has finished.



54
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_account.rb', line 54

attribute :poll_async

#state:present, ...

Returns State of the account.,C(unlocked) is an alias for C(enabled).

Returns:

  • (:present, :absent, :enabled, :disabled, :locked, :unlocked, nil)

    State of the account.,C(unlocked) is an alias for C(enabled).



50
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_account.rb', line 50

attribute :state

#timezoneObject?

Returns Timezone of the user to be created if account did not exist.

Returns:

  • (Object, nil)

    Timezone of the user to be created if account did not exist.



36
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_account.rb', line 36

attribute :timezone

#usernameString?

Returns Username of the user to be created if account did not exist.,Required on C(state=present).

Returns:

  • (String, nil)

    Username of the user to be created if account did not exist.,Required on C(state=present).



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

attribute :username