Class: Ansible::Ruby::Modules::One_host

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

Overview

Manages OpenNebula Hosts

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

#cluster_idInteger?

Returns The cluster ID.

Returns:

  • (Integer, nil)

    The cluster ID.



28
# File 'lib/ansible/ruby/modules/generated/cloud/opennebula/one_host.rb', line 28

attribute :cluster_id

#cluster_nameString?

Returns The cluster specified by name.

Returns:

  • (String, nil)

    The cluster specified by name.



32
# File 'lib/ansible/ruby/modules/generated/cloud/opennebula/one_host.rb', line 32

attribute :cluster_name

#im_mad_nameString?

Returns The name of the information manager, this values are taken from the oned.conf with the tag name IM_MAD (name).

Returns:

  • (String, nil)

    The name of the information manager, this values are taken from the oned.conf with the tag name IM_MAD (name)



20
# File 'lib/ansible/ruby/modules/generated/cloud/opennebula/one_host.rb', line 20

attribute :im_mad_name

#labelsObject?

Returns The labels for this host.

Returns:

  • (Object, nil)

    The labels for this host.



36
# File 'lib/ansible/ruby/modules/generated/cloud/opennebula/one_host.rb', line 36

attribute :labels

#nameString

Returns Hostname of the machine to manage.

Returns:

  • (String)

    Hostname of the machine to manage.



12
# File 'lib/ansible/ruby/modules/generated/cloud/opennebula/one_host.rb', line 12

attribute :name

#state:absent, ...

Returns Takes the host to the desired lifecycle state.,If C(absent) the host will be deleted from the cluster.,If C(present) the host will be created in the cluster (includes C(enabled), C(disabled) and C(offline) states).,If C(enabled) the host is fully operational.,C(disabled), e.g. to perform maintenance operations.,C(offline), host is totally offline.

Returns:

  • (:absent, :present, :enabled, :disabled, :offline, nil)

    Takes the host to the desired lifecycle state.,If C(absent) the host will be deleted from the cluster.,If C(present) the host will be created in the cluster (includes C(enabled), C(disabled) and C(offline) states).,If C(enabled) the host is fully operational.,C(disabled), e.g. to perform maintenance operations.,C(offline), host is totally offline.



16
# File 'lib/ansible/ruby/modules/generated/cloud/opennebula/one_host.rb', line 16

attribute :state

#templateHash?

Returns The template or attribute changes to merge into the host template.

Returns:

  • (Hash, nil)

    The template or attribute changes to merge into the host template.



39
# File 'lib/ansible/ruby/modules/generated/cloud/opennebula/one_host.rb', line 39

attribute :template

#vmm_mad_nameString?

Returns The name of the virtual machine manager mad name, this values are taken from the oned.conf with the tag name VM_MAD (name).

Returns:

  • (String, nil)

    The name of the virtual machine manager mad name, this values are taken from the oned.conf with the tag name VM_MAD (name)



24
# File 'lib/ansible/ruby/modules/generated/cloud/opennebula/one_host.rb', line 24

attribute :vmm_mad_name