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

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/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, #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.



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

attribute :account_type

#domainString?

Returns Domain the account is related to.

Returns:

  • (String, nil)

    Domain the account is related to.



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

attribute :domain

#emailObject?

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

Returns:

  • (Object, nil)

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



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

attribute :email

#first_nameObject?

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

Returns:

  • (Object, nil)

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



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

attribute :first_name

#last_nameObject?

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

Returns:

  • (Object, nil)

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



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

attribute :last_name

#nameObject

Returns Name of account.

Returns:

  • (Object)

    Name of account.



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

attribute :name

#network_domainObject?

Returns Network domain of the account.

Returns:

  • (Object, nil)

    Network domain of the account.



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

attribute :network_domain

#passwordObject?

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

Returns:

  • (Object, nil)

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



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

attribute :password

#poll_asyncBoolean?

Returns Poll async jobs until job has finished.

Returns:

  • (Boolean, nil)

    Poll async jobs until job has finished.



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

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).



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

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.



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

attribute :timezone

#usernameObject?

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

Returns:

  • (Object, nil)

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



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

attribute :username