Class: Ansible::Ruby::Modules::Ovirt_tag

Inherits:
Base show all
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

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

#descriptionObject?

Returns Description of the tag to manage.

Returns:

  • (Object, nil)

    Description of the tag to manage.



20
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_tag.rb', line 20

attribute :description

#hostsObject?

Returns List of the hosts names, which should have assigned this tag.

Returns:

  • (Object, nil)

    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

#nameString

Returns Name of the tag to manage.

Returns:

  • (String)

    Name of the tag to manage.



12
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_tag.rb', line 12

attribute :name

#parentObject?

Returns Name of the parent tag.

Returns:

  • (Object, nil)

    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.

Returns:

  • (:present, :absent, :attached, :detached, nil)

    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

#vmsArray<String>, ...

Returns List of the VMs names, which should have assigned this tag.

Returns:

  • (Array<String>, String, nil)

    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