Class: Ansible::Ruby::Modules::Ovirt_affinity_label
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ovirt_affinity_label
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_affinity_label.rb,
lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_affinity_labels.rb
Overview
This module manage affinity labels in oVirt/RHV. It can also manage assignments of those labels to hosts and VMs.
Instance Method Summary collapse
-
#cluster ⇒ String?
Name of the cluster where vms and hosts resides.
-
#hosts ⇒ Array<String>, ...
List of the hosts names, which should have assigned this affinity label.
-
#name ⇒ String
Name of the affinity label to manage.
-
#state ⇒ :present, ...
Should the affinity label be present or absent.
-
#vms ⇒ Array<String>, ...
List of the VMs names, which should have assigned this affinity label.
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 ⇒ String?
Returns Name of the cluster where vms and hosts resides.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_affinity_label.rb', line 20 attribute :cluster |
#hosts ⇒ Array<String>, ...
Returns List of the hosts names, which should have assigned this affinity label.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_affinity_label.rb', line 28 attribute :hosts |
#name ⇒ String
Returns Name of the affinity label to manage.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_affinity_label.rb', line 12 attribute :name |
#state ⇒ :present, ...
Returns Should the affinity label be present or absent.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_affinity_label.rb', line 16 attribute :state |
#vms ⇒ Array<String>, ...
Returns List of the VMs names, which should have assigned this affinity label.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_affinity_label.rb', line 24 attribute :vms |