Class: Ansible::Ruby::Modules::One_host
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::One_host
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/opennebula/one_host.rb
Overview
Manages OpenNebula Hosts
Instance Method Summary collapse
-
#cluster_id ⇒ Integer?
The cluster ID.
-
#cluster_name ⇒ String?
The cluster specified by name.
-
#im_mad_name ⇒ String?
The name of the information manager, this values are taken from the oned.conf with the tag name IM_MAD (name).
-
#labels ⇒ Object?
The labels for this host.
-
#name ⇒ String
Hostname of the machine to manage.
-
#state ⇒ :absent, ...
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.
-
#template ⇒ Hash?
The template or attribute changes to merge into the host template.
-
#vmm_mad_name ⇒ String?
The name of the virtual machine manager mad name, this values are taken from the oned.conf with the tag name VM_MAD (name).
Methods inherited from Base
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_id ⇒ Integer?
Returns The cluster ID.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/opennebula/one_host.rb', line 28 attribute :cluster_id |
#cluster_name ⇒ String?
Returns The cluster specified by name.
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/opennebula/one_host.rb', line 32 attribute :cluster_name |
#im_mad_name ⇒ String?
Returns 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 |
#labels ⇒ Object?
Returns The labels for this host.
36 |
# File 'lib/ansible/ruby/modules/generated/cloud/opennebula/one_host.rb', line 36 attribute :labels |
#name ⇒ String
Returns 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.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/opennebula/one_host.rb', line 16 attribute :state |
#template ⇒ Hash?
Returns 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_name ⇒ String?
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).
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/opennebula/one_host.rb', line 24 attribute :vmm_mad_name |