Class: Ansible::Ruby::Modules::Cs_affinitygroup

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

Overview

Create and remove affinity groups.

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 affinity group is related to.

Returns:

  • (Object, nil)

    Account the affinity group is related to.



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

attribute :account

#affinity_typeString?

Returns Type of the affinity group. If not specified, first found affinity type is used.

Returns:

  • (String, nil)

    Type of the affinity group. If not specified, first found affinity type is used.



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

attribute :affinity_type

#descriptionObject?

Returns Description of the affinity group.

Returns:

  • (Object, nil)

    Description of the affinity group.



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

attribute :description

#domainObject?

Returns Domain the affinity group is related to.

Returns:

  • (Object, nil)

    Domain the affinity group is related to.



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

attribute :domain

#nameString

Returns Name of the affinity group.

Returns:

  • (String)

    Name of the affinity group.



12
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_affinitygroup.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.



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

attribute :poll_async

#projectObject?

Returns Name of the project the affinity group is related to.

Returns:

  • (Object, nil)

    Name of the project the affinity group is related to.



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

attribute :project

#state:present, ...

Returns State of the affinity group.

Returns:

  • (:present, :absent, nil)

    State of the affinity group.



23
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_affinitygroup.rb', line 23

attribute :state