Class: Ansible::Ruby::Modules::Ovirt_tag
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ovirt_tag
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_tag.rb,
lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_tags.rb
Overview
This module manage tags in oVirt/RHV. It can also manage assignments of those tags to entities.
Instance Method Summary collapse
-
#description ⇒ Object?
Description of the tag to manage.
-
#hosts ⇒ Object?
List of the hosts names, which should have assigned this tag.
-
#name ⇒ String
Name of the tag to manage.
-
#parent ⇒ Object?
Name of the parent tag.
-
#state ⇒ :present, ...
Should the tag be present/absent/attached/detached.,C(Note): I(attached) and I(detached) states are supported since version 2.4.
-
#vms ⇒ Array<String>, ...
List of the VMs names, which should have assigned this tag.
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
#description ⇒ Object?
Returns Description of the tag to manage.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_tag.rb', line 20 attribute :description |
#hosts ⇒ Object?
Returns List of the hosts names, which should have assigned this tag.
30 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_tag.rb', line 30 attribute :hosts |
#name ⇒ String
Returns Name of the tag to manage.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_tag.rb', line 12 attribute :name |
#parent ⇒ Object?
Returns Name of the parent tag.
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_tag.rb', line 23 attribute :parent |
#state ⇒ :present, ...
Returns Should the tag be present/absent/attached/detached.,C(Note): I(attached) and I(detached) states are supported since version 2.4.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_tag.rb', line 16 attribute :state |
#vms ⇒ Array<String>, ...
Returns List of the VMs names, which should have assigned this tag.
26 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_tag.rb', line 26 attribute :vms |