Class: Ansible::Ruby::Modules::Cs_project

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

Overview

Create, update, suspend, activate and remove projects.

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

#accountObject?

Returns Account the project is related to.

Returns:

  • (Object, nil)

    Account the project is related to.



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

attribute :account

#display_textString?

Returns Display text of the project.,If not specified, C(name) will be used as C(display_text).

Returns:

  • (String, nil)

    Display text of the project.,If not specified, C(name) will be used as C(display_text).



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

attribute :display_text

#domainObject?

Returns Domain the project is related to.

Returns:

  • (Object, nil)

    Domain the project is related to.



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

attribute :domain

#nameString

Returns Name of the project.

Returns:

  • (String)

    Name of the project.



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

attribute :name

#poll_async:yes, ...

Returns Poll async jobs until job has finished.

Returns:

  • (:yes, :no, nil)

    Poll async jobs until job has finished.



34
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_project.rb', line 34

attribute :poll_async

#state:present, ...

Returns State of the project.

Returns:

  • (:present, :absent, :active, :suspended, nil)

    State of the project.



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

attribute :state

#tagsArray<Hash>, ...

Returns List of tags. Tags are a list of dictionaries having keys C(key) and C(value).,If you want to delete all tags, set a empty list e.g. C(tags: []).

Returns:

  • (Array<Hash>, Hash, nil)

    List of tags. Tags are a list of dictionaries having keys C(key) and C(value).,If you want to delete all tags, set a empty list e.g. C(tags: []).



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

attribute :tags